Interface SchedulerSession
-
- All Superinterfaces:
SchedulerSessionComp
,Serializable
public interface SchedulerSession extends Serializable, SchedulerSessionComp
Central interface for retrieving and creating all of the Scheduler objects.
-
-
Method Summary
-
-
-
Method Detail
-
executeQuery
void executeQuery(String query, Object[] parameters, APIResultSetCallback callback) throws com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
Execute the given query and return the object that represents it. The callback is only used to retrieve a new instance of the object.Example:
{ LongCallBack callback = new LongCallBack(1); try { jcsSession.executeQuery("select count(*) from Job where Job.Status = 'E'", null, callback); } catch (Exception e) { throw new RuntimeException(e); } Long errCount = (Long) callback.getResult().get(0); if (errCount != null) { jcsOut.println(errCount + " job(s) in status Error."); } }
- Parameters:
query
- is the query that should be executedparameters
- are the parameters for the querycallback
- is the callback object that is needed to retrieve a new instance of the object- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
- if an error occurs during the execution of the query
-
executeObjectQuery
RWIterable executeObjectQuery(String sql, Object[] variables)
Execute the given query, and return an iterator over the result. These objects will be from the sessions cache if they have already been retrieved in this session.For this legacy method, there is really no way to determine what the return type is. If we actually gave it a type of
<? extends SchedulerEntity>
, which is what it is, we would break existing code that knew the type and were previously assigning the result to, for example,Iterator<Job>
.Note: For the above reason, Redwood recommends using the newer
executeObjectQuery(QueryObjectType, String, Object...)
method, as this gives some level of type safety.- Specified by:
executeObjectQuery
in interfaceSchedulerSessionComp
- Parameters:
sql
- is the query that needs to be executedvariables
- are the objects to be replaced in the query- Returns:
- an
RWIterable
<SchedulerEntity> over the result - Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceRuntimeException
- If an error has occurred while trying to execute the query. The underlying exception will have been set as the cause.- See Also:
executeObjectQuery(QueryObjectType, String, Object...)
,executeObjectQueryLimit(QueryObjectType, String, long, Object...)
-
executeObjectQuery
RWIterable executeObjectQuery(String sql, Object[] variables, long rowLimit)
Execute the given query, and return an iterator over the result. These objects will be from the sessions cache if they have already been retrieved in this session. The size of the iterator will not exceed rowLimitFor this legacy method, there is really no way to determine what the return type is. If we actually gave it a type of
<? extends SchedulerEntity>
, which is what it is, we would break existing code that knew the type and were previously assigning the result to, for example,Iterator<Job>
.Note: For the above reason, Redwood recommends using the newer
executeObjectQueryLimit(QueryObjectType, String, long, Object...)
method, as this gives some level of type safety.- Specified by:
executeObjectQuery
in interfaceSchedulerSessionComp
- Parameters:
sql
- is the query that needs to be executedvariables
- are the objects to be replaced in the queryrowLimit
- the maximum number of objects returned by the query- Returns:
- an RWIterable<SchedulerEntity> over the result
- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceRuntimeException
- If an error has occurred while trying to execute the query. The underlying exception will have been set as the cause.- See Also:
executeObjectQuery(QueryObjectType, String, Object...)
,executeObjectQueryLimit(QueryObjectType, String, long, Object...)
-
executeObjectQueryLimit
<T extends SchedulerEntity> RWIterable<T> executeObjectQueryLimit(QueryObjectType<T> type, String query, long rowLimit, Object... variables)
Execute the givenquery
, and return anRWIterable
over the result. These objects will be from the sessions cache if they have already been retrieved in this session. The number of items returned by the iterator will not exceedrowLimit
, unlessrowLimit
is negative, in which case the number of returned items will not be limited.If the given
query
starts with"select"
then the query will be used as is, otherwise it will be appended to the string"select o.* from <T> o"
. This means that to select from multiple tables, this clause must begin with a','
, or be a fully specified select clause.Examples:
Iterable<Job> iter = jcsSession.executeObjectQueryLimit(Job.TYPE, null, 10);
- Return 10 random Job objects from the system. The exact objects chosen will depend on the database parameters, and the execution order chosen by the database.
Iterable<Job> iter = jcsSession.executeObjectQueryLimit(Job.TYPE, "select from Job o order by o.UniqueId", 10);
- Return the 10 Job objects from the system with the lowest UniqueIds.
Iterable<Job> iter = jcsSession.executeObjectQueryLimit(Job.TYPE, "order by o.UniqueId", 10);
- Return the 10 Job objects from the system with the lowest UniqueIds.
Iterable<Job> iter = jcsSession.executeObjectQueryLimit(Job.TYPE, ", Subject s where s.Name=? and s.Type=? and s.UniqueId=o.Owner order by o.UniqueId", 10, "Chris", SubjectType.User.getCodeExString());
- Return the 10 Job objects from the system with the lowest UniqueIds that were submitted by the user "Chris".
- Type Parameters:
T
- The return type of the SQL expression- Parameters:
type
- The class object to use to determine the typequery
- is the query that needs to be executed, this will be appended to the string"select o.* from <T> o"
, unless it starts with the string"select"
in which case it will be used as isrowLimit
- the maximum number of objects returned by the query, if this value is negative, then no limit is applied to the resultsvariables
- are the objects to be replaced in the query- Returns:
- an RWIterable<T> over the result
- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceRuntimeException
- If an error has occurred while trying to execute the query. The underlying exception will have been set as the cause.- See Also:
executeObjectQuery(QueryObjectType, String, Object...)
-
executeObjectQuery
<T extends SchedulerEntity> RWIterable<T> executeObjectQuery(QueryObjectType<T> type, String query, Object... variables)
Execute the givenquery
, and return anRWIterable
over the result. These objects will be from the sessions cache if they have already been retrieved in this session. The number of items returned by the iterator will not be limited.If the given
query
starts with"select"
then the query will be used as is, otherwise it will be appended to the string"select o.* from <T> o"
. This means that to select from multiple tables, this clause must begin with a','
, or be a fully specified select clause.Examples:
Iterable<Job> iter = jcsSession.executeObjectQuery(Job.TYPE, null);
- Return all Job objects from the system. Note, in general this could return a lot of objects!
Iterable<Job> iter = jcsSession.executeObjectQuery(Job.TYPE, "select * from Job");
- Return all Job objects from the system. Note, in general this could return a lot of objects!
Iterable<Job> iter = jcsSession.executeObjectQuery(Job.TYPE, "order by o.UniqueId");
- Return all Job objects from the system, ordered by ascending UniqueId.
Iterable<Job> iter = jcsSession.executeObjectQuery(Job.TYPE, ", Subject s where s.Name=? and s.Type=? and s.UniqueId=o.Owner order by o.UniqueId", 'Chris', SubjectType.User.getCodeExString());
- Return all Job objects from the system, ordered by ascending UniqueId, that were submitted by the user Chris.
Iterable<Job> iter = jcsSession.executeObjectQuery(Job.TYPE, "select j.* from Job j, Subject s where s.Name=? and s.Type=? and s.UniqueId=j.Owner order by j.UniqueId", "Chris", SubjectType.User.getCodeExString());
- Return all Job objects from the system, ordered by ascending UniqueId, that were submitted by the user "Chris".
- Type Parameters:
T
- The return type of the SQL expression- Parameters:
type
- The class object to use to determine the typequery
- is the query that needs to be executed, this will be appended to the string"select o.* from <T> o"
, unless it starts with the string"select"
in which case it will be used as isvariables
- are the objects to be replaced in the query- Returns:
- an RWIterable<T> over the result
- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceRuntimeException
- If an error has occurred while trying to execute the query. The underlying exception will have been set as the cause.- See Also:
executeObjectQueryLimit(QueryObjectType, String, long, Object...)
-
persist
void persist() throws com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
Persist all dirty objects to the database. When this call returns successfully then all dirty objects will have been written to the database. This means that these objects will then be visible to queries from other Scheduler objects. These dirty objects will then be marked as being not-mutable, which means that any further modifications to those objects will throw an ObjectNotMutable exception. If an exception is thrown from the persist call, then none of the changes will have been applied to the database.- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIForeignKeyException
- If the persist failed because it would have otherwise violated data integrity constraints.com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
- If an error has occurred while trying to persist the data to the database. The underlying exception will have been set as the cause.
-
detachSession
void detachSession()
Make it so that this SchedulerSession can be serialized. To be able to use this SchedulerSession again, it must be re-attached with attachSchedulerSession().
-
hasDirtyObjects
boolean hasDirtyObjects()
Does this session contain any unsaved data that needs to be persisted to the database. When this function returns true, it does contain any unsaved changes in this session.- Returns:
- true when there are unsaved changes in the session, false if not
-
reset
void reset()
Re-initialize this schedulerSession. Calling this method will re-initialize this SchedulerSession so that it is in its original state, with the following exceptions:- If
setLocale(Locale)
has been called, the Locale will not be reset. - If
setDefaultPartition(Partition)
has been called, the default partition will not be reset.
- If
-
resetObjects
void resetObjects()
Calling this method is equivalent to calling {SchedulerEntity#resetObject()} on every object that has been loaded in this session.
-
refreshObjects
void refreshObjects(SchedulerEntity[] objects)
Clear all objects from the cache, except for the objects that are being passed in. The objects that are passed in will be reread from the database, and their collections will be reset. It will throw an exception if there are any dirty objects.- Parameters:
objects
- is an array of SchedulerEntity object that should be refreshed with the latest information from the database.
-
refreshObjects
void refreshObjects(List<? extends SchedulerEntity> objects)
Clear all objects from the cache, except for the objects that are being passed in. The objects that are passed in will be reread from the database, and their collections will be reset. It will throw an exception if there are any dirty objects.- Parameters:
objects
- is a list of SchedulerEntity object that should be refreshed with the latest information from the database.
-
close
@Deprecated void close()
Deprecated.This method is deprecated, with no replacementClose the Scheduler session. This is not necessary to do, and is actually now implemented as a no-op. It was originally implemented as a method to help the garbage collector do its job, but this is no longer needed, just drop the reference to the session, and let the GC do its job.
-
setLocale
void setLocale(Locale locale)
Set the current Locale that should be used by the SchedulerSession to find translations for values that support translation. If it is set to null (which is the default) it will not translate the fields that support it. If it is set, the SchedulerSession will first look for a translation for the given locale. If this is not available, it will return the translation for the server default locale. If this is also not available, it will return the key value for the translation.- Parameters:
locale
- is the new locale to set.
-
getLocale
Locale getLocale()
Retrieve the current session-specific Locale (for this session only).- Returns:
- the current session-specific Locale, null if it is not set
-
getSystemLocale
Locale getSystemLocale()
Retrieve the current system-wide Locale- Returns:
- the current system-wide Locale, if it is not set the default is taken from the JVM
-
translateField
String translateField(String text)
This method will translate the given string according to the current locale. It will first check if a locale is set. If it is not set, it returns the passed-in string. If the string does not start with either of the translation prefixes (TranslationConstants.TRANSLATE_PREFIX
andTranslationConstants.TRANSLATE_PREFIX_2
) then the string that was passed in will be returned. If the string does start with one of the translation prefixes then the prefix is removed from the string and the rest of the string is used as the key for the lookup. The current locale on this SchedulerSession is the second part of the key. If a translation could not be found, it will return the passed-in string.- Parameters:
text
- is the key to use to search for a translation- Returns:
- the translated string, or the string that was passed in when a translation could not be found.
-
translateKeys
@Deprecated String[] translateKeys(String[] keys)
Deprecated.Do not use this method, since it prepends keys with TRANSLATE_PREFIX, it does work, but is not not recommended. Uses translateField to translate an array of keys.- Parameters:
keys
- to be translated- Returns:
- translated strings
-
translateField
String translateField(BaseSchedulerEnumeration<?,?> enum1)
This method will translate the given enumeration value according to the current locale. It will first check if a locale is set. If it is not set, it returns the locale string for the enumeration. If a translation could not be found, it will return the locale string for the enumeration.- Parameters:
enum1
- the enumeration value to use to search for a translation- Returns:
- the translated string, or the string that was passed in when a translation could not be found.
-
getMonitorByPath
Monitor getMonitorByPath(String path)
Get a Monitor for the given path. All path elements must be separated byRegistryEntry.PATH_SEPARATOR
, and the path must start with theRegistryEntry.PATH_SEPARATOR
.- Parameters:
path
- is the path to search for where every path element is separated byRegistryEntry.PATH_SEPARATOR
- Returns:
- the Monitor for the given path, or null when the entry could not be found
-
getMonitorCheckByNameParent
@Deprecated MonitorCheck getMonitorCheckByNameParent(String name, MonitorNode parentMonitorNode)
Deprecated.usegetMonitorCheckByParentName(MonitorNode, String)
instead. Get theMonitorCheck
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.parentMonitorNode
- the ParentMonitorNode that must be in the key.- Returns:
- The
MonitorCheck
that is uniquely identified by the key.
-
getMonitorLinkByNameParent
@Deprecated MonitorLink getMonitorLinkByNameParent(String name, MonitorNode parentMonitorNode)
Deprecated.usegetMonitorLinkByParentName(MonitorNode, String)
instead.Get the
MonitorLink
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.parentMonitorNode
- the ParentMonitorNode that must be in the key.- Returns:
- The
MonitorLink
that is uniquely identified by the key.
-
getMonitorNodeByNameParent
@Deprecated MonitorNode getMonitorNodeByNameParent(String name, MonitorNode parentMonitorNode)
Deprecated.usegetMonitorNodeByParentName(MonitorNode, String)
instead.Get the
MonitorNode
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.parentMonitorNode
- the ParentMonitorNode that must be in the key.- Returns:
- The
MonitorNode
that is uniquely identified by the key.
-
getRegistryEntryByPath
RegistryEntry getRegistryEntryByPath(String path)
Get a RegistryEntry for the given path. All path elements must be separated byRegistryEntry.PATH_SEPARATOR
, and the path must start with theRegistryEntry.PATH_SEPARATOR
.- Parameters:
path
- is the path to search for where every path element is separated byRegistryEntry.PATH_SEPARATOR
- Returns:
- the RegistryEntry for the given path, or null when the entry could not be found
-
getRegistryEntryByParentPath
RegistryEntry getRegistryEntryByParentPath(RegistryEntry parent, String path)
Get a RegistryEntry for the given path. All path elements must be separated byRegistryEntry.PATH_SEPARATOR
.- Parameters:
parent
- the parent registry entry (may be null for root).path
- is the path to search for where every path element is separated byRegistryEntry.PATH_SEPARATOR
- Returns:
- the RegistryEntry for the given path, or null when the entry could not be found
-
getUserRegistryEntryByPath
RegistryEntry getUserRegistryEntryByPath(String path)
Get a user RegistryEntry for the given path. All path elements must be separated byRegistryEntry.PATH_SEPARATOR
, and the path must not start withRegistryEntry.PATH_SEPARATOR
. Values under the user tree have the highest priority, followed by userclass and then system. However, if system has the attribute AllowOverride set, then that value is used, and the same goes for the attribute on the userclass value.- Parameters:
path
- is the path to search for where every path element is separated byRegistryEntry.PATH_SEPARATOR
- Returns:
- the RegistryEntry for the given path, or null when the entry could not be found
-
createRegistryEntryByPath
RegistryEntry createRegistryEntryByPath(RegistryRoot root, String path)
Create a RegistryEntry for the given path. All path elements must be separated byRegistryEntry.PATH_SEPARATOR
, and the path must start with theRegistryEntry.PATH_SEPARATOR
when the root is not specified.- Parameters:
root
- is the root where the registry key resides; to specify the full path set this to nullRegistryRoot
path
- is the path to search for where every path element is separated byRegistryEntry.PATH_SEPARATOR
- Returns:
- the newly instantiated RegistryEntry for the given path
-
canPerform
boolean canPerform(String methodName)
Query the object to check if the method name passed in is allowed for the current user.- Parameters:
methodName
- is the name of the method that the user wants to perform- Returns:
- Return false when the user is not allowed to perform the method, true when it could not be determined that the user cannot perform the method. This means that when the method returns true, it is not guaranteed that the actual perform of the method could not still throw an exception.
-
sleep
void sleep(long sleepMillis) throws InterruptedException
Sleep for a period of time before returning.- Parameters:
sleepMillis
- the length of time to sleep in milliseconds. (There are 1000 milliseconds in 1 second.)- Throws:
InterruptedException
- if another thread has interrupted the current thread. The interrupted status of the current thread is cleared when this exception is thrown.
-
hasGlobalPrivilege
boolean hasGlobalPrivilege(String... checkPrivileges)
Does the user that created this session have at least one of the specified global privileges.- Parameters:
checkPrivileges
- an array of strings representing the required global privilege names.- Returns:
- true if the user that created this session has at least one of the specified global privileges.
-
hasRole
boolean hasRole(String rolename)
Does the user that created this session have the specified role.- Parameters:
rolename
- the role to search for- Returns:
- if the user has the role
-
getUserName
String getUserName()
The name of the user that created this session.- Returns:
- The name of the user that created this session.
-
getIsolationGroupName
String getIsolationGroupName()
The isolation group name for the user that created this session.- Returns:
- The isolation group name of the user that created this session.
-
getDefaultPartition
Partition getDefaultPartition()
Get the default partition for partitionable objects in this session.- Returns:
- the default partition associated with this session.
- See Also:
setDefaultPartition(Partition)
-
setDefaultPartition
void setDefaultPartition(Partition newDefaultPartition)
Set the default partition for partitionable objects in this session. This will be assigned to objects that are created with this session, and, if the partition search path is configured, will also be used as the partition to replace the<default>
entry in that path. Initially the default partition is set based on the user that owns the session.- Parameters:
newDefaultPartition
- the partition to install as the default for this session.- See Also:
getDefaultPartition()
-
createBusinessKeyResolver
BusinessKeyResolver createBusinessKeyResolver()
Create a resolver that will use this session to resolve business keys.- Returns:
- A resolver that can be used to locate objects based on their business key.
-
createExporter
Exporter createExporter()
Create an exporter that can be used to export objects.- Returns:
- An exporter that can be used to export objects.
-
waitForJob
void waitForJob(Job job)
Wait for given job to finish. This method will use a notification mechanism if this job is a child job spawned from a RedwoodScript job and it's that script job that waits for it (this a very cheap wait, without hitting the database). Otherwise the job is refreshed to see the updates.In both cases: all other objects in the session are discarded when this method returns.
Note: This call will wait forever until the 'finish' condition is met. It is recommended to use one of the methods where you can specify a maximum wait in addition.
- Parameters:
job
- the job to wait for.
-
waitForJob
void waitForJob(Job job, long maxWait)
Wait for given job to finish. This method will use a notification mechanism if this job is a child job spawned from a RedwoodScript job and it's that script job that waits for it (this a very cheap wait, without hitting the database). Otherwise the job is refreshed to see the updates.In both cases: all other objects in the session are discarded when this method returns.
Note: This call will wait until the job finishes or the maxWait time expires, if the job does not finish before maxWait, a TimeoutException is thrown.
- Parameters:
job
- the job to wait for.maxWait
- The maximum wait time in milliseconds
-
waitForJobs
void waitForJobs(Job[] jobs)
Wait for all given jobs to finish. This method will use a notification mechanism if these jobs are child jobs spawned from a RedwoodScript job and it's that script job that waits for it (this a very cheap wait, without hitting the database). Otherwise the jobs are refreshed to see the updates.In both cases: all other objects in the session are discarded when this method returns.
Note: This call will wait forever until the 'finish' condition is met. It is recommended to use one of the methods where you can specify a maximum wait in addition.
- Parameters:
jobs
- the jobs to wait for.
-
waitForJobs
void waitForJobs(Job[] jobs, long maxWait)
Wait for all given jobs to finish. This method will use a notification mechanism if these jobs are child jobs spawned from a RedwoodScript job and it's that script job that waits for it (this a very cheap wait, without hitting the database). Otherwise the jobs are refreshed to see the updates.In both cases: all other objects in the session are discarded when this method returns.
Note: This call will wait until the job finishes or the maxWait time expires, if the job does not finish before maxWait, a TimeoutException is thrown.
- Parameters:
jobs
- the jobs to wait for.maxWait
- The maximum wait time in milliseconds
-
waitForJobs
void waitForJobs(Job[] jobs, JobStatus[] statuses, long maxWait)
Wait for jobs to reach the specified statuses, with a maximum wait time. This method will refresh the jobs in order to be able to see updates.This routine may return earlier than the specified timeout if any of the jobs go to a final status that is not in the list of statuses to wait for.
- Parameters:
jobs
- the jobs to wait for, must be from session.statuses
- the statuses to wait for.maxWait
- the maximum time (in milliseconds) to wait.
-
waitForJob
void waitForJob(Job job, JobStatus status)
Wait for jobs to reach the specified statuses, with unlimited time. This method will refresh the jobs in order to be able to see updates.This routine may return earlier if any of the jobs go to a final status that is not in the list of statuses to wait for.
- Parameters:
job
- Job to wait forstatus
- The status it must reach
-
waitForJob
void waitForJob(Job job, JobStatus status, long maxWait)
Similar aswaitForJob(Job, JobStatus)
, except a maxWait is specified. Which means the method will abort with a TimeoutException if the status was not reached before.- Parameters:
job
- Job to wait forstatus
- The status it must reachmaxWait
- Maximum time in milliseconds to wait for the job to reach status, TimeoutException if the time expires.
-
waitForAllChildren
void waitForAllChildren(Job job)
Wait for all children of this job to finish. All other objects in the session are discarded when this method returns. The children are taken from the job immediately, and then waited for. Any new children that appear after this method is called, will not be waited for.Note: This call will wait forever until the 'finish' condition is met. It is recommended to use one of the methods where you can specify a maximum wait in addition.
- Parameters:
job
- The job's children to wait for
-
waitForAllChildren
void waitForAllChildren(Job job, long maxWait)
Wait for all children of this job to finish. All other objects in the session are discarded when this method returns. The children are taken from the job immediately, and then waited for. Any new children that appear after this method is called, will not be waited for.Note: This call will wait until the children finish or the maxWait time expires, if the children do not finish before maxWait, a TimeoutException is thrown.
- Parameters:
job
- The job's children to wait formaxWait
- the maximum time (in milliseconds) to wait.
-
createAdHocAlertSource
AdHocAlertSource createAdHocAlertSource()
Return a new instance of AdHocAlertSource. All defaults will be set as documentedAdHocAlertSource
.- Returns:
- the newly instantiated AdHocAlertSource
-
getAdHocAlertSourceByName
AdHocAlertSource getAdHocAlertSourceByName(Partition partition, String name)
Get theAdHocAlertSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
AdHocAlertSource
that is uniquely identified by the key.
-
getAdHocAlertSourceByName
AdHocAlertSource getAdHocAlertSourceByName(String name)
Get theAdHocAlertSource
by Name. Calling this method is equivalent to calling:getAdHocAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
AdHocAlertSource
that is uniquely identified by the key. - See Also:
getAdHocAlertSourceByName(Partition, String)
-
getAdHocAlertSourceByUniqueId
AdHocAlertSource getAdHocAlertSourceByUniqueId(Long uniqueId)
Get theAdHocAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AdHocAlertSource
that is uniquely identified by the key.
-
getAlertByUniqueId
Alert getAlertByUniqueId(Long uniqueId)
Get theAlert
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Alert
that is uniquely identified by the key.
-
createAlertEscalation
AlertEscalation createAlertEscalation()
Return a new instance of AlertEscalation. All defaults will be set as documentedAlertEscalation
.- Returns:
- the newly instantiated AlertEscalation
-
getAlertEscalationByName
AlertEscalation getAlertEscalationByName(Partition partition, String name)
Get theAlertEscalation
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
AlertEscalation
that is uniquely identified by the key.
-
getAlertEscalationByName
AlertEscalation getAlertEscalationByName(String name)
Get theAlertEscalation
by Name. Calling this method is equivalent to calling:getAlertEscalationByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
AlertEscalation
that is uniquely identified by the key. - See Also:
getAlertEscalationByName(Partition, String)
-
getAlertEscalationByUniqueId
AlertEscalation getAlertEscalationByUniqueId(Long uniqueId)
Get theAlertEscalation
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AlertEscalation
that is uniquely identified by the key.
-
getAlertEscalationActionByUniqueId
AlertEscalationAction getAlertEscalationActionByUniqueId(Long uniqueId)
Get theAlertEscalationAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AlertEscalationAction
that is uniquely identified by the key.
-
getAlertSourceActionByAlertSourceActionType
AlertSourceAction getAlertSourceActionByAlertSourceActionType(Long parentUniqueId, AlertSourceActionType type)
Get theAlertSourceAction
by AlertSourceActionType. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
parentUniqueId
- the ParentUniqueId that must be in the key.type
- the Type that must be in the key.- Returns:
- The
AlertSourceAction
that is uniquely identified by the key.
-
getAlertSourceActionByUniqueId
AlertSourceAction getAlertSourceActionByUniqueId(Long uniqueId)
Get theAlertSourceAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AlertSourceAction
that is uniquely identified by the key.
-
getAlertSourceEmailByUniqueId
AlertSourceEmail getAlertSourceEmailByUniqueId(Long uniqueId)
Get theAlertSourceEmail
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AlertSourceEmail
that is uniquely identified by the key.
-
createApplication
Application createApplication()
Return a new instance of Application. All defaults will be set as documentedApplication
.- Returns:
- the newly instantiated Application
-
getApplicationByName
Application getApplicationByName(Partition partition, Application parentApplication, String name)
Get theApplication
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.parentApplication
- the ParentApplication that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Application
that is uniquely identified by the key.
-
getApplicationByName
Application getApplicationByName(Application parentApplication, String name)
Get theApplication
by Name. Calling this method is equivalent to calling:getApplicationByName(getPartitionSearchPath(), parentApplication, name);
- Parameters:
parentApplication
- the ParentApplication that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Application
that is uniquely identified by the key. - See Also:
getApplicationByName(Partition, Application, String)
-
getApplicationByName
Application getApplicationByName(String name)
Get theApplication
by Name. Calling this method is equivalent to calling:getApplicationByName(getPartitionSearchPath(), null, name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Application
that is uniquely identified by the key. - See Also:
getApplicationByName(Partition, Application, String)
-
getApplicationByUniqueId
Application getApplicationByUniqueId(Long uniqueId)
Get theApplication
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Application
that is uniquely identified by the key.
-
createAuditObject
AuditObject createAuditObject()
Return a new instance of AuditObject. All defaults will be set as documentedAuditObject
.- Returns:
- the newly instantiated AuditObject
-
getAuditObjectByUniqueId
AuditObject getAuditObjectByUniqueId(Long uniqueId)
Get theAuditObject
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AuditObject
that is uniquely identified by the key.
-
createAuditRule
AuditRule createAuditRule()
Return a new instance of AuditRule. All defaults will be set as documentedAuditRule
.- Returns:
- the newly instantiated AuditRule
-
getAuditRuleByObjectType
AuditRule getAuditRuleByObjectType(String ruleObjectType)
Get theAuditRule
by ObjectType. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
ruleObjectType
- the RuleObjectType that must be in the key.- Returns:
- The
AuditRule
that is uniquely identified by the key.
-
getAuditRuleByName
AuditRule getAuditRuleByName(String name)
Get theAuditRule
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
AuditRule
that is uniquely identified by the key.
-
getAuditRuleByUniqueId
AuditRule getAuditRuleByUniqueId(Long uniqueId)
Get theAuditRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AuditRule
that is uniquely identified by the key.
-
createAuditSubjectLogin
AuditSubjectLogin createAuditSubjectLogin()
Return a new instance of AuditSubjectLogin. All defaults will be set as documentedAuditSubjectLogin
.- Returns:
- the newly instantiated AuditSubjectLogin
-
getAuditSubjectLoginByUniqueId
AuditSubjectLogin getAuditSubjectLoginByUniqueId(Long uniqueId)
Get theAuditSubjectLogin
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
AuditSubjectLogin
that is uniquely identified by the key.
-
createBuiltInWebService
BuiltInWebService createBuiltInWebService()
Return a new instance of BuiltInWebService. All defaults will be set as documentedBuiltInWebService
.- Returns:
- the newly instantiated BuiltInWebService
-
getBuiltInWebServiceByWSName
BuiltInWebService getBuiltInWebServiceByWSName(String name)
Get theBuiltInWebService
by WSName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
BuiltInWebService
that is uniquely identified by the key.
-
getBuiltInWebServiceByUniqueId
BuiltInWebService getBuiltInWebServiceByUniqueId(Long uniqueId)
Get theBuiltInWebService
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
BuiltInWebService
that is uniquely identified by the key.
-
createConstraintDefinition
ConstraintDefinition createConstraintDefinition()
Return a new instance of ConstraintDefinition. All defaults will be set as documentedConstraintDefinition
.- Returns:
- the newly instantiated ConstraintDefinition
-
getConstraintDefinitionByName
ConstraintDefinition getConstraintDefinitionByName(Partition partition, String name)
Get theConstraintDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ConstraintDefinition
that is uniquely identified by the key.
-
getConstraintDefinitionByName
ConstraintDefinition getConstraintDefinitionByName(String name)
Get theConstraintDefinition
by Name. Calling this method is equivalent to calling:getConstraintDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ConstraintDefinition
that is uniquely identified by the key. - See Also:
getConstraintDefinitionByName(Partition, String)
-
getConstraintDefinitionByUniqueId
ConstraintDefinition getConstraintDefinitionByUniqueId(Long uniqueId)
Get theConstraintDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ConstraintDefinition
that is uniquely identified by the key.
-
createCredential
Credential createCredential()
Return a new instance of Credential. All defaults will be set as documentedCredential
.- Returns:
- the newly instantiated Credential
-
getCredentialByCredentialProtocolEndpointRealUser
Credential getCredentialByCredentialProtocolEndpointRealUser(Partition partition, CredentialProtocol credentialProtocol, String endpoint, String realUser)
Get theCredential
by CredentialProtocolEndpointRealUser. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.credentialProtocol
- the CredentialProtocol that must be in the key.endpoint
- the Endpoint that must be in the key.realUser
- the RealUser that must be in the key.- Returns:
- The
Credential
that is uniquely identified by the key.
-
getCredentialByCredentialProtocolEndpointRealUser
Credential getCredentialByCredentialProtocolEndpointRealUser(CredentialProtocol credentialProtocol, String endpoint, String realUser)
Get theCredential
by CredentialProtocolEndpointRealUser. Calling this method is equivalent to calling:getCredentialByCredentialProtocolEndpointRealUser(getPartitionSearchPath(), credentialProtocol, endpoint, realUser);
- Parameters:
credentialProtocol
- the CredentialProtocol that must be in the key.endpoint
- the Endpoint that must be in the key.realUser
- the RealUser that must be in the key.- Returns:
- The
Credential
that is uniquely identified by the key. - See Also:
getCredentialByCredentialProtocolEndpointRealUser(Partition, CredentialProtocol, String, String)
-
getCredentialByCredentialProtocolEndpointVirtualUser
Credential getCredentialByCredentialProtocolEndpointVirtualUser(Partition partition, CredentialProtocol credentialProtocol, String endpoint, String virtualUser)
Get theCredential
by CredentialProtocolEndpointVirtualUser. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.credentialProtocol
- the CredentialProtocol that must be in the key.endpoint
- the Endpoint that must be in the key.virtualUser
- the VirtualUser that must be in the key.- Returns:
- The
Credential
that is uniquely identified by the key.
-
getCredentialByCredentialProtocolEndpointVirtualUser
Credential getCredentialByCredentialProtocolEndpointVirtualUser(CredentialProtocol credentialProtocol, String endpoint, String virtualUser)
Get theCredential
by CredentialProtocolEndpointVirtualUser. Calling this method is equivalent to calling:getCredentialByCredentialProtocolEndpointVirtualUser(getPartitionSearchPath(), credentialProtocol, endpoint, virtualUser);
- Parameters:
credentialProtocol
- the CredentialProtocol that must be in the key.endpoint
- the Endpoint that must be in the key.virtualUser
- the VirtualUser that must be in the key.- Returns:
- The
Credential
that is uniquely identified by the key. - See Also:
getCredentialByCredentialProtocolEndpointVirtualUser(Partition, CredentialProtocol, String, String)
-
getCredentialByUniqueId
Credential getCredentialByUniqueId(Long uniqueId)
Get theCredential
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Credential
that is uniquely identified by the key.
-
createCredentialProtocol
CredentialProtocol createCredentialProtocol()
Return a new instance of CredentialProtocol. All defaults will be set as documentedCredentialProtocol
.- Returns:
- the newly instantiated CredentialProtocol
-
getCredentialProtocolByName
CredentialProtocol getCredentialProtocolByName(Partition partition, String name)
Get theCredentialProtocol
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
CredentialProtocol
that is uniquely identified by the key.
-
getCredentialProtocolByName
CredentialProtocol getCredentialProtocolByName(String name)
Get theCredentialProtocol
by Name. Calling this method is equivalent to calling:getCredentialProtocolByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
CredentialProtocol
that is uniquely identified by the key. - See Also:
getCredentialProtocolByName(Partition, String)
-
getCredentialProtocolByUniqueId
CredentialProtocol getCredentialProtocolByUniqueId(Long uniqueId)
Get theCredentialProtocol
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
CredentialProtocol
that is uniquely identified by the key.
-
createDashboard
Dashboard createDashboard()
Return a new instance of Dashboard. All defaults will be set as documentedDashboard
.- Returns:
- the newly instantiated Dashboard
-
getDashboardByOwnerName
Dashboard getDashboardByOwnerName(Subject ownerSubject, String name)
Get theDashboard
by OwnerName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
ownerSubject
- the OwnerSubject that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Dashboard
that is uniquely identified by the key.
-
getDashboardByUniqueId
Dashboard getDashboardByUniqueId(Long uniqueId)
Get theDashboard
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Dashboard
that is uniquely identified by the key.
-
getDashboardItemByUniqueId
DashboardItem getDashboardItemByUniqueId(Long uniqueId)
Get theDashboardItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
DashboardItem
that is uniquely identified by the key.
-
createDatabase
Database createDatabase()
Return a new instance of Database. All defaults will be set as documentedDatabase
.- Returns:
- the newly instantiated Database
-
getDatabaseByName
Database getDatabaseByName(Partition partition, String name)
Get theDatabase
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Database
that is uniquely identified by the key.
-
getDatabaseByName
Database getDatabaseByName(String name)
Get theDatabase
by Name. Calling this method is equivalent to calling:getDatabaseByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Database
that is uniquely identified by the key. - See Also:
getDatabaseByName(Partition, String)
-
getDatabaseByUniqueId
Database getDatabaseByUniqueId(Long uniqueId)
Get theDatabase
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Database
that is uniquely identified by the key.
-
createDatumDefinition
DatumDefinition createDatumDefinition()
Return a new instance of DatumDefinition. All defaults will be set as documentedDatumDefinition
.- Returns:
- the newly instantiated DatumDefinition
-
getDatumDefinitionByName
DatumDefinition getDatumDefinitionByName(Partition partition, String name)
Get theDatumDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
DatumDefinition
that is uniquely identified by the key.
-
getDatumDefinitionByName
DatumDefinition getDatumDefinitionByName(String name)
Get theDatumDefinition
by Name. Calling this method is equivalent to calling:getDatumDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
DatumDefinition
that is uniquely identified by the key. - See Also:
getDatumDefinitionByName(Partition, String)
-
getDatumDefinitionByUniqueId
DatumDefinition getDatumDefinitionByUniqueId(Long uniqueId)
Get theDatumDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
DatumDefinition
that is uniquely identified by the key.
-
createDocument
Document createDocument()
Return a new instance of Document. All defaults will be set as documentedDocument
.- Returns:
- the newly instantiated Document
-
getDocumentByPath
Document getDocumentByPath(Partition partition, Application parentApplication, String searchName)
Get theDocument
by Path. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.parentApplication
- the ParentApplication that must be in the key.searchName
- the SearchName that must be in the key.- Returns:
- The
Document
that is uniquely identified by the key.
-
getDocumentByUniqueId
Document getDocumentByUniqueId(Long uniqueId)
Get theDocument
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Document
that is uniquely identified by the key.
-
createEmailAlertGateway
EmailAlertGateway createEmailAlertGateway()
Return a new instance of EmailAlertGateway. All defaults will be set as documentedEmailAlertGateway
.- Returns:
- the newly instantiated EmailAlertGateway
-
getEmailAlertGatewayByName
EmailAlertGateway getEmailAlertGatewayByName(Partition partition, String name)
Get theEmailAlertGateway
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
EmailAlertGateway
that is uniquely identified by the key.
-
getEmailAlertGatewayByName
EmailAlertGateway getEmailAlertGatewayByName(String name)
Get theEmailAlertGateway
by Name. Calling this method is equivalent to calling:getEmailAlertGatewayByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
EmailAlertGateway
that is uniquely identified by the key. - See Also:
getEmailAlertGatewayByName(Partition, String)
-
getEmailAlertGatewayByUniqueId
EmailAlertGateway getEmailAlertGatewayByUniqueId(Long uniqueId)
Get theEmailAlertGateway
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGateway
that is uniquely identified by the key.
-
getEmailAlertGatewayActionByUniqueId
EmailAlertGatewayAction getEmailAlertGatewayActionByUniqueId(Long uniqueId)
Get theEmailAlertGatewayAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayAction
that is uniquely identified by the key.
-
getEmailAlertGatewayEmailByUniqueId
EmailAlertGatewayEmail getEmailAlertGatewayEmailByUniqueId(Long uniqueId)
Get theEmailAlertGatewayEmail
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayEmail
that is uniquely identified by the key.
-
getEmailAlertGatewayHeaderByUniqueId
EmailAlertGatewayHeader getEmailAlertGatewayHeaderByUniqueId(Long uniqueId)
Get theEmailAlertGatewayHeader
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayHeader
that is uniquely identified by the key.
-
getEmailAlertGatewayJobFileAttachmentByUniqueId
EmailAlertGatewayJobFileAttachment getEmailAlertGatewayJobFileAttachmentByUniqueId(Long uniqueId)
Get theEmailAlertGatewayJobFileAttachment
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayJobFileAttachment
that is uniquely identified by the key.
-
getEventByUniqueId
Event getEventByUniqueId(Long uniqueId)
Get theEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Event
that is uniquely identified by the key.
-
createEventDefinition
EventDefinition createEventDefinition()
Return a new instance of EventDefinition. All defaults will be set as documentedEventDefinition
.- Returns:
- the newly instantiated EventDefinition
-
getEventDefinitionByName
EventDefinition getEventDefinitionByName(Partition partition, String name)
Get theEventDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
EventDefinition
that is uniquely identified by the key.
-
getEventDefinitionByName
EventDefinition getEventDefinitionByName(String name)
Get theEventDefinition
by Name. Calling this method is equivalent to calling:getEventDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
EventDefinition
that is uniquely identified by the key. - See Also:
getEventDefinitionByName(Partition, String)
-
getEventDefinitionByUniqueId
EventDefinition getEventDefinitionByUniqueId(Long uniqueId)
Get theEventDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
EventDefinition
that is uniquely identified by the key.
-
createExport
Export createExport()
Return a new instance of Export. All defaults will be set as documentedExport
.- Returns:
- the newly instantiated Export
-
getExportByUniqueId
Export getExportByUniqueId(Long uniqueId)
Get theExport
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Export
that is uniquely identified by the key.
-
getExportRuleByUniqueId
ExportRule getExportRuleByUniqueId(Long uniqueId)
Get theExportRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ExportRule
that is uniquely identified by the key.
-
getExportRuleItemByUniqueId
ExportRuleItem getExportRuleItemByUniqueId(Long uniqueId)
Get theExportRuleItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ExportRuleItem
that is uniquely identified by the key.
-
createExportRuleSet
ExportRuleSet createExportRuleSet()
Return a new instance of ExportRuleSet. All defaults will be set as documentedExportRuleSet
.- Returns:
- the newly instantiated ExportRuleSet
-
getExportRuleSetByName
ExportRuleSet getExportRuleSetByName(Partition partition, String name)
Get theExportRuleSet
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ExportRuleSet
that is uniquely identified by the key.
-
getExportRuleSetByName
ExportRuleSet getExportRuleSetByName(String name)
Get theExportRuleSet
by Name. Calling this method is equivalent to calling:getExportRuleSetByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ExportRuleSet
that is uniquely identified by the key. - See Also:
getExportRuleSetByName(Partition, String)
-
getExportRuleSetByUniqueId
ExportRuleSet getExportRuleSetByUniqueId(Long uniqueId)
Get theExportRuleSet
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ExportRuleSet
that is uniquely identified by the key.
-
createExtensionPoint
ExtensionPoint createExtensionPoint()
Return a new instance of ExtensionPoint. All defaults will be set as documentedExtensionPoint
.- Returns:
- the newly instantiated ExtensionPoint
-
getExtensionPointByName
ExtensionPoint getExtensionPointByName(Partition partition, String name)
Get theExtensionPoint
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ExtensionPoint
that is uniquely identified by the key.
-
getExtensionPointByName
ExtensionPoint getExtensionPointByName(String name)
Get theExtensionPoint
by Name. Calling this method is equivalent to calling:getExtensionPointByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ExtensionPoint
that is uniquely identified by the key. - See Also:
getExtensionPointByName(Partition, String)
-
getExtensionPointByUniqueId
ExtensionPoint getExtensionPointByUniqueId(Long uniqueId)
Get theExtensionPoint
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ExtensionPoint
that is uniquely identified by the key.
-
getExtensionPointSourceByUniqueId
ExtensionPointSource getExtensionPointSourceByUniqueId(Long uniqueId)
Get theExtensionPointSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ExtensionPointSource
that is uniquely identified by the key.
-
getFileEventByUniqueId
FileEvent getFileEventByUniqueId(Long uniqueId)
Get theFileEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
FileEvent
that is uniquely identified by the key.
-
getFileEventDefinitionByUniqueId
FileEventDefinition getFileEventDefinitionByUniqueId(Long uniqueId)
Get theFileEventDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
FileEventDefinition
that is uniquely identified by the key.
-
getFinalStatusHandlerByUniqueId
FinalStatusHandler getFinalStatusHandlerByUniqueId(Long uniqueId)
Get theFinalStatusHandler
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
FinalStatusHandler
that is uniquely identified by the key.
-
createForecastJob
ForecastJob createForecastJob()
Return a new instance of ForecastJob. All defaults will be set as documentedForecastJob
.- Returns:
- the newly instantiated ForecastJob
-
getForecastJobByUniqueId
ForecastJob getForecastJobByUniqueId(Long uniqueId)
Get theForecastJob
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ForecastJob
that is uniquely identified by the key.
-
createFormat
Format createFormat()
Return a new instance of Format. All defaults will be set as documentedFormat
.- Returns:
- the newly instantiated Format
-
getFormatByName
Format getFormatByName(Partition partition, String name)
Get theFormat
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Format
that is uniquely identified by the key.
-
getFormatByName
Format getFormatByName(String name)
Get theFormat
by Name. Calling this method is equivalent to calling:getFormatByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Format
that is uniquely identified by the key. - See Also:
getFormatByName(Partition, String)
-
getFormatByUniqueId
Format getFormatByUniqueId(Long uniqueId)
Get theFormat
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Format
that is uniquely identified by the key.
-
createGlobalPrivilege
GlobalPrivilege createGlobalPrivilege()
Return a new instance of GlobalPrivilege. All defaults will be set as documentedGlobalPrivilege
.- Returns:
- the newly instantiated GlobalPrivilege
-
getGlobalPrivilegeByName
GlobalPrivilege getGlobalPrivilegeByName(String name)
Get theGlobalPrivilege
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
GlobalPrivilege
that is uniquely identified by the key.
-
getGlobalPrivilegeByUniqueId
GlobalPrivilege getGlobalPrivilegeByUniqueId(Long uniqueId)
Get theGlobalPrivilege
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
GlobalPrivilege
that is uniquely identified by the key.
-
createImport
Import createImport()
Return a new instance of Import. All defaults will be set as documentedImport
.- Returns:
- the newly instantiated Import
-
getImportByUniqueId
Import getImportByUniqueId(Long uniqueId)
Get theImport
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Import
that is uniquely identified by the key.
-
getImportActionByUniqueId
ImportAction getImportActionByUniqueId(Long uniqueId)
Get theImportAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportAction
that is uniquely identified by the key.
-
getImportActionParameterByUniqueId
ImportActionParameter getImportActionParameterByUniqueId(Long uniqueId)
Get theImportActionParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportActionParameter
that is uniquely identified by the key.
-
getImportMatchRuleByUniqueId
ImportMatchRule getImportMatchRuleByUniqueId(Long uniqueId)
Get theImportMatchRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportMatchRule
that is uniquely identified by the key.
-
getImportOverrideRuleByUniqueId
ImportOverrideRule getImportOverrideRuleByUniqueId(Long uniqueId)
Get theImportOverrideRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportOverrideRule
that is uniquely identified by the key.
-
getImportRuleByUniqueId
ImportRule getImportRuleByUniqueId(Long uniqueId)
Get theImportRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportRule
that is uniquely identified by the key.
-
createImportRuleDefinition
ImportRuleDefinition createImportRuleDefinition()
Return a new instance of ImportRuleDefinition. All defaults will be set as documentedImportRuleDefinition
.- Returns:
- the newly instantiated ImportRuleDefinition
-
getImportRuleDefinitionByName
ImportRuleDefinition getImportRuleDefinitionByName(Partition partition, String name)
Get theImportRuleDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ImportRuleDefinition
that is uniquely identified by the key.
-
getImportRuleDefinitionByName
ImportRuleDefinition getImportRuleDefinitionByName(String name)
Get theImportRuleDefinition
by Name. Calling this method is equivalent to calling:getImportRuleDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ImportRuleDefinition
that is uniquely identified by the key. - See Also:
getImportRuleDefinitionByName(Partition, String)
-
getImportRuleDefinitionByUniqueId
ImportRuleDefinition getImportRuleDefinitionByUniqueId(Long uniqueId)
Get theImportRuleDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportRuleDefinition
that is uniquely identified by the key.
-
createImportRuleSet
ImportRuleSet createImportRuleSet()
Return a new instance of ImportRuleSet. All defaults will be set as documentedImportRuleSet
.- Returns:
- the newly instantiated ImportRuleSet
-
getImportRuleSetByName
ImportRuleSet getImportRuleSetByName(Partition partition, String name)
Get theImportRuleSet
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ImportRuleSet
that is uniquely identified by the key.
-
getImportRuleSetByName
ImportRuleSet getImportRuleSetByName(String name)
Get theImportRuleSet
by Name. Calling this method is equivalent to calling:getImportRuleSetByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ImportRuleSet
that is uniquely identified by the key. - See Also:
getImportRuleSetByName(Partition, String)
-
getImportRuleSetByUniqueId
ImportRuleSet getImportRuleSetByUniqueId(Long uniqueId)
Get theImportRuleSet
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportRuleSet
that is uniquely identified by the key.
-
getImportRuleSetPartitionRenameByUniqueId
ImportRuleSetPartitionRename getImportRuleSetPartitionRenameByUniqueId(Long uniqueId)
Get theImportRuleSetPartitionRename
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportRuleSetPartitionRename
that is uniquely identified by the key.
-
createImportSource
ImportSource createImportSource()
Return a new instance of ImportSource. All defaults will be set as documentedImportSource
.- Returns:
- the newly instantiated ImportSource
-
getImportSourceByName
ImportSource getImportSourceByName(Partition partition, String name)
Get theImportSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ImportSource
that is uniquely identified by the key.
-
getImportSourceByName
ImportSource getImportSourceByName(String name)
Get theImportSource
by Name. Calling this method is equivalent to calling:getImportSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ImportSource
that is uniquely identified by the key. - See Also:
getImportSourceByName(Partition, String)
-
getImportSourceByUniqueId
ImportSource getImportSourceByUniqueId(Long uniqueId)
Get theImportSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ImportSource
that is uniquely identified by the key.
-
createIsolationGroup
IsolationGroup createIsolationGroup()
Return a new instance of IsolationGroup. All defaults will be set as documentedIsolationGroup
.- Returns:
- the newly instantiated IsolationGroup
-
getIsolationGroupByName
IsolationGroup getIsolationGroupByName(String name)
Get theIsolationGroup
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
IsolationGroup
that is uniquely identified by the key.
-
getIsolationGroupByUniqueId
IsolationGroup getIsolationGroupByUniqueId(Long uniqueId)
Get theIsolationGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
IsolationGroup
that is uniquely identified by the key.
-
getJARFileByUniqueId
JARFile getJARFileByUniqueId(Long uniqueId)
Get theJARFile
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JARFile
that is uniquely identified by the key.
-
getJobByJobId
Job getJobByJobId(Long jobId)
Get theJob
by JobId. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobId
- the JobId that must be in the key.- Returns:
- The
Job
that is uniquely identified by the key.
-
getJobByRemoteIdentifiers
Job getJobByRemoteIdentifiers(String remoteSystem, String remoteId)
Get theJob
by RemoteIdentifiers. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
remoteSystem
- the RemoteSystem that must be in the key.remoteId
- the RemoteId that must be in the key.- Returns:
- The
Job
that is uniquely identified by the key.
-
getJobByUniqueId
Job getJobByUniqueId(Long uniqueId)
Get theJob
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Job
that is uniquely identified by the key.
-
createJobChain
JobChain createJobChain()
Return a new instance of JobChain. All defaults will be set as documentedJobChain
.- Returns:
- the newly instantiated JobChain
-
getJobChainByJobDefinition
JobChain getJobChainByJobDefinition(JobDefinition jobDefinition)
Get theJobChain
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
JobChain
that is uniquely identified by the key.
-
getJobChainByUniqueId
JobChain getJobChainByUniqueId(Long uniqueId)
Get theJobChain
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChain
that is uniquely identified by the key.
-
getJobChainCallByUniqueId
JobChainCall getJobChainCallByUniqueId(Long uniqueId)
Get theJobChainCall
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCall
that is uniquely identified by the key.
-
getJobChainCallInExpressionParameterByUniqueId
JobChainCallInExpressionParameter getJobChainCallInExpressionParameterByUniqueId(Long uniqueId)
Get theJobChainCallInExpressionParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallInExpressionParameter
that is uniquely identified by the key.
-
getJobChainCallInReferenceParameterByUniqueId
JobChainCallInReferenceParameter getJobChainCallInReferenceParameterByUniqueId(Long uniqueId)
Get theJobChainCallInReferenceParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallInReferenceParameter
that is uniquely identified by the key.
-
getJobChainCallJobLockByUniqueId
JobChainCallJobLock getJobChainCallJobLockByUniqueId(Long uniqueId)
Get theJobChainCallJobLock
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallJobLock
that is uniquely identified by the key.
-
getJobChainCallOutReferenceParameterByUniqueId
JobChainCallOutReferenceParameter getJobChainCallOutReferenceParameterByUniqueId(Long uniqueId)
Get theJobChainCallOutReferenceParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallOutReferenceParameter
that is uniquely identified by the key.
-
getJobChainCallPreconditionByUniqueId
JobChainCallPrecondition getJobChainCallPreconditionByUniqueId(Long uniqueId)
Get theJobChainCallPrecondition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallPrecondition
that is uniquely identified by the key.
-
getJobChainCallProcessMonitorUpdaterByUniqueId
JobChainCallProcessMonitorUpdater getJobChainCallProcessMonitorUpdaterByUniqueId(Long uniqueId)
Get theJobChainCallProcessMonitorUpdater
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallProcessMonitorUpdater
that is uniquely identified by the key.
-
getJobChainCallRaiseEventByUniqueId
JobChainCallRaiseEvent getJobChainCallRaiseEventByUniqueId(Long uniqueId)
Get theJobChainCallRaiseEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallRaiseEvent
that is uniquely identified by the key.
-
getJobChainCallSchedulingParameterByUniqueId
JobChainCallSchedulingParameter getJobChainCallSchedulingParameterByUniqueId(Long uniqueId)
Get theJobChainCallSchedulingParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallSchedulingParameter
that is uniquely identified by the key.
-
getJobChainCallWaitEventByUniqueId
JobChainCallWaitEvent getJobChainCallWaitEventByUniqueId(Long uniqueId)
Get theJobChainCallWaitEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainCallWaitEvent
that is uniquely identified by the key.
-
getJobChainStatusHandlerByUniqueId
JobChainStatusHandler getJobChainStatusHandlerByUniqueId(Long uniqueId)
Get theJobChainStatusHandler
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainStatusHandler
that is uniquely identified by the key.
-
getJobChainStepByUniqueId
JobChainStep getJobChainStepByUniqueId(Long uniqueId)
Get theJobChainStep
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainStep
that is uniquely identified by the key.
-
getJobChainStepPreconditionByUniqueId
JobChainStepPrecondition getJobChainStepPreconditionByUniqueId(Long uniqueId)
Get theJobChainStepPrecondition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainStepPrecondition
that is uniquely identified by the key.
-
getJobChainStepStatusHandlerByUniqueId
JobChainStepStatusHandler getJobChainStepStatusHandlerByUniqueId(Long uniqueId)
Get theJobChainStepStatusHandler
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobChainStepStatusHandler
that is uniquely identified by the key.
-
getJobDatumByUniqueId
JobDatum getJobDatumByUniqueId(Long uniqueId)
Get theJobDatum
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDatum
that is uniquely identified by the key.
-
createJobDefinition
JobDefinition createJobDefinition()
Return a new instance of JobDefinition. All defaults will be set as documentedJobDefinition
.- Returns:
- the newly instantiated JobDefinition
-
getJobDefinitionByName
JobDefinition getJobDefinitionByName(Partition partition, String name, Long branchedLLPVersion)
Get theJobDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.branchedLLPVersion
- the BranchedLLPVersion that must be in the key.- Returns:
- The
JobDefinition
that is uniquely identified by the key.
-
getJobDefinitionByName
JobDefinition getJobDefinitionByName(String name)
Get theJobDefinition
by Name. Calling this method is equivalent to calling:getJobDefinitionByName(getPartitionSearchPath(), name, com.redwood.scheduler.api.model.BranchedUniqueNamedApplicationObject.MASTER);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
JobDefinition
that is uniquely identified by the key. - See Also:
getJobDefinitionByName(Partition, String, Long)
-
getJobDefinitionByName
JobDefinition getJobDefinitionByName(Partition partition, String name)
Get theJobDefinition
by Name. Calling this method is equivalent to calling:getJobDefinitionByName(partition, name, com.redwood.scheduler.api.model.BranchedUniqueNamedApplicationObject.MASTER);
- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
JobDefinition
that is uniquely identified by the key. - See Also:
getJobDefinitionByName(Partition, String, Long)
-
getJobDefinitionByBranchedLLPVersion
JobDefinition getJobDefinitionByBranchedLLPVersion(JobDefinition masterJobDefinition, Long branchedLLPVersion)
Get theJobDefinition
by BranchedLLPVersion. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
masterJobDefinition
- the MasterJobDefinition that must be in the key.branchedLLPVersion
- the BranchedLLPVersion that must be in the key.- Returns:
- The
JobDefinition
that is uniquely identified by the key.
-
getJobDefinitionByUniqueId
JobDefinition getJobDefinitionByUniqueId(Long uniqueId)
Get theJobDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinition
that is uniquely identified by the key.
-
getJobDefinitionActionByUniqueId
JobDefinitionAction getJobDefinitionActionByUniqueId(Long uniqueId)
Get theJobDefinitionAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAction
that is uniquely identified by the key.
-
createJobDefinitionAlertSource
JobDefinitionAlertSource createJobDefinitionAlertSource()
Return a new instance of JobDefinitionAlertSource. All defaults will be set as documentedJobDefinitionAlertSource
.- Returns:
- the newly instantiated JobDefinitionAlertSource
-
getJobDefinitionAlertSourceByName
JobDefinitionAlertSource getJobDefinitionAlertSourceByName(Partition partition, String name)
Get theJobDefinitionAlertSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
JobDefinitionAlertSource
that is uniquely identified by the key.
-
getJobDefinitionAlertSourceByName
JobDefinitionAlertSource getJobDefinitionAlertSourceByName(String name)
Get theJobDefinitionAlertSource
by Name. Calling this method is equivalent to calling:getJobDefinitionAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
JobDefinitionAlertSource
that is uniquely identified by the key. - See Also:
getJobDefinitionAlertSourceByName(Partition, String)
-
getJobDefinitionAlertSourceByUniqueId
JobDefinitionAlertSource getJobDefinitionAlertSourceByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSource
that is uniquely identified by the key.
-
getJobDefinitionAlertSourceParameterMatchByUniqueId
JobDefinitionAlertSourceParameterMatch getJobDefinitionAlertSourceParameterMatchByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceParameterMatch
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceParameterMatch
that is uniquely identified by the key.
-
getJobDefinitionAlertSourceRuleByUniqueId
JobDefinitionAlertSourceRule getJobDefinitionAlertSourceRuleByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceRule
that is uniquely identified by the key.
-
getJobDefinitionAlertSourceStatusByUniqueId
JobDefinitionAlertSourceStatus getJobDefinitionAlertSourceStatusByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceStatus
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceStatus
that is uniquely identified by the key.
-
getJobDefinitionConstraintByUniqueId
JobDefinitionConstraint getJobDefinitionConstraintByUniqueId(Long uniqueId)
Get theJobDefinitionConstraint
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionConstraint
that is uniquely identified by the key.
-
getJobDefinitionConstraintParameterMappingByUniqueId
JobDefinitionConstraintParameterMapping getJobDefinitionConstraintParameterMappingByUniqueId(Long uniqueId)
Get theJobDefinitionConstraintParameterMapping
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionConstraintParameterMapping
that is uniquely identified by the key.
-
getJobDefinitionFormByUniqueId
JobDefinitionForm getJobDefinitionFormByUniqueId(Long uniqueId)
Get theJobDefinitionForm
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionForm
that is uniquely identified by the key.
-
getJobDefinitionJobLockByUniqueId
JobDefinitionJobLock getJobDefinitionJobLockByUniqueId(Long uniqueId)
Get theJobDefinitionJobLock
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionJobLock
that is uniquely identified by the key.
-
getJobDefinitionParameterByUniqueId
JobDefinitionParameter getJobDefinitionParameterByUniqueId(Long uniqueId)
Get theJobDefinitionParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionParameter
that is uniquely identified by the key.
-
createJobDefinitionParameterSubType
JobDefinitionParameterSubType createJobDefinitionParameterSubType()
Return a new instance of JobDefinitionParameterSubType. All defaults will be set as documentedJobDefinitionParameterSubType
.- Returns:
- the newly instantiated JobDefinitionParameterSubType
-
getJobDefinitionParameterSubTypeByName
JobDefinitionParameterSubType getJobDefinitionParameterSubTypeByName(String name)
Get theJobDefinitionParameterSubType
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
JobDefinitionParameterSubType
that is uniquely identified by the key.
-
getJobDefinitionParameterSubTypeByUniqueId
JobDefinitionParameterSubType getJobDefinitionParameterSubTypeByUniqueId(Long uniqueId)
Get theJobDefinitionParameterSubType
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionParameterSubType
that is uniquely identified by the key.
-
getJobDefinitionProcessMonitorUpdaterByUniqueId
JobDefinitionProcessMonitorUpdater getJobDefinitionProcessMonitorUpdaterByUniqueId(Long uniqueId)
Get theJobDefinitionProcessMonitorUpdater
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionProcessMonitorUpdater
that is uniquely identified by the key.
-
getJobDefinitionRaiseEventByUniqueId
JobDefinitionRaiseEvent getJobDefinitionRaiseEventByUniqueId(Long uniqueId)
Get theJobDefinitionRaiseEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionRaiseEvent
that is uniquely identified by the key.
-
getJobDefinitionRuntimeLimitByUniqueId
JobDefinitionRuntimeLimit getJobDefinitionRuntimeLimitByUniqueId(Long uniqueId)
Get theJobDefinitionRuntimeLimit
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionRuntimeLimit
that is uniquely identified by the key.
-
createJobDefinitionType
JobDefinitionType createJobDefinitionType()
Return a new instance of JobDefinitionType. All defaults will be set as documentedJobDefinitionType
.- Returns:
- the newly instantiated JobDefinitionType
-
getJobDefinitionTypeByName
JobDefinitionType getJobDefinitionTypeByName(Partition partition, String name)
Get theJobDefinitionType
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
JobDefinitionType
that is uniquely identified by the key.
-
getJobDefinitionTypeByName
JobDefinitionType getJobDefinitionTypeByName(String name)
Get theJobDefinitionType
by Name. Calling this method is equivalent to calling:getJobDefinitionTypeByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
JobDefinitionType
that is uniquely identified by the key. - See Also:
getJobDefinitionTypeByName(Partition, String)
-
getJobDefinitionTypeByUniqueId
JobDefinitionType getJobDefinitionTypeByUniqueId(Long uniqueId)
Get theJobDefinitionType
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionType
that is uniquely identified by the key.
-
getJobDefinitionTypeActionByUniqueId
JobDefinitionTypeAction getJobDefinitionTypeActionByUniqueId(Long uniqueId)
Get theJobDefinitionTypeAction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionTypeAction
that is uniquely identified by the key.
-
getJobDefinitionWaitEventByUniqueId
JobDefinitionWaitEvent getJobDefinitionWaitEventByUniqueId(Long uniqueId)
Get theJobDefinitionWaitEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionWaitEvent
that is uniquely identified by the key.
-
getJobFileByUniqueId
JobFile getJobFileByUniqueId(Long uniqueId)
Get theJobFile
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobFile
that is uniquely identified by the key.
-
getJobFileSearchByUniqueId
JobFileSearch getJobFileSearchByUniqueId(Long uniqueId)
Get theJobFileSearch
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobFileSearch
that is uniquely identified by the key.
-
createJobGroup
JobGroup createJobGroup()
Return a new instance of JobGroup. All defaults will be set as documentedJobGroup
.- Returns:
- the newly instantiated JobGroup
-
getJobGroupByUniqueId
JobGroup getJobGroupByUniqueId(Long uniqueId)
Get theJobGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobGroup
that is uniquely identified by the key.
-
getJobGroupParameterByUniqueId
JobGroupParameter getJobGroupParameterByUniqueId(Long uniqueId)
Get theJobGroupParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobGroupParameter
that is uniquely identified by the key.
-
getJobJobLockByUniqueId
JobJobLock getJobJobLockByUniqueId(Long uniqueId)
Get theJobJobLock
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobJobLock
that is uniquely identified by the key.
-
createJobLock
JobLock createJobLock()
Return a new instance of JobLock. All defaults will be set as documentedJobLock
.- Returns:
- the newly instantiated JobLock
-
getJobLockByName
JobLock getJobLockByName(Partition partition, String name)
Get theJobLock
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
JobLock
that is uniquely identified by the key.
-
getJobLockByName
JobLock getJobLockByName(String name)
Get theJobLock
by Name. Calling this method is equivalent to calling:getJobLockByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
JobLock
that is uniquely identified by the key. - See Also:
getJobLockByName(Partition, String)
-
getJobLockByUniqueId
JobLock getJobLockByUniqueId(Long uniqueId)
Get theJobLock
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobLock
that is uniquely identified by the key.
-
getJobNoteByUniqueId
JobNote getJobNoteByUniqueId(Long uniqueId)
Get theJobNote
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobNote
that is uniquely identified by the key.
-
getJobParameterByUniqueId
JobParameter getJobParameterByUniqueId(Long uniqueId)
Get theJobParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobParameter
that is uniquely identified by the key.
-
getJobRaiseEventByUniqueId
JobRaiseEvent getJobRaiseEventByUniqueId(Long uniqueId)
Get theJobRaiseEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobRaiseEvent
that is uniquely identified by the key.
-
getJobRuntimeLimitByUniqueId
JobRuntimeLimit getJobRuntimeLimitByUniqueId(Long uniqueId)
Get theJobRuntimeLimit
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobRuntimeLimit
that is uniquely identified by the key.
-
getJobWaitEventByUniqueId
JobWaitEvent getJobWaitEventByUniqueId(Long uniqueId)
Get theJobWaitEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
JobWaitEvent
that is uniquely identified by the key.
-
createLanguage
Language createLanguage()
Return a new instance of Language. All defaults will be set as documentedLanguage
.- Returns:
- the newly instantiated Language
-
getLanguageByName
Language getLanguageByName(String name)
Get theLanguage
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Language
that is uniquely identified by the key.
-
getLanguageByTag
Language getLanguageByTag(String tag)
Get theLanguage
by Tag. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
tag
- the Tag that must be in the key.- Returns:
- The
Language
that is uniquely identified by the key.
-
getLanguageByUniqueId
Language getLanguageByUniqueId(Long uniqueId)
Get theLanguage
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Language
that is uniquely identified by the key.
-
createLDAPProfile
LDAPProfile createLDAPProfile()
Return a new instance of LDAPProfile. All defaults will be set as documentedLDAPProfile
.- Returns:
- the newly instantiated LDAPProfile
-
getLDAPProfileByProfileId
LDAPProfile getLDAPProfileByProfileId(String profileName, String connectionURL)
Get theLDAPProfile
by ProfileId. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
profileName
- the ProfileName that must be in the key.connectionURL
- the ConnectionURL that must be in the key.- Returns:
- The
LDAPProfile
that is uniquely identified by the key.
-
getLDAPProfileByProfileName
LDAPProfile getLDAPProfileByProfileName(String profileName)
Get theLDAPProfile
by ProfileName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
profileName
- the ProfileName that must be in the key.- Returns:
- The
LDAPProfile
that is uniquely identified by the key.
-
getLDAPProfileByConnectionURL
LDAPProfile getLDAPProfileByConnectionURL(String connectionURL)
Get theLDAPProfile
by ConnectionURL. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
connectionURL
- the ConnectionURL that must be in the key.- Returns:
- The
LDAPProfile
that is uniquely identified by the key.
-
getLDAPProfileByLDAPServerType
LDAPProfile getLDAPProfileByLDAPServerType(LDAPServerType lDAPServerType)
Get theLDAPProfile
by LDAPServerType. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
lDAPServerType
- the LDAPServerType that must be in the key.- Returns:
- The
LDAPProfile
that is uniquely identified by the key.
-
getLDAPProfileByUniqueId
LDAPProfile getLDAPProfileByUniqueId(Long uniqueId)
Get theLDAPProfile
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
LDAPProfile
that is uniquely identified by the key.
-
createLibrary
Library createLibrary()
Return a new instance of Library. All defaults will be set as documentedLibrary
.- Returns:
- the newly instantiated Library
-
getLibraryByName
Library getLibraryByName(Partition partition, String name)
Get theLibrary
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Library
that is uniquely identified by the key.
-
getLibraryByName
Library getLibraryByName(String name)
Get theLibrary
by Name. Calling this method is equivalent to calling:getLibraryByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Library
that is uniquely identified by the key. - See Also:
getLibraryByName(Partition, String)
-
getLibraryByUniqueId
Library getLibraryByUniqueId(Long uniqueId)
Get theLibrary
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Library
that is uniquely identified by the key.
-
getLibrarySourceByUniqueId
LibrarySource getLibrarySourceByUniqueId(Long uniqueId)
Get theLibrarySource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
LibrarySource
that is uniquely identified by the key.
-
createLicenseKey
LicenseKey createLicenseKey()
Return a new instance of LicenseKey. All defaults will be set as documentedLicenseKey
.- Returns:
- the newly instantiated LicenseKey
-
getLicenseKeyByContractName
LicenseKey getLicenseKeyByContractName(String contractName, String name)
Get theLicenseKey
by ContractName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
contractName
- the ContractName that must be in the key.name
- the Name that must be in the key.- Returns:
- The
LicenseKey
that is uniquely identified by the key.
-
getLicenseKeyByName
LicenseKey getLicenseKeyByName(String name)
Get theLicenseKey
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
LicenseKey
that is uniquely identified by the key.
-
getLicenseKeyByUniqueId
LicenseKey getLicenseKeyByUniqueId(Long uniqueId)
Get theLicenseKey
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
LicenseKey
that is uniquely identified by the key.
-
getMailConnectionSettingByUniqueId
MailConnectionSetting getMailConnectionSettingByUniqueId(Long uniqueId)
Get theMailConnectionSetting
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MailConnectionSetting
that is uniquely identified by the key.
-
createMailConnector
MailConnector createMailConnector()
Return a new instance of MailConnector. All defaults will be set as documentedMailConnector
.- Returns:
- the newly instantiated MailConnector
-
getMailConnectorByName
MailConnector getMailConnectorByName(Partition partition, String name)
Get theMailConnector
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
MailConnector
that is uniquely identified by the key.
-
getMailConnectorByName
MailConnector getMailConnectorByName(String name)
Get theMailConnector
by Name. Calling this method is equivalent to calling:getMailConnectorByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
MailConnector
that is uniquely identified by the key. - See Also:
getMailConnectorByName(Partition, String)
-
getMailConnectorByUniqueId
MailConnector getMailConnectorByUniqueId(Long uniqueId)
Get theMailConnector
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MailConnector
that is uniquely identified by the key.
-
createModuleState
ModuleState createModuleState()
Return a new instance of ModuleState. All defaults will be set as documentedModuleState
.- Returns:
- the newly instantiated ModuleState
-
getModuleStateByName
ModuleState getModuleStateByName(String name)
Get theModuleState
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ModuleState
that is uniquely identified by the key.
-
getModuleStateByUniqueId
ModuleState getModuleStateByUniqueId(Long uniqueId)
Get theModuleState
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ModuleState
that is uniquely identified by the key.
-
createMonitorAlertSource
MonitorAlertSource createMonitorAlertSource()
Return a new instance of MonitorAlertSource. All defaults will be set as documentedMonitorAlertSource
.- Returns:
- the newly instantiated MonitorAlertSource
-
getMonitorAlertSourceByName
MonitorAlertSource getMonitorAlertSourceByName(Partition partition, String name)
Get theMonitorAlertSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
MonitorAlertSource
that is uniquely identified by the key.
-
getMonitorAlertSourceByName
MonitorAlertSource getMonitorAlertSourceByName(String name)
Get theMonitorAlertSource
by Name. Calling this method is equivalent to calling:getMonitorAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
MonitorAlertSource
that is uniquely identified by the key. - See Also:
getMonitorAlertSourceByName(Partition, String)
-
getMonitorAlertSourceByUniqueId
MonitorAlertSource getMonitorAlertSourceByUniqueId(Long uniqueId)
Get theMonitorAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorAlertSource
that is uniquely identified by the key.
-
getMonitorAlertSourceRuleByUniqueId
MonitorAlertSourceRule getMonitorAlertSourceRuleByUniqueId(Long uniqueId)
Get theMonitorAlertSourceRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorAlertSourceRule
that is uniquely identified by the key.
-
createMonitorCheck
MonitorCheck createMonitorCheck()
Return a new instance of MonitorCheck. All defaults will be set as documentedMonitorCheck
.- Returns:
- the newly instantiated MonitorCheck
-
getMonitorCheckByRemoteIdentifiers
MonitorCheck getMonitorCheckByRemoteIdentifiers(String remoteSystem, String remoteId)
Get theMonitorCheck
by RemoteIdentifiers. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
remoteSystem
- the RemoteSystem that must be in the key.remoteId
- the RemoteId that must be in the key.- Returns:
- The
MonitorCheck
that is uniquely identified by the key.
-
getMonitorCheckByParentName
MonitorCheck getMonitorCheckByParentName(MonitorNode parentMonitorNode, String name)
Get theMonitorCheck
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
parentMonitorNode
- the ParentMonitorNode that must be in the key.name
- the Name that must be in the key.- Returns:
- The
MonitorCheck
that is uniquely identified by the key.
-
getMonitorCheckByUniqueId
MonitorCheck getMonitorCheckByUniqueId(Long uniqueId)
Get theMonitorCheck
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorCheck
that is uniquely identified by the key.
-
getMonitorConditionByUniqueId
MonitorCondition getMonitorConditionByUniqueId(Long uniqueId)
Get theMonitorCondition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorCondition
that is uniquely identified by the key.
-
getMonitorEventByUniqueId
MonitorEvent getMonitorEventByUniqueId(Long uniqueId)
Get theMonitorEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorEvent
that is uniquely identified by the key.
-
createMonitorLink
MonitorLink createMonitorLink()
Return a new instance of MonitorLink. All defaults will be set as documentedMonitorLink
.- Returns:
- the newly instantiated MonitorLink
-
getMonitorLinkByParentName
MonitorLink getMonitorLinkByParentName(MonitorNode parentMonitorNode, String name)
Get theMonitorLink
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
parentMonitorNode
- the ParentMonitorNode that must be in the key.name
- the Name that must be in the key.- Returns:
- The
MonitorLink
that is uniquely identified by the key.
-
getMonitorLinkByUniqueId
MonitorLink getMonitorLinkByUniqueId(Long uniqueId)
Get theMonitorLink
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorLink
that is uniquely identified by the key.
-
createMonitorNode
MonitorNode createMonitorNode()
Return a new instance of MonitorNode. All defaults will be set as documentedMonitorNode
.- Returns:
- the newly instantiated MonitorNode
-
getMonitorNodeByRemoteIdentifiers
MonitorNode getMonitorNodeByRemoteIdentifiers(String remoteSystem, String remoteId)
Get theMonitorNode
by RemoteIdentifiers. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
remoteSystem
- the RemoteSystem that must be in the key.remoteId
- the RemoteId that must be in the key.- Returns:
- The
MonitorNode
that is uniquely identified by the key.
-
getMonitorNodeByParentName
MonitorNode getMonitorNodeByParentName(MonitorNode parentMonitorNode, String name)
Get theMonitorNode
by ParentName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
parentMonitorNode
- the ParentMonitorNode that must be in the key.name
- the Name that must be in the key.- Returns:
- The
MonitorNode
that is uniquely identified by the key.
-
getMonitorNodeByUniqueId
MonitorNode getMonitorNodeByUniqueId(Long uniqueId)
Get theMonitorNode
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorNode
that is uniquely identified by the key.
-
getMonitorValueByUniqueId
MonitorValue getMonitorValueByUniqueId(Long uniqueId)
Get theMonitorValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
MonitorValue
that is uniquely identified by the key.
-
createNavigationBar
NavigationBar createNavigationBar()
Return a new instance of NavigationBar. All defaults will be set as documentedNavigationBar
.- Returns:
- the newly instantiated NavigationBar
-
getNavigationBarByOwnerSubjectName
NavigationBar getNavigationBarByOwnerSubjectName(Partition partition, Subject ownerSubject, String name)
Get theNavigationBar
by OwnerSubjectName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.ownerSubject
- the OwnerSubject that must be in the key.name
- the Name that must be in the key.- Returns:
- The
NavigationBar
that is uniquely identified by the key.
-
getNavigationBarByOwnerSubjectName
NavigationBar getNavigationBarByOwnerSubjectName(Subject ownerSubject, String name)
Get theNavigationBar
by OwnerSubjectName. Calling this method is equivalent to calling:getNavigationBarByOwnerSubjectName(getPartitionSearchPath(), ownerSubject, name);
- Parameters:
ownerSubject
- the OwnerSubject that must be in the key.name
- the Name that must be in the key.- Returns:
- The
NavigationBar
that is uniquely identified by the key. - See Also:
getNavigationBarByOwnerSubjectName(Partition, Subject, String)
-
getNavigationBarByName
NavigationBar getNavigationBarByName(Partition partition, String name)
Get theNavigationBar
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
NavigationBar
that is uniquely identified by the key.
-
getNavigationBarByName
NavigationBar getNavigationBarByName(String name)
Get theNavigationBar
by Name. Calling this method is equivalent to calling:getNavigationBarByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
NavigationBar
that is uniquely identified by the key. - See Also:
getNavigationBarByName(Partition, String)
-
getNavigationBarByUniqueId
NavigationBar getNavigationBarByUniqueId(Long uniqueId)
Get theNavigationBar
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
NavigationBar
that is uniquely identified by the key.
-
getNavigationBarItemByUniqueId
NavigationBarItem getNavigationBarItemByUniqueId(Long uniqueId)
Get theNavigationBarItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
NavigationBarItem
that is uniquely identified by the key.
-
createObjectDefinition
ObjectDefinition createObjectDefinition()
Return a new instance of ObjectDefinition. All defaults will be set as documentedObjectDefinition
.- Returns:
- the newly instantiated ObjectDefinition
-
getObjectDefinitionByObjectName
ObjectDefinition getObjectDefinitionByObjectName(String objectName)
Get theObjectDefinition
by ObjectName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
objectName
- the ObjectName that must be in the key.- Returns:
- The
ObjectDefinition
that is uniquely identified by the key.
-
getObjectDefinitionByUniqueId
ObjectDefinition getObjectDefinitionByUniqueId(Long uniqueId)
Get theObjectDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectDefinition
that is uniquely identified by the key.
-
getObjectFieldDefinitionByUniqueId
ObjectFieldDefinition getObjectFieldDefinitionByUniqueId(Long uniqueId)
Get theObjectFieldDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectFieldDefinition
that is uniquely identified by the key.
-
getObjectIndexByName
ObjectIndex getObjectIndexByName(String name)
Get theObjectIndex
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ObjectIndex
that is uniquely identified by the key.
-
getObjectIndexByUniqueId
ObjectIndex getObjectIndexByUniqueId(Long uniqueId)
Get theObjectIndex
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectIndex
that is uniquely identified by the key.
-
getObjectIndexColumnByUniqueId
ObjectIndexColumn getObjectIndexColumnByUniqueId(Long uniqueId)
Get theObjectIndexColumn
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectIndexColumn
that is uniquely identified by the key.
-
getObjectReferenceByUniqueId
ObjectReference getObjectReferenceByUniqueId(Long uniqueId)
Get theObjectReference
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectReference
that is uniquely identified by the key.
-
createObjectSearch
ObjectSearch createObjectSearch()
Return a new instance of ObjectSearch. All defaults will be set as documentedObjectSearch
.- Returns:
- the newly instantiated ObjectSearch
-
getObjectSearchByJobDefinition
ObjectSearch getObjectSearchByJobDefinition(JobDefinition jobDefinition)
Get theObjectSearch
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
ObjectSearch
that is uniquely identified by the key.
-
getObjectSearchByUniqueId
ObjectSearch getObjectSearchByUniqueId(Long uniqueId)
Get theObjectSearch
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectSearch
that is uniquely identified by the key.
-
getObjectSearchConditionByUniqueId
ObjectSearchCondition getObjectSearchConditionByUniqueId(Long uniqueId)
Get theObjectSearchCondition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectSearchCondition
that is uniquely identified by the key.
-
getObjectTagByUniqueId
ObjectTag getObjectTagByUniqueId(Long uniqueId)
Get theObjectTag
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectTag
that is uniquely identified by the key.
-
createObjectTagDefinition
ObjectTagDefinition createObjectTagDefinition()
Return a new instance of ObjectTagDefinition. All defaults will be set as documentedObjectTagDefinition
.- Returns:
- the newly instantiated ObjectTagDefinition
-
getObjectTagDefinitionByName
ObjectTagDefinition getObjectTagDefinitionByName(Partition partition, String name)
Get theObjectTagDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ObjectTagDefinition
that is uniquely identified by the key.
-
getObjectTagDefinitionByName
ObjectTagDefinition getObjectTagDefinitionByName(String name)
Get theObjectTagDefinition
by Name. Calling this method is equivalent to calling:getObjectTagDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ObjectTagDefinition
that is uniquely identified by the key. - See Also:
getObjectTagDefinitionByName(Partition, String)
-
getObjectTagDefinitionByUniqueId
ObjectTagDefinition getObjectTagDefinitionByUniqueId(Long uniqueId)
Get theObjectTagDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ObjectTagDefinition
that is uniquely identified by the key.
-
createOperatorMessage
OperatorMessage createOperatorMessage()
Return a new instance of OperatorMessage. All defaults will be set as documentedOperatorMessage
.- Returns:
- the newly instantiated OperatorMessage
-
getOperatorMessageByUniqueId
OperatorMessage getOperatorMessageByUniqueId(Long uniqueId)
Get theOperatorMessage
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OperatorMessage
that is uniquely identified by the key.
-
getOperatorMessageDatumByUniqueId
OperatorMessageDatum getOperatorMessageDatumByUniqueId(Long uniqueId)
Get theOperatorMessageDatum
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OperatorMessageDatum
that is uniquely identified by the key.
-
getOraAppsJobControlRuleByUniqueId
OraAppsJobControlRule getOraAppsJobControlRuleByUniqueId(Long uniqueId)
Get theOraAppsJobControlRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OraAppsJobControlRule
that is uniquely identified by the key.
-
createOraAppsSystem
OraAppsSystem createOraAppsSystem()
Return a new instance of OraAppsSystem. All defaults will be set as documentedOraAppsSystem
.- Returns:
- the newly instantiated OraAppsSystem
-
getOraAppsSystemByProcessServer
OraAppsSystem getOraAppsSystemByProcessServer(ProcessServer processServer)
Get theOraAppsSystem
by ProcessServer. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
processServer
- the ProcessServer that must be in the key.- Returns:
- The
OraAppsSystem
that is uniquely identified by the key.
-
getOraAppsSystemByQueue
OraAppsSystem getOraAppsSystemByQueue(Queue queue)
Get theOraAppsSystem
by Queue. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
queue
- the Queue that must be in the key.- Returns:
- The
OraAppsSystem
that is uniquely identified by the key.
-
getOraAppsSystemByName
OraAppsSystem getOraAppsSystemByName(Partition partition, String name)
Get theOraAppsSystem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
OraAppsSystem
that is uniquely identified by the key.
-
getOraAppsSystemByName
OraAppsSystem getOraAppsSystemByName(String name)
Get theOraAppsSystem
by Name. Calling this method is equivalent to calling:getOraAppsSystemByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
OraAppsSystem
that is uniquely identified by the key. - See Also:
getOraAppsSystemByName(Partition, String)
-
getOraAppsSystemByUniqueId
OraAppsSystem getOraAppsSystemByUniqueId(Long uniqueId)
Get theOraAppsSystem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OraAppsSystem
that is uniquely identified by the key.
-
createOracleConnection
OracleConnection createOracleConnection()
Return a new instance of OracleConnection. All defaults will be set as documentedOracleConnection
.- Returns:
- the newly instantiated OracleConnection
-
getOracleConnectionByUniqueId
OracleConnection getOracleConnectionByUniqueId(Long uniqueId)
Get theOracleConnection
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OracleConnection
that is uniquely identified by the key.
-
createOraOhiSystem
OraOhiSystem createOraOhiSystem()
Return a new instance of OraOhiSystem. All defaults will be set as documentedOraOhiSystem
.- Returns:
- the newly instantiated OraOhiSystem
-
getOraOhiSystemByProcessServer
OraOhiSystem getOraOhiSystemByProcessServer(ProcessServer processServer)
Get theOraOhiSystem
by ProcessServer. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
processServer
- the ProcessServer that must be in the key.- Returns:
- The
OraOhiSystem
that is uniquely identified by the key.
-
getOraOhiSystemByQueue
OraOhiSystem getOraOhiSystemByQueue(Queue queue)
Get theOraOhiSystem
by Queue. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
queue
- the Queue that must be in the key.- Returns:
- The
OraOhiSystem
that is uniquely identified by the key.
-
getOraOhiSystemByName
OraOhiSystem getOraOhiSystemByName(Partition partition, String name)
Get theOraOhiSystem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
OraOhiSystem
that is uniquely identified by the key.
-
getOraOhiSystemByName
OraOhiSystem getOraOhiSystemByName(String name)
Get theOraOhiSystem
by Name. Calling this method is equivalent to calling:getOraOhiSystemByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
OraOhiSystem
that is uniquely identified by the key. - See Also:
getOraOhiSystemByName(Partition, String)
-
getOraOhiSystemByUniqueId
OraOhiSystem getOraOhiSystemByUniqueId(Long uniqueId)
Get theOraOhiSystem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
OraOhiSystem
that is uniquely identified by the key.
-
createPartition
Partition createPartition()
Return a new instance of Partition. All defaults will be set as documentedPartition
.- Returns:
- the newly instantiated Partition
-
getPartitionByName
Partition getPartitionByName(String name)
Get thePartition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Partition
that is uniquely identified by the key.
-
getPartitionByUniqueId
Partition getPartitionByUniqueId(Long uniqueId)
Get thePartition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Partition
that is uniquely identified by the key.
-
getPeopleSoftJobControlRuleByUniqueId
PeopleSoftJobControlRule getPeopleSoftJobControlRuleByUniqueId(Long uniqueId)
Get thePeopleSoftJobControlRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftJobControlRule
that is uniquely identified by the key.
-
getPeopleSoftJobOutputLocationByUniqueId
PeopleSoftJobOutputLocation getPeopleSoftJobOutputLocationByUniqueId(Long uniqueId)
Get thePeopleSoftJobOutputLocation
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftJobOutputLocation
that is uniquely identified by the key.
-
createPeopleSoftSystem
PeopleSoftSystem createPeopleSoftSystem()
Return a new instance of PeopleSoftSystem. All defaults will be set as documentedPeopleSoftSystem
.- Returns:
- the newly instantiated PeopleSoftSystem
-
getPeopleSoftSystemByProcessServer
PeopleSoftSystem getPeopleSoftSystemByProcessServer(ProcessServer processServer)
Get thePeopleSoftSystem
by ProcessServer. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
processServer
- the ProcessServer that must be in the key.- Returns:
- The
PeopleSoftSystem
that is uniquely identified by the key.
-
getPeopleSoftSystemByQueue
PeopleSoftSystem getPeopleSoftSystemByQueue(Queue queue)
Get thePeopleSoftSystem
by Queue. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
queue
- the Queue that must be in the key.- Returns:
- The
PeopleSoftSystem
that is uniquely identified by the key.
-
getPeopleSoftSystemByName
PeopleSoftSystem getPeopleSoftSystemByName(Partition partition, String name)
Get thePeopleSoftSystem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
PeopleSoftSystem
that is uniquely identified by the key.
-
getPeopleSoftSystemByName
PeopleSoftSystem getPeopleSoftSystemByName(String name)
Get thePeopleSoftSystem
by Name. Calling this method is equivalent to calling:getPeopleSoftSystemByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
PeopleSoftSystem
that is uniquely identified by the key. - See Also:
getPeopleSoftSystemByName(Partition, String)
-
getPeopleSoftSystemByUniqueId
PeopleSoftSystem getPeopleSoftSystemByUniqueId(Long uniqueId)
Get thePeopleSoftSystem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftSystem
that is uniquely identified by the key.
-
createPeriodFunction
PeriodFunction createPeriodFunction()
Return a new instance of PeriodFunction. All defaults will be set as documentedPeriodFunction
.- Returns:
- the newly instantiated PeriodFunction
-
getPeriodFunctionByName
PeriodFunction getPeriodFunctionByName(Partition partition, String name)
Get thePeriodFunction
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
PeriodFunction
that is uniquely identified by the key.
-
getPeriodFunctionByName
PeriodFunction getPeriodFunctionByName(String name)
Get thePeriodFunction
by Name. Calling this method is equivalent to calling:getPeriodFunctionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
PeriodFunction
that is uniquely identified by the key. - See Also:
getPeriodFunctionByName(Partition, String)
-
getPeriodFunctionByUniqueId
PeriodFunction getPeriodFunctionByUniqueId(Long uniqueId)
Get thePeriodFunction
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PeriodFunction
that is uniquely identified by the key.
-
createProcessMonitor
ProcessMonitor createProcessMonitor()
Return a new instance of ProcessMonitor. All defaults will be set as documentedProcessMonitor
.- Returns:
- the newly instantiated ProcessMonitor
-
getProcessMonitorByProcessMonitorInstance
ProcessMonitor getProcessMonitorByProcessMonitorInstance(Partition partition, String name, String instance)
Get theProcessMonitor
by ProcessMonitorInstance. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.instance
- the Instance that must be in the key.- Returns:
- The
ProcessMonitor
that is uniquely identified by the key.
-
getProcessMonitorByUniqueId
ProcessMonitor getProcessMonitorByUniqueId(Long uniqueId)
Get theProcessMonitor
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitor
that is uniquely identified by the key.
-
createProcessMonitorDefinition
ProcessMonitorDefinition createProcessMonitorDefinition()
Return a new instance of ProcessMonitorDefinition. All defaults will be set as documentedProcessMonitorDefinition
.- Returns:
- the newly instantiated ProcessMonitorDefinition
-
getProcessMonitorDefinitionByName
ProcessMonitorDefinition getProcessMonitorDefinitionByName(Partition partition, String name)
Get theProcessMonitorDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ProcessMonitorDefinition
that is uniquely identified by the key.
-
getProcessMonitorDefinitionByName
ProcessMonitorDefinition getProcessMonitorDefinitionByName(String name)
Get theProcessMonitorDefinition
by Name. Calling this method is equivalent to calling:getProcessMonitorDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ProcessMonitorDefinition
that is uniquely identified by the key. - See Also:
getProcessMonitorDefinitionByName(Partition, String)
-
getProcessMonitorDefinitionByUniqueId
ProcessMonitorDefinition getProcessMonitorDefinitionByUniqueId(Long uniqueId)
Get theProcessMonitorDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorDefinition
that is uniquely identified by the key.
-
getProcessMonitorItemByUniqueId
ProcessMonitorItem getProcessMonitorItemByUniqueId(Long uniqueId)
Get theProcessMonitorItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorItem
that is uniquely identified by the key.
-
getProcessMonitorItemDefinitionByUniqueId
ProcessMonitorItemDefinition getProcessMonitorItemDefinitionByUniqueId(Long uniqueId)
Get theProcessMonitorItemDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorItemDefinition
that is uniquely identified by the key.
-
createProcessMonitorLog
ProcessMonitorLog createProcessMonitorLog()
Return a new instance of ProcessMonitorLog. All defaults will be set as documentedProcessMonitorLog
.- Returns:
- the newly instantiated ProcessMonitorLog
-
getProcessMonitorLogByUniqueId
ProcessMonitorLog getProcessMonitorLogByUniqueId(Long uniqueId)
Get theProcessMonitorLog
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorLog
that is uniquely identified by the key.
-
createProcessServer
ProcessServer createProcessServer()
Return a new instance of ProcessServer. All defaults will be set as documentedProcessServer
.- Returns:
- the newly instantiated ProcessServer
-
getProcessServerByName
ProcessServer getProcessServerByName(Partition partition, String name)
Get theProcessServer
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ProcessServer
that is uniquely identified by the key.
-
getProcessServerByName
ProcessServer getProcessServerByName(String name)
Get theProcessServer
by Name. Calling this method is equivalent to calling:getProcessServerByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ProcessServer
that is uniquely identified by the key. - See Also:
getProcessServerByName(Partition, String)
-
getProcessServerByUniqueId
ProcessServer getProcessServerByUniqueId(Long uniqueId)
Get theProcessServer
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServer
that is uniquely identified by the key.
-
createProcessServerAlertSource
ProcessServerAlertSource createProcessServerAlertSource()
Return a new instance of ProcessServerAlertSource. All defaults will be set as documentedProcessServerAlertSource
.- Returns:
- the newly instantiated ProcessServerAlertSource
-
getProcessServerAlertSourceByName
ProcessServerAlertSource getProcessServerAlertSourceByName(Partition partition, String name)
Get theProcessServerAlertSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
ProcessServerAlertSource
that is uniquely identified by the key.
-
getProcessServerAlertSourceByName
ProcessServerAlertSource getProcessServerAlertSourceByName(String name)
Get theProcessServerAlertSource
by Name. Calling this method is equivalent to calling:getProcessServerAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
ProcessServerAlertSource
that is uniquely identified by the key. - See Also:
getProcessServerAlertSourceByName(Partition, String)
-
getProcessServerAlertSourceByUniqueId
ProcessServerAlertSource getProcessServerAlertSourceByUniqueId(Long uniqueId)
Get theProcessServerAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerAlertSource
that is uniquely identified by the key.
-
getProcessServerAlertSourceStatusByUniqueId
ProcessServerAlertSourceStatus getProcessServerAlertSourceStatusByUniqueId(Long uniqueId)
Get theProcessServerAlertSourceStatus
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerAlertSourceStatus
that is uniquely identified by the key.
-
getProcessServerCheckByUniqueId
ProcessServerCheck getProcessServerCheckByUniqueId(Long uniqueId)
Get theProcessServerCheck
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheck
that is uniquely identified by the key.
-
getProcessServerCheckLogByUniqueId
ProcessServerCheckLog getProcessServerCheckLogByUniqueId(Long uniqueId)
Get theProcessServerCheckLog
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheckLog
that is uniquely identified by the key.
-
getProcessServerCheckLogParameterByUniqueId
ProcessServerCheckLogParameter getProcessServerCheckLogParameterByUniqueId(Long uniqueId)
Get theProcessServerCheckLogParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheckLogParameter
that is uniquely identified by the key.
-
getProcessServerJobDefinitionTypeByUniqueId
ProcessServerJobDefinitionType getProcessServerJobDefinitionTypeByUniqueId(Long uniqueId)
Get theProcessServerJobDefinitionType
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerJobDefinitionType
that is uniquely identified by the key.
-
getProcessServerLoadFactorByUniqueId
ProcessServerLoadFactor getProcessServerLoadFactorByUniqueId(Long uniqueId)
Get theProcessServerLoadFactor
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerLoadFactor
that is uniquely identified by the key.
-
getProcessServerParameterByUniqueId
ProcessServerParameter getProcessServerParameterByUniqueId(Long uniqueId)
Get theProcessServerParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerParameter
that is uniquely identified by the key.
-
getProcessServerResourceByUniqueId
ProcessServerResource getProcessServerResourceByUniqueId(Long uniqueId)
Get theProcessServerResource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerResource
that is uniquely identified by the key.
-
getProcessServerServiceByUniqueId
ProcessServerService getProcessServerServiceByUniqueId(Long uniqueId)
Get theProcessServerService
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerService
that is uniquely identified by the key.
-
getProcessServerStatusLogByUniqueId
ProcessServerStatusLog getProcessServerStatusLogByUniqueId(Long uniqueId)
Get theProcessServerStatusLog
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ProcessServerStatusLog
that is uniquely identified by the key.
-
createPublishApproval
PublishApproval createPublishApproval()
Return a new instance of PublishApproval. All defaults will be set as documentedPublishApproval
.- Returns:
- the newly instantiated PublishApproval
-
getPublishApprovalByUniqueId
PublishApproval getPublishApprovalByUniqueId(Long uniqueId)
Get thePublishApproval
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PublishApproval
that is uniquely identified by the key.
-
getPublishedWebServiceByWSName
PublishedWebService getPublishedWebServiceByWSName(String name, Long branchedLLPVersion)
Get thePublishedWebService
by WSName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.branchedLLPVersion
- the BranchedLLPVersion that must be in the key.- Returns:
- The
PublishedWebService
that is uniquely identified by the key.
-
getPublishedWebServiceByWSName
PublishedWebService getPublishedWebServiceByWSName(String name)
Get thePublishedWebService
by WSName. Calling this method is equivalent to calling:getPublishedWebServiceByWSName(name, com.redwood.scheduler.api.model.BranchedUniqueNamedApplicationObject.MASTER);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
PublishedWebService
that is uniquely identified by the key. - See Also:
getPublishedWebServiceByWSName(String, Long)
-
getPublishedWebServiceByWSUnique
PublishedWebService getPublishedWebServiceByWSUnique(Long isolationGroup, String name, Long branchedLLPVersion)
Get thePublishedWebService
by WSUnique. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
isolationGroup
- the IsolationGroup that must be in the key.name
- the Name that must be in the key.branchedLLPVersion
- the BranchedLLPVersion that must be in the key.- Returns:
- The
PublishedWebService
that is uniquely identified by the key.
-
getPublishedWebServiceByWSUnique
PublishedWebService getPublishedWebServiceByWSUnique(Long isolationGroup, String name)
Get thePublishedWebService
by WSUnique. Calling this method is equivalent to calling:getPublishedWebServiceByWSUnique(isolationGroup, name, com.redwood.scheduler.api.model.BranchedUniqueNamedApplicationObject.MASTER);
- Parameters:
isolationGroup
- the IsolationGroup that must be in the key.name
- the Name that must be in the key.- Returns:
- The
PublishedWebService
that is uniquely identified by the key. - See Also:
getPublishedWebServiceByWSUnique(Long, String, Long)
-
getPublishedWebServiceByUniqueId
PublishedWebService getPublishedWebServiceByUniqueId(Long uniqueId)
Get thePublishedWebService
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PublishedWebService
that is uniquely identified by the key.
-
createPublishItem
PublishItem createPublishItem()
Return a new instance of PublishItem. All defaults will be set as documentedPublishItem
.- Returns:
- the newly instantiated PublishItem
-
getPublishItemByJobDefinition
PublishItem getPublishItemByJobDefinition(JobDefinition jobDefinition)
Get thePublishItem
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
PublishItem
that is uniquely identified by the key.
-
getPublishItemByUniqueId
PublishItem getPublishItemByUniqueId(Long uniqueId)
Get thePublishItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
PublishItem
that is uniquely identified by the key.
-
createQueryCondition
QueryCondition createQueryCondition()
Return a new instance of QueryCondition. All defaults will be set as documentedQueryCondition
.- Returns:
- the newly instantiated QueryCondition
-
getQueryConditionByQueryCondition
QueryCondition getQueryConditionByQueryCondition(ObjectDefinition objectDefinition, String name)
Get theQueryCondition
by QueryCondition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
objectDefinition
- the ObjectDefinition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
QueryCondition
that is uniquely identified by the key.
-
getQueryConditionByUniqueId
QueryCondition getQueryConditionByUniqueId(Long uniqueId)
Get theQueryCondition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueryCondition
that is uniquely identified by the key.
-
getQueryConditionValueByUniqueId
QueryConditionValue getQueryConditionValueByUniqueId(Long uniqueId)
Get theQueryConditionValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueryConditionValue
that is uniquely identified by the key.
-
createQueryFilter
QueryFilter createQueryFilter()
Return a new instance of QueryFilter. All defaults will be set as documentedQueryFilter
.- Returns:
- the newly instantiated QueryFilter
-
getQueryFilterByObjectDefinitionUserName
QueryFilter getQueryFilterByObjectDefinitionUserName(Subject ownerSubject, ObjectDefinition objectDefinition, String name)
Get theQueryFilter
by ObjectDefinitionUserName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
ownerSubject
- the OwnerSubject that must be in the key.objectDefinition
- the ObjectDefinition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
QueryFilter
that is uniquely identified by the key.
-
getQueryFilterByUniqueId
QueryFilter getQueryFilterByUniqueId(Long uniqueId)
Get theQueryFilter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueryFilter
that is uniquely identified by the key.
-
createQueue
Queue createQueue()
Return a new instance of Queue. All defaults will be set as documentedQueue
.- Returns:
- the newly instantiated Queue
-
getQueueByName
Queue getQueueByName(Partition partition, String name)
Get theQueue
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Queue
that is uniquely identified by the key.
-
getQueueByName
Queue getQueueByName(String name)
Get theQueue
by Name. Calling this method is equivalent to calling:getQueueByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Queue
that is uniquely identified by the key. - See Also:
getQueueByName(Partition, String)
-
getQueueByUniqueId
Queue getQueueByUniqueId(Long uniqueId)
Get theQueue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Queue
that is uniquely identified by the key.
-
createQueueAlertSource
QueueAlertSource createQueueAlertSource()
Return a new instance of QueueAlertSource. All defaults will be set as documentedQueueAlertSource
.- Returns:
- the newly instantiated QueueAlertSource
-
getQueueAlertSourceByName
QueueAlertSource getQueueAlertSourceByName(Partition partition, String name)
Get theQueueAlertSource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
QueueAlertSource
that is uniquely identified by the key.
-
getQueueAlertSourceByName
QueueAlertSource getQueueAlertSourceByName(String name)
Get theQueueAlertSource
by Name. Calling this method is equivalent to calling:getQueueAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
QueueAlertSource
that is uniquely identified by the key. - See Also:
getQueueAlertSourceByName(Partition, String)
-
getQueueAlertSourceByUniqueId
QueueAlertSource getQueueAlertSourceByUniqueId(Long uniqueId)
Get theQueueAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueueAlertSource
that is uniquely identified by the key.
-
getQueueAlertSourceStatusByUniqueId
QueueAlertSourceStatus getQueueAlertSourceStatusByUniqueId(Long uniqueId)
Get theQueueAlertSourceStatus
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueueAlertSourceStatus
that is uniquely identified by the key.
-
getQueueProviderByUniqueId
QueueProvider getQueueProviderByUniqueId(Long uniqueId)
Get theQueueProvider
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
QueueProvider
that is uniquely identified by the key.
-
createR2WCatalog
R2WCatalog createR2WCatalog()
Return a new instance of R2WCatalog. All defaults will be set as documentedR2WCatalog
.- Returns:
- the newly instantiated R2WCatalog
-
getR2WCatalogByProcessServer
R2WCatalog getR2WCatalogByProcessServer(ProcessServer processServer)
Get theR2WCatalog
by ProcessServer. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
processServer
- the ProcessServer that must be in the key.- Returns:
- The
R2WCatalog
that is uniquely identified by the key.
-
getR2WCatalogByName
R2WCatalog getR2WCatalogByName(Partition partition, String name)
Get theR2WCatalog
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
R2WCatalog
that is uniquely identified by the key.
-
getR2WCatalogByName
R2WCatalog getR2WCatalogByName(String name)
Get theR2WCatalog
by Name. Calling this method is equivalent to calling:getR2WCatalogByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
R2WCatalog
that is uniquely identified by the key. - See Also:
getR2WCatalogByName(Partition, String)
-
getR2WCatalogByUniqueId
R2WCatalog getR2WCatalogByUniqueId(Long uniqueId)
Get theR2WCatalog
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
R2WCatalog
that is uniquely identified by the key.
-
getR2WCatalogAliasByUniqueR2WCatalog
R2WCatalogAlias getR2WCatalogAliasByUniqueR2WCatalog(String name)
Get theR2WCatalogAlias
by UniqueR2WCatalog. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
R2WCatalogAlias
that is uniquely identified by the key.
-
getR2WCatalogAliasByUniqueId
R2WCatalogAlias getR2WCatalogAliasByUniqueId(Long uniqueId)
Get theR2WCatalogAlias
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
R2WCatalogAlias
that is uniquely identified by the key.
-
createRegistryEntry
RegistryEntry createRegistryEntry()
Return a new instance of RegistryEntry. All defaults will be set as documentedRegistryEntry
.- Returns:
- the newly instantiated RegistryEntry
-
getRegistryEntryByNameParent
RegistryEntry getRegistryEntryByNameParent(String name, RegistryEntry parentRegistryEntry)
Get theRegistryEntry
by NameParent. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.parentRegistryEntry
- the ParentRegistryEntry that must be in the key.- Returns:
- The
RegistryEntry
that is uniquely identified by the key.
-
getRegistryEntryByUniqueId
RegistryEntry getRegistryEntryByUniqueId(Long uniqueId)
Get theRegistryEntry
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
RegistryEntry
that is uniquely identified by the key.
-
getRELEntryPointByUniqueId
RELEntryPoint getRELEntryPointByUniqueId(Long uniqueId)
Get theRELEntryPoint
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
RELEntryPoint
that is uniquely identified by the key.
-
createRemoteSystem
RemoteSystem createRemoteSystem()
Return a new instance of RemoteSystem. All defaults will be set as documentedRemoteSystem
.- Returns:
- the newly instantiated RemoteSystem
-
getRemoteSystemByName
RemoteSystem getRemoteSystemByName(Partition partition, String name)
Get theRemoteSystem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
RemoteSystem
that is uniquely identified by the key.
-
getRemoteSystemByName
RemoteSystem getRemoteSystemByName(String name)
Get theRemoteSystem
by Name. Calling this method is equivalent to calling:getRemoteSystemByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
RemoteSystem
that is uniquely identified by the key. - See Also:
getRemoteSystemByName(Partition, String)
-
getRemoteSystemByUniqueId
RemoteSystem getRemoteSystemByUniqueId(Long uniqueId)
Get theRemoteSystem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
RemoteSystem
that is uniquely identified by the key.
-
createReport
Report createReport()
Return a new instance of Report. All defaults will be set as documentedReport
.- Returns:
- the newly instantiated Report
-
getReportByJobDefinition
Report getReportByJobDefinition(JobDefinition jobDefinition)
Get theReport
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
Report
that is uniquely identified by the key.
-
getReportByUniqueId
Report getReportByUniqueId(Long uniqueId)
Get theReport
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Report
that is uniquely identified by the key.
-
getReportColumnByUniqueId
ReportColumn getReportColumnByUniqueId(Long uniqueId)
Get theReportColumn
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ReportColumn
that is uniquely identified by the key.
-
getReportSelectionByUniqueId
ReportSelection getReportSelectionByUniqueId(Long uniqueId)
Get theReportSelection
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ReportSelection
that is uniquely identified by the key.
-
getReportSortByUniqueId
ReportSort getReportSortByUniqueId(Long uniqueId)
Get theReportSort
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
ReportSort
that is uniquely identified by the key.
-
createResource
Resource createResource()
Return a new instance of Resource. All defaults will be set as documentedResource
.- Returns:
- the newly instantiated Resource
-
getResourceByName
Resource getResourceByName(Partition partition, String name)
Get theResource
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Resource
that is uniquely identified by the key.
-
getResourceByName
Resource getResourceByName(String name)
Get theResource
by Name. Calling this method is equivalent to calling:getResourceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Resource
that is uniquely identified by the key. - See Also:
getResourceByName(Partition, String)
-
getResourceByUniqueId
Resource getResourceByUniqueId(Long uniqueId)
Get theResource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Resource
that is uniquely identified by the key.
-
getRestrictedSchedulerSessionSpecificationByUniqueId
RestrictedSchedulerSessionSpecification getRestrictedSchedulerSessionSpecificationByUniqueId(Long uniqueId)
Get theRestrictedSchedulerSessionSpecification
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
RestrictedSchedulerSessionSpecification
that is uniquely identified by the key.
-
getSAPAbapProgramByUniqueId
SAPAbapProgram getSAPAbapProgramByUniqueId(Long uniqueId)
Get theSAPAbapProgram
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapProgram
that is uniquely identified by the key.
-
getSAPAbapProgramParameterByUniqueId
SAPAbapProgramParameter getSAPAbapProgramParameterByUniqueId(Long uniqueId)
Get theSAPAbapProgramParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapProgramParameter
that is uniquely identified by the key.
-
getSAPAbapVariantByUniqueId
SAPAbapVariant getSAPAbapVariantByUniqueId(Long uniqueId)
Get theSAPAbapVariant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariant
that is uniquely identified by the key.
-
getSAPAbapVariantParameterByUniqueId
SAPAbapVariantParameter getSAPAbapVariantParameterByUniqueId(Long uniqueId)
Get theSAPAbapVariantParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantParameter
that is uniquely identified by the key.
-
getSAPAbapVariantParameterValueByUniqueId
SAPAbapVariantParameterValue getSAPAbapVariantParameterValueByUniqueId(Long uniqueId)
Get theSAPAbapVariantParameterValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantParameterValue
that is uniquely identified by the key.
-
getSAPAbapVariantSeloptByUniqueId
SAPAbapVariantSelopt getSAPAbapVariantSeloptByUniqueId(Long uniqueId)
Get theSAPAbapVariantSelopt
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantSelopt
that is uniquely identified by the key.
-
getSAPAbapVariantSeloptValueByUniqueId
SAPAbapVariantSeloptValue getSAPAbapVariantSeloptValueByUniqueId(Long uniqueId)
Get theSAPAbapVariantSeloptValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantSeloptValue
that is uniquely identified by the key.
-
getSAPApplicationServerByUniqueId
SAPApplicationServer getSAPApplicationServerByUniqueId(Long uniqueId)
Get theSAPApplicationServer
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServer
that is uniquely identified by the key.
-
getSAPApplicationServerGroupByUniqueId
SAPApplicationServerGroup getSAPApplicationServerGroupByUniqueId(Long uniqueId)
Get theSAPApplicationServerGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerGroup
that is uniquely identified by the key.
-
getSAPApplicationServerLoadFactorByUniqueId
SAPApplicationServerLoadFactor getSAPApplicationServerLoadFactorByUniqueId(Long uniqueId)
Get theSAPApplicationServerLoadFactor
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerLoadFactor
that is uniquely identified by the key.
-
getSAPApplicationServerProviderByUniqueId
SAPApplicationServerProvider getSAPApplicationServerProviderByUniqueId(Long uniqueId)
Get theSAPApplicationServerProvider
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerProvider
that is uniquely identified by the key.
-
getSAPArchiveDocumentTypeByUniqueId
SAPArchiveDocumentType getSAPArchiveDocumentTypeByUniqueId(Long uniqueId)
Get theSAPArchiveDocumentType
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPArchiveDocumentType
that is uniquely identified by the key.
-
getSAPArchiveObjectByUniqueId
SAPArchiveObject getSAPArchiveObjectByUniqueId(Long uniqueId)
Get theSAPArchiveObject
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPArchiveObject
that is uniquely identified by the key.
-
getSAPBAEConfigurationByUniqueId
SAPBAEConfiguration getSAPBAEConfigurationByUniqueId(Long uniqueId)
Get theSAPBAEConfiguration
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPBAEConfiguration
that is uniquely identified by the key.
-
createSAPBAEConnector
SAPBAEConnector createSAPBAEConnector()
Return a new instance of SAPBAEConnector. All defaults will be set as documentedSAPBAEConnector
.- Returns:
- the newly instantiated SAPBAEConnector
-
getSAPBAEConnectorByName
SAPBAEConnector getSAPBAEConnectorByName(Partition partition, String name)
Get theSAPBAEConnector
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
SAPBAEConnector
that is uniquely identified by the key.
-
getSAPBAEConnectorByName
SAPBAEConnector getSAPBAEConnectorByName(String name)
Get theSAPBAEConnector
by Name. Calling this method is equivalent to calling:getSAPBAEConnectorByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
SAPBAEConnector
that is uniquely identified by the key. - See Also:
getSAPBAEConnectorByName(Partition, String)
-
getSAPBAEConnectorByUniqueId
SAPBAEConnector getSAPBAEConnectorByUniqueId(Long uniqueId)
Get theSAPBAEConnector
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPBAEConnector
that is uniquely identified by the key.
-
getSAPBatchEventByUniqueId
SAPBatchEvent getSAPBatchEventByUniqueId(Long uniqueId)
Get theSAPBatchEvent
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPBatchEvent
that is uniquely identified by the key.
-
getSAPCalendarByUniqueId
SAPCalendar getSAPCalendarByUniqueId(Long uniqueId)
Get theSAPCalendar
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPCalendar
that is uniquely identified by the key.
-
getSAPExternalCommandByUniqueId
SAPExternalCommand getSAPExternalCommandByUniqueId(Long uniqueId)
Get theSAPExternalCommand
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPExternalCommand
that is uniquely identified by the key.
-
getSAPInfoPackageByUniqueId
SAPInfoPackage getSAPInfoPackageByUniqueId(Long uniqueId)
Get theSAPInfoPackage
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackage
that is uniquely identified by the key.
-
getSAPInfoPackageGroupByUniqueId
SAPInfoPackageGroup getSAPInfoPackageGroupByUniqueId(Long uniqueId)
Get theSAPInfoPackageGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackageGroup
that is uniquely identified by the key.
-
getSAPInfoPackageGroupStepByUniqueId
SAPInfoPackageGroupStep getSAPInfoPackageGroupStepByUniqueId(Long uniqueId)
Get theSAPInfoPackageGroupStep
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackageGroupStep
that is uniquely identified by the key.
-
getSAPJ2EEClientByUniqueId
SAPJ2EEClient getSAPJ2EEClientByUniqueId(Long uniqueId)
Get theSAPJ2EEClient
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPJ2EEClient
that is uniquely identified by the key.
-
getSAPLanguageByUniqueId
SAPLanguage getSAPLanguageByUniqueId(Long uniqueId)
Get theSAPLanguage
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPLanguage
that is uniquely identified by the key.
-
getSAPLogErrorByUniqueId
SAPLogError getSAPLogErrorByUniqueId(Long uniqueId)
Get theSAPLogError
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPLogError
that is uniquely identified by the key.
-
getSAPMassActivityByUniqueId
SAPMassActivity getSAPMassActivityByUniqueId(Long uniqueId)
Get theSAPMassActivity
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivity
that is uniquely identified by the key.
-
getSAPMassActivityFieldParameterByUniqueId
SAPMassActivityFieldParameter getSAPMassActivityFieldParameterByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldParameter
that is uniquely identified by the key.
-
getSAPMassActivityFieldTableByUniqueId
SAPMassActivityFieldTable getSAPMassActivityFieldTableByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTable
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTable
that is uniquely identified by the key.
-
getSAPMassActivityFieldTableRowByUniqueId
SAPMassActivityFieldTableRow getSAPMassActivityFieldTableRowByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTableRow
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTableRow
that is uniquely identified by the key.
-
getSAPMassActivityFieldTableRowValueByUniqueId
SAPMassActivityFieldTableRowValue getSAPMassActivityFieldTableRowValueByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTableRowValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTableRowValue
that is uniquely identified by the key.
-
getSAPMassActivityLayoutFieldByUniqueId
SAPMassActivityLayoutField getSAPMassActivityLayoutFieldByUniqueId(Long uniqueId)
Get theSAPMassActivityLayoutField
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityLayoutField
that is uniquely identified by the key.
-
getSAPMassActivityObjectByUniqueId
SAPMassActivityObject getSAPMassActivityObjectByUniqueId(Long uniqueId)
Get theSAPMassActivityObject
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityObject
that is uniquely identified by the key.
-
getSAPMassActivityParameterByUniqueId
SAPMassActivityParameter getSAPMassActivityParameterByUniqueId(Long uniqueId)
Get theSAPMassActivityParameter
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityParameter
that is uniquely identified by the key.
-
getSAPMassActivityParameterSetByUniqueId
SAPMassActivityParameterSet getSAPMassActivityParameterSetByUniqueId(Long uniqueId)
Get theSAPMassActivityParameterSet
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityParameterSet
that is uniquely identified by the key.
-
getSAPMassActivityStructureByUniqueId
SAPMassActivityStructure getSAPMassActivityStructureByUniqueId(Long uniqueId)
Get theSAPMassActivityStructure
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityStructure
that is uniquely identified by the key.
-
getSAPNWCallbackParameterMappingByUniqueId
SAPNWCallbackParameterMapping getSAPNWCallbackParameterMappingByUniqueId(Long uniqueId)
Get theSAPNWCallbackParameterMapping
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackParameterMapping
that is uniquely identified by the key.
-
getSAPNWCallbackVariantByUniqueId
SAPNWCallbackVariant getSAPNWCallbackVariantByUniqueId(Long uniqueId)
Get theSAPNWCallbackVariant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackVariant
that is uniquely identified by the key.
-
getSAPNWCallbackVariantDetailByUniqueId
SAPNWCallbackVariantDetail getSAPNWCallbackVariantDetailByUniqueId(Long uniqueId)
Get theSAPNWCallbackVariantDetail
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackVariantDetail
that is uniquely identified by the key.
-
getSAPOutputDeviceByUniqueId
SAPOutputDevice getSAPOutputDeviceByUniqueId(Long uniqueId)
Get theSAPOutputDevice
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPOutputDevice
that is uniquely identified by the key.
-
getSAPOutputFormatByUniqueId
SAPOutputFormat getSAPOutputFormatByUniqueId(Long uniqueId)
Get theSAPOutputFormat
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPOutputFormat
that is uniquely identified by the key.
-
getSAPPIChannelByUniqueId
SAPPIChannel getSAPPIChannelByUniqueId(Long uniqueId)
Get theSAPPIChannel
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPPIChannel
that is uniquely identified by the key.
-
getSAPProcessChainByUniqueId
SAPProcessChain getSAPProcessChainByUniqueId(Long uniqueId)
Get theSAPProcessChain
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPProcessChain
that is uniquely identified by the key.
-
getSAPProcessDefinitionByUniqueId
SAPProcessDefinition getSAPProcessDefinitionByUniqueId(Long uniqueId)
Get theSAPProcessDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPProcessDefinition
that is uniquely identified by the key.
-
getSAPProcessRestartByUniqueId
SAPProcessRestart getSAPProcessRestartByUniqueId(Long uniqueId)
Get theSAPProcessRestart
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPProcessRestart
that is uniquely identified by the key.
-
getSAPRecipientByUniqueId
SAPRecipient getSAPRecipientByUniqueId(Long uniqueId)
Get theSAPRecipient
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPRecipient
that is uniquely identified by the key.
-
createSAPScript
SAPScript createSAPScript()
Return a new instance of SAPScript. All defaults will be set as documentedSAPScript
.- Returns:
- the newly instantiated SAPScript
-
getSAPScriptByJobDefinition
SAPScript getSAPScriptByJobDefinition(JobDefinition jobDefinition)
Get theSAPScript
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
SAPScript
that is uniquely identified by the key.
-
getSAPScriptByUniqueId
SAPScript getSAPScriptByUniqueId(Long uniqueId)
Get theSAPScript
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPScript
that is uniquely identified by the key.
-
getSAPScriptAttributeByUniqueId
SAPScriptAttribute getSAPScriptAttributeByUniqueId(Long uniqueId)
Get theSAPScriptAttribute
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPScriptAttribute
that is uniquely identified by the key.
-
createSAPSystem
SAPSystem createSAPSystem()
Return a new instance of SAPSystem. All defaults will be set as documentedSAPSystem
.- Returns:
- the newly instantiated SAPSystem
-
getSAPSystemByProcessServer
SAPSystem getSAPSystemByProcessServer(ProcessServer processServer)
Get theSAPSystem
by ProcessServer. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
processServer
- the ProcessServer that must be in the key.- Returns:
- The
SAPSystem
that is uniquely identified by the key.
-
getSAPSystemByQueue
SAPSystem getSAPSystemByQueue(Queue queue)
Get theSAPSystem
by Queue. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
queue
- the Queue that must be in the key.- Returns:
- The
SAPSystem
that is uniquely identified by the key.
-
getSAPSystemByName
SAPSystem getSAPSystemByName(Partition partition, String name)
Get theSAPSystem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
SAPSystem
that is uniquely identified by the key.
-
getSAPSystemByName
SAPSystem getSAPSystemByName(String name)
Get theSAPSystem
by Name. Calling this method is equivalent to calling:getSAPSystemByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
SAPSystem
that is uniquely identified by the key. - See Also:
getSAPSystemByName(Partition, String)
-
getSAPSystemByUniqueId
SAPSystem getSAPSystemByUniqueId(Long uniqueId)
Get theSAPSystem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPSystem
that is uniquely identified by the key.
-
getSAPXALByUniqueId
SAPXAL getSAPXALByUniqueId(Long uniqueId)
Get theSAPXAL
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPXAL
that is uniquely identified by the key.
-
getSAPXBPByUniqueId
SAPXBP getSAPXBPByUniqueId(Long uniqueId)
Get theSAPXBP
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPXBP
that is uniquely identified by the key.
-
getSAPXBPEventRuleByUniqueId
SAPXBPEventRule getSAPXBPEventRuleByUniqueId(Long uniqueId)
Get theSAPXBPEventRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPXBPEventRule
that is uniquely identified by the key.
-
getSAPXBPJobControlRuleByUniqueId
SAPXBPJobControlRule getSAPXBPJobControlRuleByUniqueId(Long uniqueId)
Get theSAPXBPJobControlRule
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPXBPJobControlRule
that is uniquely identified by the key.
-
getSAPXMWByUniqueId
SAPXMW getSAPXMWByUniqueId(Long uniqueId)
Get theSAPXMW
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SAPXMW
that is uniquely identified by the key.
-
createScript
Script createScript()
Return a new instance of Script. All defaults will be set as documentedScript
.- Returns:
- the newly instantiated Script
-
getScriptByJobDefinition
Script getScriptByJobDefinition(JobDefinition jobDefinition)
Get theScript
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
Script
that is uniquely identified by the key.
-
getScriptByUniqueId
Script getScriptByUniqueId(Long uniqueId)
Get theScript
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Script
that is uniquely identified by the key.
-
createService
Service createService()
Return a new instance of Service. All defaults will be set as documentedService
.- Returns:
- the newly instantiated Service
-
getServiceByName
Service getServiceByName(Partition partition, String name)
Get theService
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Service
that is uniquely identified by the key.
-
getServiceByName
Service getServiceByName(String name)
Get theService
by Name. Calling this method is equivalent to calling:getServiceByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Service
that is uniquely identified by the key. - See Also:
getServiceByName(Partition, String)
-
getServiceByUniqueId
Service getServiceByUniqueId(Long uniqueId)
Get theService
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Service
that is uniquely identified by the key.
-
createSoftwareGroup
SoftwareGroup createSoftwareGroup()
Return a new instance of SoftwareGroup. All defaults will be set as documentedSoftwareGroup
.- Returns:
- the newly instantiated SoftwareGroup
-
getSoftwareGroupByUniqueId
SoftwareGroup getSoftwareGroupByUniqueId(Long uniqueId)
Get theSoftwareGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SoftwareGroup
that is uniquely identified by the key.
-
getSoftwareGroupByName
SoftwareGroup getSoftwareGroupByName(String name)
Get theSoftwareGroup
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
SoftwareGroup
that is uniquely identified by the key.
-
getSoftwareItemByUniqueId
SoftwareItem getSoftwareItemByUniqueId(Long uniqueId)
Get theSoftwareItem
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SoftwareItem
that is uniquely identified by the key.
-
getSoftwareItemByName
SoftwareItem getSoftwareItemByName(String name)
Get theSoftwareItem
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
SoftwareItem
that is uniquely identified by the key.
-
getStatisticsByUniqueId
Statistics getStatisticsByUniqueId(Long uniqueId)
Get theStatistics
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Statistics
that is uniquely identified by the key.
-
createStatisticsSample
StatisticsSample createStatisticsSample()
Return a new instance of StatisticsSample. All defaults will be set as documentedStatisticsSample
.- Returns:
- the newly instantiated StatisticsSample
-
getStatisticsSampleByUniqueId
StatisticsSample getStatisticsSampleByUniqueId(Long uniqueId)
Get theStatisticsSample
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
StatisticsSample
that is uniquely identified by the key.
-
createSubject
Subject createSubject()
Return a new instance of Subject. All defaults will be set as documentedSubject
.- Returns:
- the newly instantiated Subject
-
getSubjectByUniqueId
Subject getSubjectByUniqueId(Long uniqueId)
Get theSubject
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Subject
that is uniquely identified by the key.
-
getSubjectByTypeName
Subject getSubjectByTypeName(SubjectType type, String name)
Get theSubject
by TypeName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
type
- the Type that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Subject
that is uniquely identified by the key.
-
getSubjectByTypeRemoteName
Subject getSubjectByTypeRemoteName(SubjectType type, String remoteName)
Get theSubject
by TypeRemoteName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
type
- the Type that must be in the key.remoteName
- the RemoteName that must be in the key.- Returns:
- The
Subject
that is uniquely identified by the key.
-
createSubjectGlobalPrivilegeGrant
SubjectGlobalPrivilegeGrant createSubjectGlobalPrivilegeGrant()
Return a new instance of SubjectGlobalPrivilegeGrant. All defaults will be set as documentedSubjectGlobalPrivilegeGrant
.- Returns:
- the newly instantiated SubjectGlobalPrivilegeGrant
-
getSubjectGlobalPrivilegeGrantBySubjectGlobalPrivilegeLevelGrant
SubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantBySubjectGlobalPrivilegeLevelGrant(Subject granteeSubject, GlobalPrivilege grantedGlobalPrivilege)
Get theSubjectGlobalPrivilegeGrant
by SubjectGlobalPrivilegeLevelGrant. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
granteeSubject
- the GranteeSubject that must be in the key.grantedGlobalPrivilege
- the GrantedGlobalPrivilege that must be in the key.- Returns:
- The
SubjectGlobalPrivilegeGrant
that is uniquely identified by the key.
-
getSubjectGlobalPrivilegeGrantByUniqueId
SubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectGlobalPrivilegeGrant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubjectGlobalPrivilegeGrant
that is uniquely identified by the key.
-
getSubjectIsolationGroupByUniqueId
SubjectIsolationGroup getSubjectIsolationGroupByUniqueId(Long uniqueId)
Get theSubjectIsolationGroup
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubjectIsolationGroup
that is uniquely identified by the key.
-
createSubjectObjectPrivilegeGrant
SubjectObjectPrivilegeGrant createSubjectObjectPrivilegeGrant()
Return a new instance of SubjectObjectPrivilegeGrant. All defaults will be set as documentedSubjectObjectPrivilegeGrant
.- Returns:
- the newly instantiated SubjectObjectPrivilegeGrant
-
getSubjectObjectPrivilegeGrantBySubjectSchedulerEntity
SubjectObjectPrivilegeGrant getSubjectObjectPrivilegeGrantBySubjectSchedulerEntity(Subject granteeSubject, ObjectDefinition objectDefinition, Long objectUniqueId)
Get theSubjectObjectPrivilegeGrant
by SubjectSchedulerEntity. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
granteeSubject
- the GranteeSubject that must be in the key.objectDefinition
- the ObjectDefinition that must be in the key.objectUniqueId
- the ObjectUniqueId that must be in the key.- Returns:
- The
SubjectObjectPrivilegeGrant
that is uniquely identified by the key.
-
getSubjectObjectPrivilegeGrantByUniqueId
SubjectObjectPrivilegeGrant getSubjectObjectPrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectObjectPrivilegeGrant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubjectObjectPrivilegeGrant
that is uniquely identified by the key.
-
createSubjectObjectTypePrivilegeGrant
SubjectObjectTypePrivilegeGrant createSubjectObjectTypePrivilegeGrant()
Return a new instance of SubjectObjectTypePrivilegeGrant. All defaults will be set as documentedSubjectObjectTypePrivilegeGrant
.- Returns:
- the newly instantiated SubjectObjectTypePrivilegeGrant
-
getSubjectObjectTypePrivilegeGrantBySubjectObjectTypeLevelGrant
SubjectObjectTypePrivilegeGrant getSubjectObjectTypePrivilegeGrantBySubjectObjectTypeLevelGrant(Subject granteeSubject, ObjectDefinition objectDefinition, GrantLevel level, Long partitionOrIsolationGroupUniqueId)
Get theSubjectObjectTypePrivilegeGrant
by SubjectObjectTypeLevelGrant. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
granteeSubject
- the GranteeSubject that must be in the key.objectDefinition
- the ObjectDefinition that must be in the key.level
- the Level that must be in the key.partitionOrIsolationGroupUniqueId
- the PartitionOrIsolationGroupUniqueId that must be in the key.- Returns:
- The
SubjectObjectTypePrivilegeGrant
that is uniquely identified by the key.
-
getSubjectObjectTypePrivilegeGrantByUniqueId
SubjectObjectTypePrivilegeGrant getSubjectObjectTypePrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectObjectTypePrivilegeGrant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubjectObjectTypePrivilegeGrant
that is uniquely identified by the key.
-
createSubjectRoleGrant
SubjectRoleGrant createSubjectRoleGrant()
Return a new instance of SubjectRoleGrant. All defaults will be set as documentedSubjectRoleGrant
.- Returns:
- the newly instantiated SubjectRoleGrant
-
getSubjectRoleGrantByUniqueId
SubjectRoleGrant getSubjectRoleGrantByUniqueId(Long uniqueId)
Get theSubjectRoleGrant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubjectRoleGrant
that is uniquely identified by the key.
-
getSubjectRoleGrantBySubjectGrants
SubjectRoleGrant getSubjectRoleGrantBySubjectGrants(Subject granteeSubject, Subject grantedSubject)
Get theSubjectRoleGrant
by SubjectGrants. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
granteeSubject
- the GranteeSubject that must be in the key.grantedSubject
- the GrantedSubject that must be in the key.- Returns:
- The
SubjectRoleGrant
that is uniquely identified by the key.
-
createSubmitFrame
SubmitFrame createSubmitFrame()
Return a new instance of SubmitFrame. All defaults will be set as documentedSubmitFrame
.- Returns:
- the newly instantiated SubmitFrame
-
getSubmitFrameByName
SubmitFrame getSubmitFrameByName(Partition partition, String name)
Get theSubmitFrame
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
SubmitFrame
that is uniquely identified by the key.
-
getSubmitFrameByName
SubmitFrame getSubmitFrameByName(String name)
Get theSubmitFrame
by Name. Calling this method is equivalent to calling:getSubmitFrameByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
SubmitFrame
that is uniquely identified by the key. - See Also:
getSubmitFrameByName(Partition, String)
-
getSubmitFrameByUniqueId
SubmitFrame getSubmitFrameByUniqueId(Long uniqueId)
Get theSubmitFrame
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubmitFrame
that is uniquely identified by the key.
-
getSubmitFrameElementByUniqueId
SubmitFrameElement getSubmitFrameElementByUniqueId(Long uniqueId)
Get theSubmitFrameElement
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
SubmitFrameElement
that is uniquely identified by the key.
-
createTable
Table createTable()
Return a new instance of Table. All defaults will be set as documentedTable
.- Returns:
- the newly instantiated Table
-
getTableByName
Table getTableByName(Partition partition, String name)
Get theTable
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Table
that is uniquely identified by the key.
-
getTableByName
Table getTableByName(String name)
Get theTable
by Name. Calling this method is equivalent to calling:getTableByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Table
that is uniquely identified by the key. - See Also:
getTableByName(Partition, String)
-
getTableByUniqueId
Table getTableByUniqueId(Long uniqueId)
Get theTable
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Table
that is uniquely identified by the key.
-
createTableDefinition
TableDefinition createTableDefinition()
Return a new instance of TableDefinition. All defaults will be set as documentedTableDefinition
.- Returns:
- the newly instantiated TableDefinition
-
getTableDefinitionByName
TableDefinition getTableDefinitionByName(Partition partition, String name)
Get theTableDefinition
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
TableDefinition
that is uniquely identified by the key.
-
getTableDefinitionByName
TableDefinition getTableDefinitionByName(String name)
Get theTableDefinition
by Name. Calling this method is equivalent to calling:getTableDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
TableDefinition
that is uniquely identified by the key. - See Also:
getTableDefinitionByName(Partition, String)
-
getTableDefinitionByUniqueId
TableDefinition getTableDefinitionByUniqueId(Long uniqueId)
Get theTableDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TableDefinition
that is uniquely identified by the key.
-
getTableDefinitionColumnByUniqueId
TableDefinitionColumn getTableDefinitionColumnByUniqueId(Long uniqueId)
Get theTableDefinitionColumn
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionColumn
that is uniquely identified by the key.
-
getTableDefinitionConstraintByUniqueId
TableDefinitionConstraint getTableDefinitionConstraintByUniqueId(Long uniqueId)
Get theTableDefinitionConstraint
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionConstraint
that is uniquely identified by the key.
-
getTableDefinitionConstraintParameterMappingByUniqueId
TableDefinitionConstraintParameterMapping getTableDefinitionConstraintParameterMappingByUniqueId(Long uniqueId)
Get theTableDefinitionConstraintParameterMapping
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionConstraintParameterMapping
that is uniquely identified by the key.
-
getTableValueByUniqueId
TableValue getTableValueByUniqueId(Long uniqueId)
Get theTableValue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TableValue
that is uniquely identified by the key.
-
createTimeWindow
TimeWindow createTimeWindow()
Return a new instance of TimeWindow. All defaults will be set as documentedTimeWindow
.- Returns:
- the newly instantiated TimeWindow
-
getTimeWindowByName
TimeWindow getTimeWindowByName(Partition partition, String name)
Get theTimeWindow
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
TimeWindow
that is uniquely identified by the key.
-
getTimeWindowByName
TimeWindow getTimeWindowByName(String name)
Get theTimeWindow
by Name. Calling this method is equivalent to calling:getTimeWindowByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
TimeWindow
that is uniquely identified by the key. - See Also:
getTimeWindowByName(Partition, String)
-
getTimeWindowByUniqueId
TimeWindow getTimeWindowByUniqueId(Long uniqueId)
Get theTimeWindow
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TimeWindow
that is uniquely identified by the key.
-
getTimeWindowElementByUniqueId
TimeWindowElement getTimeWindowElementByUniqueId(Long uniqueId)
Get theTimeWindowElement
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TimeWindowElement
that is uniquely identified by the key.
-
createTimeZone
TimeZone createTimeZone()
Return a new instance of TimeZone. All defaults will be set as documentedTimeZone
.- Returns:
- the newly instantiated TimeZone
-
getTimeZoneByUniqueId
TimeZone getTimeZoneByUniqueId(Long uniqueId)
Get theTimeZone
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TimeZone
that is uniquely identified by the key.
-
getTimeZoneByName
TimeZone getTimeZoneByName(String name)
Get theTimeZone
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
name
- the Name that must be in the key.- Returns:
- The
TimeZone
that is uniquely identified by the key.
-
getTimeZoneByOlsonName
TimeZone getTimeZoneByOlsonName(String olsonName)
Get theTimeZone
by OlsonName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
olsonName
- the OlsonName that must be in the key.- Returns:
- The
TimeZone
that is uniquely identified by the key.
-
getTranslationByUniqueId
Translation getTranslationByUniqueId(Long uniqueId)
Get theTranslation
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Translation
that is uniquely identified by the key.
-
createTranslationKey
TranslationKey createTranslationKey()
Return a new instance of TranslationKey. All defaults will be set as documentedTranslationKey
.- Returns:
- the newly instantiated TranslationKey
-
getTranslationKeyByUniqueId
TranslationKey getTranslationKeyByUniqueId(Long uniqueId)
Get theTranslationKey
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TranslationKey
that is uniquely identified by the key.
-
getTranslationKeyByKey
TranslationKey getTranslationKeyByKey(String key)
Get theTranslationKey
by Key. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
key
- the Key that must be in the key.- Returns:
- The
TranslationKey
that is uniquely identified by the key.
-
createTrigger
Trigger createTrigger()
Return a new instance of Trigger. All defaults will be set as documentedTrigger
.- Returns:
- the newly instantiated Trigger
-
getTriggerByTriggerPoint
Trigger getTriggerByTriggerPoint(TriggerPoint triggerPoint)
Get theTrigger
by TriggerPoint. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
triggerPoint
- the TriggerPoint that must be in the key.- Returns:
- The
Trigger
that is uniquely identified by the key.
-
getTriggerByName
Trigger getTriggerByName(Partition partition, String name)
Get theTrigger
by Name. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
partition
- the Partition that must be in the key.name
- the Name that must be in the key.- Returns:
- The
Trigger
that is uniquely identified by the key.
-
getTriggerByName
Trigger getTriggerByName(String name)
Get theTrigger
by Name. Calling this method is equivalent to calling:getTriggerByName(getPartitionSearchPath(), name);
- Parameters:
name
- the Name that must be in the key.- Returns:
- The
Trigger
that is uniquely identified by the key. - See Also:
getTriggerByName(Partition, String)
-
getTriggerByUniqueId
Trigger getTriggerByUniqueId(Long uniqueId)
Get theTrigger
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
Trigger
that is uniquely identified by the key.
-
getTriggerSourceByUniqueId
TriggerSource getTriggerSourceByUniqueId(Long uniqueId)
Get theTriggerSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
TriggerSource
that is uniquely identified by the key.
-
createUserMessage
UserMessage createUserMessage()
Return a new instance of UserMessage. All defaults will be set as documentedUserMessage
.- Returns:
- the newly instantiated UserMessage
-
getUserMessageByUniqueId
UserMessage getUserMessageByUniqueId(Long uniqueId)
Get theUserMessage
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessage
that is uniquely identified by the key.
-
getUserMessageAttachmentByUniqueId
UserMessageAttachment getUserMessageAttachmentByUniqueId(Long uniqueId)
Get theUserMessageAttachment
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageAttachment
that is uniquely identified by the key.
-
createUserMessageDefinition
UserMessageDefinition createUserMessageDefinition()
Return a new instance of UserMessageDefinition. All defaults will be set as documentedUserMessageDefinition
.- Returns:
- the newly instantiated UserMessageDefinition
-
getUserMessageDefinitionByJobDefinition
UserMessageDefinition getUserMessageDefinitionByJobDefinition(JobDefinition jobDefinition)
Get theUserMessageDefinition
by JobDefinition. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
jobDefinition
- the JobDefinition that must be in the key.- Returns:
- The
UserMessageDefinition
that is uniquely identified by the key.
-
getUserMessageDefinitionByUniqueId
UserMessageDefinition getUserMessageDefinitionByUniqueId(Long uniqueId)
Get theUserMessageDefinition
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinition
that is uniquely identified by the key.
-
getUserMessageDefinitionAttachmentByUniqueId
UserMessageDefinitionAttachment getUserMessageDefinitionAttachmentByUniqueId(Long uniqueId)
Get theUserMessageDefinitionAttachment
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionAttachment
that is uniquely identified by the key.
-
getUserMessageDefinitionParticipantByUniqueId
UserMessageDefinitionParticipant getUserMessageDefinitionParticipantByUniqueId(Long uniqueId)
Get theUserMessageDefinitionParticipant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionParticipant
that is uniquely identified by the key.
-
getUserMessageDefinitionResponseByUniqueId
UserMessageDefinitionResponse getUserMessageDefinitionResponseByUniqueId(Long uniqueId)
Get theUserMessageDefinitionResponse
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionResponse
that is uniquely identified by the key.
-
getUserMessageHistoryByUniqueId
UserMessageHistory getUserMessageHistoryByUniqueId(Long uniqueId)
Get theUserMessageHistory
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageHistory
that is uniquely identified by the key.
-
getUserMessageParticipantByUniqueId
UserMessageParticipant getUserMessageParticipantByUniqueId(Long uniqueId)
Get theUserMessageParticipant
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
UserMessageParticipant
that is uniquely identified by the key.
-
createVisualizationAlert
VisualizationAlert createVisualizationAlert()
Return a new instance of VisualizationAlert. All defaults will be set as documentedVisualizationAlert
.- Returns:
- the newly instantiated VisualizationAlert
-
getVisualizationAlertByOwnerName
VisualizationAlert getVisualizationAlertByOwnerName(Subject ownerSubject, String name)
Get theVisualizationAlert
by OwnerName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
ownerSubject
- the OwnerSubject that must be in the key.name
- the Name that must be in the key.- Returns:
- The
VisualizationAlert
that is uniquely identified by the key.
-
getVisualizationAlertByUniqueId
VisualizationAlert getVisualizationAlertByUniqueId(Long uniqueId)
Get theVisualizationAlert
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationAlert
that is uniquely identified by the key.
-
getVisualizationAlertSourceByUniqueId
VisualizationAlertSource getVisualizationAlertSourceByUniqueId(Long uniqueId)
Get theVisualizationAlertSource
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationAlertSource
that is uniquely identified by the key.
-
createVisualizationProcessServerQueue
VisualizationProcessServerQueue createVisualizationProcessServerQueue()
Return a new instance of VisualizationProcessServerQueue. All defaults will be set as documentedVisualizationProcessServerQueue
.- Returns:
- the newly instantiated VisualizationProcessServerQueue
-
getVisualizationProcessServerQueueByOwnerName
VisualizationProcessServerQueue getVisualizationProcessServerQueueByOwnerName(Subject ownerSubject, String name)
Get theVisualizationProcessServerQueue
by OwnerName. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
ownerSubject
- the OwnerSubject that must be in the key.name
- the Name that must be in the key.- Returns:
- The
VisualizationProcessServerQueue
that is uniquely identified by the key.
-
getVisualizationProcessServerQueueByUniqueId
VisualizationProcessServerQueue getVisualizationProcessServerQueueByUniqueId(Long uniqueId)
Get theVisualizationProcessServerQueue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationProcessServerQueue
that is uniquely identified by the key.
-
getVisualizationPSQProcessServerByUniqueId
VisualizationPSQProcessServer getVisualizationPSQProcessServerByUniqueId(Long uniqueId)
Get theVisualizationPSQProcessServer
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQProcessServer
that is uniquely identified by the key.
-
getVisualizationPSQQueueByUniqueId
VisualizationPSQQueue getVisualizationPSQQueueByUniqueId(Long uniqueId)
Get theVisualizationPSQQueue
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQQueue
that is uniquely identified by the key.
-
getVisualizationPSQTextByUniqueId
VisualizationPSQText getVisualizationPSQTextByUniqueId(Long uniqueId)
Get theVisualizationPSQText
by UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId
- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQText
that is uniquely identified by the key.
-
getLicenseKeysByContractName
RWIterable<LicenseKey> getLicenseKeysByContractName(String contractName)
Get all the license keys associated with a contract.- Specified by:
getLicenseKeysByContractName
in interfaceSchedulerSessionComp
- Parameters:
contractName
- the contract to search for.- Returns:
- an iterator of the license keys for the given contract.
-
setReason
void setReason(String reason)
Set the reason for the current modification.- Parameters:
reason
- the reason for the change.
-
getReason
String getReason()
Get the reason for the current modification. Can be null.- Returns:
- the reason for the change.
-
needsReason
boolean needsReason(SchedulerEntity entity)
Determine if a reason is required.- Parameters:
entity
- the entity to check for the reason requirement.- Returns:
- true if it requires a reason, otherwise false.
-
createEnumResolver
EnumResolver createEnumResolver()
Create an EnumResolver to resolve enumerations from their type.- Returns:
- the EnumResolver
-
getRELEntryPoints
RWIterable<RELEntryPoint> getRELEntryPoints()
Get an iterator over all of theRELEntryPoint
s visible to this user.- Specified by:
getRELEntryPoints
in interfaceSchedulerSessionComp
- Returns:
- an iterator over all of the
RELEntryPoint
s visible to this user
-
wrap
Throwable wrap(Throwable t)
Wrap the Throwable t to have correct line numbers.- Parameters:
t
- the exception to wrap- Returns:
- a wrapped Throwable
-
getStackTrace
String getStackTrace(Throwable t)
Get the stack trace for the Throwable. This stack trace will automatically have user line number code correction applied.- Parameters:
t
- the exception.- Returns:
- the (potentially corrected) stack trace.
-
createReporter
Reporter createReporter(Writer writer)
Create a reporter for making reports, attached to this session and the specified writer.- Parameters:
writer
- the writer to write to.- Returns:
- a reporter attached to this session.
-
inRange
boolean inRange(int candidate, String rangeExp)
Test to see if a value is within a range. Ranges are made up of comma separated sections, each of which is a number (eg. 1) or a range of numbers (eg. 4-7). All numbers specified are in the range, other numbers are not.- Parameters:
candidate
- the value to test.rangeExp
- the valid range expression- Returns:
- true if the candidate is within the range, otherwise false.
-
inSet
boolean inSet(int candidate, String setExp)
Test to see if a value is in a specified set.Example sets:
table of examples Set X's English First month of the quarter X__X__X__X__ J__A__M__O__ Last month of the quarter __X__X__X__X __M__J__S__D Not last month of the quarter XX_XX_XX_XX_ JF_AM_JA_ON_ Monday, Wednesday, Friday _X_X_X_ _M_W_F_ Saturday, Sunday X_____X S_____S - Parameters:
candidate
- the value to test.setExp
- the valid set expression- Returns:
- true if the candidate is within the set, otherwise false.
-
deleteObjects
int deleteObjects(Iterator<? extends SchedulerEntity> schedulerEntities)
Mark all objects returned by anRWIterable
for deletion.This is a utility method which will safely mark objects returned by an iterator for deletion. When it returns all these objects will be marked for deletion as if
SchedulerEntity.deleteObject()
had been invoked on them.- Parameters:
schedulerEntities
- an iterator over the SchedulerEntity instances to mark for deletion.- Returns:
- the number of objects returned by the iterator and marked for deletion.
- Throws:
ClassCastException
- This will be thrown if any of the objects returned by the iterator do not implement the SchedulerEntity interface.
-
getChangedObjects
RWIterable<SchedulerEntity> getChangedObjects(Iterator<ObjectDefinition> objectDefinitions, DateTimeZone start, DateTimeZone end, Subject[] users)
Obtain all changed SchedulerEntities after start and/or before end and/or changed by users for a given List of ObjectDefinitions.- Specified by:
getChangedObjects
in interfaceSchedulerSessionComp
- Parameters:
objectDefinitions
- Iterator with ObjectDefinitions to search, when null all ObjectDefinitions will be searched.start
- When not null, only changes are reported after this DateTimeZoneend
- When not null, only changes are reported before this DateTimeZoneusers
- When not null, only changes are reported which were made by the Subject(s)- Returns:
RWIterable
containing all changed SchedulerEntities
-
getMonitorAlertSourcesByLinkableMonitor
RWIterable<MonitorAlertSource> getMonitorAlertSourcesByLinkableMonitor(LinkableMonitor linkableMonitor)
Get an iterator of all MonitorAlertSources by LinkableMonitor.- Specified by:
getMonitorAlertSourcesByLinkableMonitor
in interfaceSchedulerSessionComp
- Parameters:
linkableMonitor
- the LinkableMonitor to search by.- Returns:
- an iterator of all the MonitorAlertSources.
-
toSearchCase
String toSearchCase(String s)
Convert the a string into 'search case', the case used for all columns with names starting with Search, suitable for calling methods that search on these columns.- Parameters:
s
- The string to convert.- Returns:
- the converted string.
-
logModifiedObjects
void logModifiedObjects(Logger aLog, String aPrefix)
Log the current modified object to the logger in the format of the transaction dump- Parameters:
aLog
- is the logger where the dump will be written to at debug categoryaPrefix
- is the prefix to use while logging the transaction lines
-
getDocumentByFullPath
Document getDocumentByFullPath(String fullPath)
Get theDocument
by FullPath. This method will not return an object that has been deleted in this session. If there are multiple objects in the session that would match the filter then one of them will be randomly returned. Note that this would mean that the current session could not be persisted.- Parameters:
fullPath
- the FullPath that must be in the key.- Returns:
- The
Document
that is uniquely identified by the key.
-
getRuntimeClass
RuntimeClass getRuntimeClass(String objectType)
Get the runtime entity type information for the given object-type.- Parameters:
objectType
- The OBJECT_TYPE of a SchedulerEntity (f.e. TimeWindow.OBJECT_TYPE)- Returns:
- The runtime entity type information.
-
getRuntimeClasses
List<RuntimeClass> getRuntimeClasses()
Returns an immutable list with all runtime classes- Returns:
- Immutable list with RuntimeClass instances
-
getSchedulerEntityByObjectTypeUniqueId
SchedulerEntity getSchedulerEntityByObjectTypeUniqueId(String objectType, Long uniqueId)
Get a scheduler entity by object type and unique id. This will first look directly in the session cache and only then go to the database.- Parameters:
objectType
- The OBJECT_TYPE of a SchedulerEntity (f.e. TimeWindow.OBJECT_TYPE), must not be null.uniqueId
- The Unique Id, must not be null.- Returns:
- The scheduler entity.
-
getSchedulerEntityByObjectTypeUniqueId
<T extends SchedulerEntity> T getSchedulerEntityByObjectTypeUniqueId(QueryObjectType<T> type, Long uniqueId)
Get a scheduler entity by object type and unique id. This will first look directly in the session cache and only then go to the database.- Parameters:
type
- The TYPE of a SchedulerEntity (f.e. TimeWindow.TYPE), must not be null.uniqueId
- The Unique Id, must not be null.- Returns:
- The scheduler entity.
-
getSchedulerEntitiesByObjectTypeUniqueIdIterator
<T> RWIterable<SchedulerEntity> getSchedulerEntitiesByObjectTypeUniqueIdIterator(String objectType, Collection<T> uniqueIds, Mapping<T,Long> mapping)
Get a collection of objects of the same type by UniqueId. The objects that are passed in through the uniqueIds parameter can be modified by a mapping function, so that some for of container object could be passed through, and the mapping can convert from the container to the desired uniqueId.- Specified by:
getSchedulerEntitiesByObjectTypeUniqueIdIterator
in interfaceSchedulerSessionComp
- Parameters:
objectType
- The type of object that we wish to retrieve from the databaseuniqueIds
- A list of objects that can be used to generate the UniqueIds to retrieve from the databasemapping
- a Mapping function from the objects in uniqueIds that are passed in, to the UniqueIds that are in the database. If this is null, then uniqueIds is assumed to be a collection ofLong
s.- Returns:
- an
RWIterable
over the objects that were found
-
getSchedulerEntitiesByObjectTypeUniqueIdIterator
<S extends SchedulerEntity,T> RWIterable<S> getSchedulerEntitiesByObjectTypeUniqueIdIterator(QueryObjectType<S> type, Collection<T> uniqueIds, Mapping<T,Long> mapping)
Get a collection of objects of the same type by UniqueId. The objects that are passed in through the uniqueIds parameter can be modified by a mapping function, so that some for of container object could be passed through, and the mapping can convert from the container to the desired uniqueId.- Parameters:
type
- The type of object that we wish to retrieve from the databaseuniqueIds
- A list of objects that can be used to generate the UniqueIds to retrieve from the databasemapping
- a Mapping function from the objects in uniqueIds that are passed in, to the UniqueIds that are in the database. If this is null, then uniqueIds is assumed to be a collection ofLong
s.- Returns:
- an
RWIterable
over the objects that were found
-
getUniqueIdList
List<Long> getUniqueIdList(String alias, String query, Object[] parameters) throws com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
Return a list of uniqueIds returned by the query. This will also perform security optimizations where possible.- Parameters:
alias
- The alias of the object type for which uniqueIds need to be returnedquery
- The query to determine the uniqueIdsparameters
- The parameters to pass to the query- Returns:
- A list of uniqueIds matched by the query
- Throws:
com.redwood.scheduler.api.exception.SchedulerAPIPersistenceException
- If there is a error while executing the query
-
getSubjectManager
SubjectManager getSubjectManager()
Get a SubjectManager for searching and importing users.- Returns:
- SubjectManager for searching and importing users.
-
getContextURL
String getContextURL()
Get the context URL. If available this will return the user's URL used to access the system- Returns:
- the context URL, e.g. http://host:port/redwood.
-
getContextPath
String getContextPath()
Get the context Path - if available this will return the user's URI context path to access the system- Returns:
- the context URL Path, e.g. /redwood.
-
getShareableContextURL
String getShareableContextURL()
Get the shareable context URL - this returns the configured URL that is the public URL of the system- Returns:
- the context URL, e.g. http://host:port/scheduler.
-
getShareableContextPath
String getShareableContextPath()
Get the shareable context path - this returns the configured context path that is the public context path of the system- Returns:
- the context URI, e.g. /redwood.
-
setRollback
void setRollback(boolean doRollback)
When doRollback is set to true then nothing is persisted when persist is called. The dirty list will be written and all the dependency checks will be performed in the database but no persist will be carried out. This way a mock persist can be performed to observe what errors may arise from a real persist.- Parameters:
doRollback
- set to true to rollback instead of a persist when persist is called and set to false to actually perform a persist. Default value is false.
-
isReadOnly
boolean isReadOnly()
Is the session read-only? (At least no new changes are allowed).- Returns:
- true if the session is read only.
-
getPartitionSearchPath
<T extends Partition> RWIterable<T> getPartitionSearchPath()
Get the partition search path for this session.- Specified by:
getPartitionSearchPath
in interfaceSchedulerSessionComp
- Returns:
- an iterator of Partition objects.
-
getMemoryTableByName
Table getMemoryTableByName(String tableName)
Get memory table by name, uses GLOBAL as default partition.- Parameters:
tableName
- Name of table- Returns:
- Table if found, null otherwise.
- See Also:
getMemoryTableByName(Partition,String)
-
getMemoryTableByName
Table getMemoryTableByName(Partition partition, String tableName)
Gets the memory table by name, returns table by partition and name. Returns null if not found and null if the table is not an in-memory table.- Parameters:
partition
- PartitiontableName
- Name of table- Returns:
- Memory table if found, null otherwise.
-
getObjectDefinitionNameByUniqueId
String getObjectDefinitionNameByUniqueId(Long objectDefinitionUniqueId)
Get an Object Definition Name using its Unique Id. This will use an internal cache that is much faster than going to the persistence layer.- Parameters:
objectDefinitionUniqueId
- the unique id of the object definition.- Returns:
- the name of the object definition.
-
getObjectDefinitionUniqueIdByName
Long getObjectDefinitionUniqueIdByName(String name)
Get the uniqueID of theObjectDefinition
with the specified name.- Parameters:
name
- name of the ObjectDefinition- Returns:
- the uniqueId of the ObjectDefinition
-
unprotectPassword
String unprotectPassword(String protectedPassword) throws com.redwood.scheduler.api.exception.CredentialEncodingException
Decrypt a protected password obtained byCredential.getProtectedPassword()
.- Parameters:
protectedPassword
- the protected password- Returns:
- the plain text
- Throws:
com.redwood.scheduler.api.exception.CredentialEncodingException
- If there is a error while decrypting the protected password
-
getCurrentGlobalExecutionCount
long getCurrentGlobalExecutionCount()
Return the number of concurrent user jobs that are in an active status. Parent jobs and jobs in status Console are not considered to be active. This number can be used to compare against license item ProcessServerService.GlobalExecution.limit.- Returns:
- the number of concurrent jobs
-
-