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:
executeObjectQueryin 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:
executeObjectQueryin 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 anRWIterableover 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, unlessrowLimitis negative, in which case the number of returned items will not be limited.If the given
querystarts 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 anRWIterableover 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
querystarts 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.SchedulerAPIPersistenceExceptionPersist 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_PREFIXandTranslationConstants.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 theMonitorCheckby 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
MonitorCheckthat is uniquely identified by the key.
-
getMonitorLinkByNameParent
@Deprecated MonitorLink getMonitorLinkByNameParent(String name, MonitorNode parentMonitorNode)
Deprecated.usegetMonitorLinkByParentName(MonitorNode, String)instead.Get the
MonitorLinkby 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
MonitorLinkthat is uniquely identified by the key.
-
getMonitorNodeByNameParent
@Deprecated MonitorNode getMonitorNodeByNameParent(String name, MonitorNode parentMonitorNode)
Deprecated.usegetMonitorNodeByParentName(MonitorNode, String)instead.Get the
MonitorNodeby 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
MonitorNodethat 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_SEPARATORwhen the root is not specified.- Parameters:
root- is the root where the registry key resides; to specify the full path set this to nullRegistryRootpath- 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 InterruptedExceptionSleep 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 theAdHocAlertSourceby 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
AdHocAlertSourcethat is uniquely identified by the key.
-
getAdHocAlertSourceByName
AdHocAlertSource getAdHocAlertSourceByName(String name)
Get theAdHocAlertSourceby Name. Calling this method is equivalent to calling:getAdHocAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
AdHocAlertSourcethat is uniquely identified by the key. - See Also:
getAdHocAlertSourceByName(Partition, String)
-
getAdHocAlertSourceByUniqueId
AdHocAlertSource getAdHocAlertSourceByUniqueId(Long uniqueId)
Get theAdHocAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AdHocAlertSourcethat is uniquely identified by the key.
-
getAlertByUniqueId
Alert getAlertByUniqueId(Long uniqueId)
Get theAlertby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Alertthat 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 theAlertEscalationby 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
AlertEscalationthat is uniquely identified by the key.
-
getAlertEscalationByName
AlertEscalation getAlertEscalationByName(String name)
Get theAlertEscalationby Name. Calling this method is equivalent to calling:getAlertEscalationByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
AlertEscalationthat is uniquely identified by the key. - See Also:
getAlertEscalationByName(Partition, String)
-
getAlertEscalationByUniqueId
AlertEscalation getAlertEscalationByUniqueId(Long uniqueId)
Get theAlertEscalationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AlertEscalationthat is uniquely identified by the key.
-
getAlertEscalationActionByUniqueId
AlertEscalationAction getAlertEscalationActionByUniqueId(Long uniqueId)
Get theAlertEscalationActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AlertEscalationActionthat is uniquely identified by the key.
-
getAlertSourceActionByAlertSourceActionType
AlertSourceAction getAlertSourceActionByAlertSourceActionType(Long parentUniqueId, AlertSourceActionType type)
Get theAlertSourceActionby 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
AlertSourceActionthat is uniquely identified by the key.
-
getAlertSourceActionByUniqueId
AlertSourceAction getAlertSourceActionByUniqueId(Long uniqueId)
Get theAlertSourceActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AlertSourceActionthat is uniquely identified by the key.
-
getAlertSourceEmailByUniqueId
AlertSourceEmail getAlertSourceEmailByUniqueId(Long uniqueId)
Get theAlertSourceEmailby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AlertSourceEmailthat 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 theApplicationby 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
Applicationthat is uniquely identified by the key.
-
getApplicationByName
Application getApplicationByName(Application parentApplication, String name)
Get theApplicationby 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
Applicationthat is uniquely identified by the key. - See Also:
getApplicationByName(Partition, Application, String)
-
getApplicationByName
Application getApplicationByName(String name)
Get theApplicationby Name. Calling this method is equivalent to calling:getApplicationByName(getPartitionSearchPath(), null, name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Applicationthat is uniquely identified by the key. - See Also:
getApplicationByName(Partition, Application, String)
-
getApplicationByUniqueId
Application getApplicationByUniqueId(Long uniqueId)
Get theApplicationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Applicationthat 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 theAuditObjectby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AuditObjectthat 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 theAuditRuleby 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
AuditRulethat is uniquely identified by the key.
-
getAuditRuleByName
AuditRule getAuditRuleByName(String name)
Get theAuditRuleby 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
AuditRulethat is uniquely identified by the key.
-
getAuditRuleByUniqueId
AuditRule getAuditRuleByUniqueId(Long uniqueId)
Get theAuditRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AuditRulethat 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 theAuditSubjectLoginby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
AuditSubjectLoginthat 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 theBuiltInWebServiceby 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
BuiltInWebServicethat is uniquely identified by the key.
-
getBuiltInWebServiceByUniqueId
BuiltInWebService getBuiltInWebServiceByUniqueId(Long uniqueId)
Get theBuiltInWebServiceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
BuiltInWebServicethat 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 theConstraintDefinitionby 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
ConstraintDefinitionthat is uniquely identified by the key.
-
getConstraintDefinitionByName
ConstraintDefinition getConstraintDefinitionByName(String name)
Get theConstraintDefinitionby Name. Calling this method is equivalent to calling:getConstraintDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ConstraintDefinitionthat is uniquely identified by the key. - See Also:
getConstraintDefinitionByName(Partition, String)
-
getConstraintDefinitionByUniqueId
ConstraintDefinition getConstraintDefinitionByUniqueId(Long uniqueId)
Get theConstraintDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ConstraintDefinitionthat 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 theCredentialby 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
Credentialthat is uniquely identified by the key.
-
getCredentialByCredentialProtocolEndpointRealUser
Credential getCredentialByCredentialProtocolEndpointRealUser(CredentialProtocol credentialProtocol, String endpoint, String realUser)
Get theCredentialby 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
Credentialthat 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 theCredentialby 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
Credentialthat is uniquely identified by the key.
-
getCredentialByCredentialProtocolEndpointVirtualUser
Credential getCredentialByCredentialProtocolEndpointVirtualUser(CredentialProtocol credentialProtocol, String endpoint, String virtualUser)
Get theCredentialby 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
Credentialthat is uniquely identified by the key. - See Also:
getCredentialByCredentialProtocolEndpointVirtualUser(Partition, CredentialProtocol, String, String)
-
getCredentialByUniqueId
Credential getCredentialByUniqueId(Long uniqueId)
Get theCredentialby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Credentialthat 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 theCredentialProtocolby 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
CredentialProtocolthat is uniquely identified by the key.
-
getCredentialProtocolByName
CredentialProtocol getCredentialProtocolByName(String name)
Get theCredentialProtocolby Name. Calling this method is equivalent to calling:getCredentialProtocolByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
CredentialProtocolthat is uniquely identified by the key. - See Also:
getCredentialProtocolByName(Partition, String)
-
getCredentialProtocolByUniqueId
CredentialProtocol getCredentialProtocolByUniqueId(Long uniqueId)
Get theCredentialProtocolby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
CredentialProtocolthat 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 theDashboardby 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
Dashboardthat is uniquely identified by the key.
-
getDashboardByUniqueId
Dashboard getDashboardByUniqueId(Long uniqueId)
Get theDashboardby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Dashboardthat is uniquely identified by the key.
-
getDashboardItemByUniqueId
DashboardItem getDashboardItemByUniqueId(Long uniqueId)
Get theDashboardItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
DashboardItemthat 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 theDatabaseby 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
Databasethat is uniquely identified by the key.
-
getDatabaseByName
Database getDatabaseByName(String name)
Get theDatabaseby Name. Calling this method is equivalent to calling:getDatabaseByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Databasethat is uniquely identified by the key. - See Also:
getDatabaseByName(Partition, String)
-
getDatabaseByUniqueId
Database getDatabaseByUniqueId(Long uniqueId)
Get theDatabaseby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Databasethat 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 theDatumDefinitionby 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
DatumDefinitionthat is uniquely identified by the key.
-
getDatumDefinitionByName
DatumDefinition getDatumDefinitionByName(String name)
Get theDatumDefinitionby Name. Calling this method is equivalent to calling:getDatumDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
DatumDefinitionthat is uniquely identified by the key. - See Also:
getDatumDefinitionByName(Partition, String)
-
getDatumDefinitionByUniqueId
DatumDefinition getDatumDefinitionByUniqueId(Long uniqueId)
Get theDatumDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
DatumDefinitionthat 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 theDocumentby 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
Documentthat is uniquely identified by the key.
-
getDocumentByUniqueId
Document getDocumentByUniqueId(Long uniqueId)
Get theDocumentby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Documentthat 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 theEmailAlertGatewayby 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
EmailAlertGatewaythat is uniquely identified by the key.
-
getEmailAlertGatewayByName
EmailAlertGateway getEmailAlertGatewayByName(String name)
Get theEmailAlertGatewayby Name. Calling this method is equivalent to calling:getEmailAlertGatewayByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
EmailAlertGatewaythat is uniquely identified by the key. - See Also:
getEmailAlertGatewayByName(Partition, String)
-
getEmailAlertGatewayByUniqueId
EmailAlertGateway getEmailAlertGatewayByUniqueId(Long uniqueId)
Get theEmailAlertGatewayby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewaythat is uniquely identified by the key.
-
getEmailAlertGatewayActionByUniqueId
EmailAlertGatewayAction getEmailAlertGatewayActionByUniqueId(Long uniqueId)
Get theEmailAlertGatewayActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayActionthat is uniquely identified by the key.
-
getEmailAlertGatewayEmailByUniqueId
EmailAlertGatewayEmail getEmailAlertGatewayEmailByUniqueId(Long uniqueId)
Get theEmailAlertGatewayEmailby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayEmailthat is uniquely identified by the key.
-
getEmailAlertGatewayHeaderByUniqueId
EmailAlertGatewayHeader getEmailAlertGatewayHeaderByUniqueId(Long uniqueId)
Get theEmailAlertGatewayHeaderby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayHeaderthat is uniquely identified by the key.
-
getEmailAlertGatewayJobFileAttachmentByUniqueId
EmailAlertGatewayJobFileAttachment getEmailAlertGatewayJobFileAttachmentByUniqueId(Long uniqueId)
Get theEmailAlertGatewayJobFileAttachmentby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EmailAlertGatewayJobFileAttachmentthat is uniquely identified by the key.
-
getEventByUniqueId
Event getEventByUniqueId(Long uniqueId)
Get theEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Eventthat 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 theEventDefinitionby 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
EventDefinitionthat is uniquely identified by the key.
-
getEventDefinitionByName
EventDefinition getEventDefinitionByName(String name)
Get theEventDefinitionby Name. Calling this method is equivalent to calling:getEventDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
EventDefinitionthat is uniquely identified by the key. - See Also:
getEventDefinitionByName(Partition, String)
-
getEventDefinitionByUniqueId
EventDefinition getEventDefinitionByUniqueId(Long uniqueId)
Get theEventDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
EventDefinitionthat 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 theExportby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Exportthat is uniquely identified by the key.
-
getExportRuleByUniqueId
ExportRule getExportRuleByUniqueId(Long uniqueId)
Get theExportRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ExportRulethat is uniquely identified by the key.
-
getExportRuleItemByUniqueId
ExportRuleItem getExportRuleItemByUniqueId(Long uniqueId)
Get theExportRuleItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ExportRuleItemthat 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 theExportRuleSetby 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
ExportRuleSetthat is uniquely identified by the key.
-
getExportRuleSetByName
ExportRuleSet getExportRuleSetByName(String name)
Get theExportRuleSetby Name. Calling this method is equivalent to calling:getExportRuleSetByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ExportRuleSetthat is uniquely identified by the key. - See Also:
getExportRuleSetByName(Partition, String)
-
getExportRuleSetByUniqueId
ExportRuleSet getExportRuleSetByUniqueId(Long uniqueId)
Get theExportRuleSetby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ExportRuleSetthat 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 theExtensionPointby 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
ExtensionPointthat is uniquely identified by the key.
-
getExtensionPointByName
ExtensionPoint getExtensionPointByName(String name)
Get theExtensionPointby Name. Calling this method is equivalent to calling:getExtensionPointByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ExtensionPointthat is uniquely identified by the key. - See Also:
getExtensionPointByName(Partition, String)
-
getExtensionPointByUniqueId
ExtensionPoint getExtensionPointByUniqueId(Long uniqueId)
Get theExtensionPointby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ExtensionPointthat is uniquely identified by the key.
-
getExtensionPointSourceByUniqueId
ExtensionPointSource getExtensionPointSourceByUniqueId(Long uniqueId)
Get theExtensionPointSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ExtensionPointSourcethat is uniquely identified by the key.
-
getFileEventByUniqueId
FileEvent getFileEventByUniqueId(Long uniqueId)
Get theFileEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
FileEventthat is uniquely identified by the key.
-
getFileEventDefinitionByUniqueId
FileEventDefinition getFileEventDefinitionByUniqueId(Long uniqueId)
Get theFileEventDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
FileEventDefinitionthat is uniquely identified by the key.
-
getFinalStatusHandlerByUniqueId
FinalStatusHandler getFinalStatusHandlerByUniqueId(Long uniqueId)
Get theFinalStatusHandlerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
FinalStatusHandlerthat 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 theForecastJobby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ForecastJobthat 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 theFormatby 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
Formatthat is uniquely identified by the key.
-
getFormatByName
Format getFormatByName(String name)
Get theFormatby Name. Calling this method is equivalent to calling:getFormatByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Formatthat is uniquely identified by the key. - See Also:
getFormatByName(Partition, String)
-
getFormatByUniqueId
Format getFormatByUniqueId(Long uniqueId)
Get theFormatby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Formatthat 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 theGlobalPrivilegeby 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
GlobalPrivilegethat is uniquely identified by the key.
-
getGlobalPrivilegeByUniqueId
GlobalPrivilege getGlobalPrivilegeByUniqueId(Long uniqueId)
Get theGlobalPrivilegeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
GlobalPrivilegethat 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 theImportby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Importthat is uniquely identified by the key.
-
getImportActionByUniqueId
ImportAction getImportActionByUniqueId(Long uniqueId)
Get theImportActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportActionthat is uniquely identified by the key.
-
getImportActionParameterByUniqueId
ImportActionParameter getImportActionParameterByUniqueId(Long uniqueId)
Get theImportActionParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportActionParameterthat is uniquely identified by the key.
-
getImportMatchRuleByUniqueId
ImportMatchRule getImportMatchRuleByUniqueId(Long uniqueId)
Get theImportMatchRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportMatchRulethat is uniquely identified by the key.
-
getImportOverrideRuleByUniqueId
ImportOverrideRule getImportOverrideRuleByUniqueId(Long uniqueId)
Get theImportOverrideRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportOverrideRulethat is uniquely identified by the key.
-
getImportRuleByUniqueId
ImportRule getImportRuleByUniqueId(Long uniqueId)
Get theImportRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportRulethat 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 theImportRuleDefinitionby 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
ImportRuleDefinitionthat is uniquely identified by the key.
-
getImportRuleDefinitionByName
ImportRuleDefinition getImportRuleDefinitionByName(String name)
Get theImportRuleDefinitionby Name. Calling this method is equivalent to calling:getImportRuleDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ImportRuleDefinitionthat is uniquely identified by the key. - See Also:
getImportRuleDefinitionByName(Partition, String)
-
getImportRuleDefinitionByUniqueId
ImportRuleDefinition getImportRuleDefinitionByUniqueId(Long uniqueId)
Get theImportRuleDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportRuleDefinitionthat 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 theImportRuleSetby 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
ImportRuleSetthat is uniquely identified by the key.
-
getImportRuleSetByName
ImportRuleSet getImportRuleSetByName(String name)
Get theImportRuleSetby Name. Calling this method is equivalent to calling:getImportRuleSetByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ImportRuleSetthat is uniquely identified by the key. - See Also:
getImportRuleSetByName(Partition, String)
-
getImportRuleSetByUniqueId
ImportRuleSet getImportRuleSetByUniqueId(Long uniqueId)
Get theImportRuleSetby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportRuleSetthat is uniquely identified by the key.
-
getImportRuleSetPartitionRenameByUniqueId
ImportRuleSetPartitionRename getImportRuleSetPartitionRenameByUniqueId(Long uniqueId)
Get theImportRuleSetPartitionRenameby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportRuleSetPartitionRenamethat 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 theImportSourceby 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
ImportSourcethat is uniquely identified by the key.
-
getImportSourceByName
ImportSource getImportSourceByName(String name)
Get theImportSourceby Name. Calling this method is equivalent to calling:getImportSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ImportSourcethat is uniquely identified by the key. - See Also:
getImportSourceByName(Partition, String)
-
getImportSourceByUniqueId
ImportSource getImportSourceByUniqueId(Long uniqueId)
Get theImportSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ImportSourcethat 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 theIsolationGroupby 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
IsolationGroupthat is uniquely identified by the key.
-
getIsolationGroupByUniqueId
IsolationGroup getIsolationGroupByUniqueId(Long uniqueId)
Get theIsolationGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
IsolationGroupthat is uniquely identified by the key.
-
getJARFileByUniqueId
JARFile getJARFileByUniqueId(Long uniqueId)
Get theJARFileby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JARFilethat is uniquely identified by the key.
-
getJobByJobId
Job getJobByJobId(Long jobId)
Get theJobby 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
Jobthat is uniquely identified by the key.
-
getJobByRemoteIdentifiers
Job getJobByRemoteIdentifiers(String remoteSystem, String remoteId)
Get theJobby 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
Jobthat is uniquely identified by the key.
-
getJobByUniqueId
Job getJobByUniqueId(Long uniqueId)
Get theJobby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Jobthat 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 theJobChainby 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
JobChainthat is uniquely identified by the key.
-
getJobChainByUniqueId
JobChain getJobChainByUniqueId(Long uniqueId)
Get theJobChainby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainthat is uniquely identified by the key.
-
getJobChainCallByUniqueId
JobChainCall getJobChainCallByUniqueId(Long uniqueId)
Get theJobChainCallby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallthat is uniquely identified by the key.
-
getJobChainCallInExpressionParameterByUniqueId
JobChainCallInExpressionParameter getJobChainCallInExpressionParameterByUniqueId(Long uniqueId)
Get theJobChainCallInExpressionParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallInExpressionParameterthat is uniquely identified by the key.
-
getJobChainCallInReferenceParameterByUniqueId
JobChainCallInReferenceParameter getJobChainCallInReferenceParameterByUniqueId(Long uniqueId)
Get theJobChainCallInReferenceParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallInReferenceParameterthat is uniquely identified by the key.
-
getJobChainCallJobLockByUniqueId
JobChainCallJobLock getJobChainCallJobLockByUniqueId(Long uniqueId)
Get theJobChainCallJobLockby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallJobLockthat is uniquely identified by the key.
-
getJobChainCallOutReferenceParameterByUniqueId
JobChainCallOutReferenceParameter getJobChainCallOutReferenceParameterByUniqueId(Long uniqueId)
Get theJobChainCallOutReferenceParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallOutReferenceParameterthat is uniquely identified by the key.
-
getJobChainCallPreconditionByUniqueId
JobChainCallPrecondition getJobChainCallPreconditionByUniqueId(Long uniqueId)
Get theJobChainCallPreconditionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallPreconditionthat is uniquely identified by the key.
-
getJobChainCallProcessMonitorUpdaterByUniqueId
JobChainCallProcessMonitorUpdater getJobChainCallProcessMonitorUpdaterByUniqueId(Long uniqueId)
Get theJobChainCallProcessMonitorUpdaterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallProcessMonitorUpdaterthat is uniquely identified by the key.
-
getJobChainCallRaiseEventByUniqueId
JobChainCallRaiseEvent getJobChainCallRaiseEventByUniqueId(Long uniqueId)
Get theJobChainCallRaiseEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallRaiseEventthat is uniquely identified by the key.
-
getJobChainCallSchedulingParameterByUniqueId
JobChainCallSchedulingParameter getJobChainCallSchedulingParameterByUniqueId(Long uniqueId)
Get theJobChainCallSchedulingParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallSchedulingParameterthat is uniquely identified by the key.
-
getJobChainCallWaitEventByUniqueId
JobChainCallWaitEvent getJobChainCallWaitEventByUniqueId(Long uniqueId)
Get theJobChainCallWaitEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainCallWaitEventthat is uniquely identified by the key.
-
getJobChainStatusHandlerByUniqueId
JobChainStatusHandler getJobChainStatusHandlerByUniqueId(Long uniqueId)
Get theJobChainStatusHandlerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainStatusHandlerthat is uniquely identified by the key.
-
getJobChainStepByUniqueId
JobChainStep getJobChainStepByUniqueId(Long uniqueId)
Get theJobChainStepby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainStepthat is uniquely identified by the key.
-
getJobChainStepPreconditionByUniqueId
JobChainStepPrecondition getJobChainStepPreconditionByUniqueId(Long uniqueId)
Get theJobChainStepPreconditionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainStepPreconditionthat is uniquely identified by the key.
-
getJobChainStepStatusHandlerByUniqueId
JobChainStepStatusHandler getJobChainStepStatusHandlerByUniqueId(Long uniqueId)
Get theJobChainStepStatusHandlerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobChainStepStatusHandlerthat is uniquely identified by the key.
-
getJobDatumByUniqueId
JobDatum getJobDatumByUniqueId(Long uniqueId)
Get theJobDatumby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDatumthat 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 theJobDefinitionby 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
JobDefinitionthat is uniquely identified by the key.
-
getJobDefinitionByName
JobDefinition getJobDefinitionByName(String name)
Get theJobDefinitionby 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
JobDefinitionthat is uniquely identified by the key. - See Also:
getJobDefinitionByName(Partition, String, Long)
-
getJobDefinitionByName
JobDefinition getJobDefinitionByName(Partition partition, String name)
Get theJobDefinitionby 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
JobDefinitionthat is uniquely identified by the key. - See Also:
getJobDefinitionByName(Partition, String, Long)
-
getJobDefinitionByBranchedLLPVersion
JobDefinition getJobDefinitionByBranchedLLPVersion(JobDefinition masterJobDefinition, Long branchedLLPVersion)
Get theJobDefinitionby 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
JobDefinitionthat is uniquely identified by the key.
-
getJobDefinitionByUniqueId
JobDefinition getJobDefinitionByUniqueId(Long uniqueId)
Get theJobDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionthat is uniquely identified by the key.
-
getJobDefinitionActionByUniqueId
JobDefinitionAction getJobDefinitionActionByUniqueId(Long uniqueId)
Get theJobDefinitionActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionActionthat 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 theJobDefinitionAlertSourceby 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
JobDefinitionAlertSourcethat is uniquely identified by the key.
-
getJobDefinitionAlertSourceByName
JobDefinitionAlertSource getJobDefinitionAlertSourceByName(String name)
Get theJobDefinitionAlertSourceby Name. Calling this method is equivalent to calling:getJobDefinitionAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
JobDefinitionAlertSourcethat is uniquely identified by the key. - See Also:
getJobDefinitionAlertSourceByName(Partition, String)
-
getJobDefinitionAlertSourceByUniqueId
JobDefinitionAlertSource getJobDefinitionAlertSourceByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourcethat is uniquely identified by the key.
-
getJobDefinitionAlertSourceParameterMatchByUniqueId
JobDefinitionAlertSourceParameterMatch getJobDefinitionAlertSourceParameterMatchByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceParameterMatchby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceParameterMatchthat is uniquely identified by the key.
-
getJobDefinitionAlertSourceRuleByUniqueId
JobDefinitionAlertSourceRule getJobDefinitionAlertSourceRuleByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceRulethat is uniquely identified by the key.
-
getJobDefinitionAlertSourceStatusByUniqueId
JobDefinitionAlertSourceStatus getJobDefinitionAlertSourceStatusByUniqueId(Long uniqueId)
Get theJobDefinitionAlertSourceStatusby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionAlertSourceStatusthat is uniquely identified by the key.
-
getJobDefinitionConstraintByUniqueId
JobDefinitionConstraint getJobDefinitionConstraintByUniqueId(Long uniqueId)
Get theJobDefinitionConstraintby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionConstraintthat is uniquely identified by the key.
-
getJobDefinitionConstraintParameterMappingByUniqueId
JobDefinitionConstraintParameterMapping getJobDefinitionConstraintParameterMappingByUniqueId(Long uniqueId)
Get theJobDefinitionConstraintParameterMappingby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionConstraintParameterMappingthat is uniquely identified by the key.
-
getJobDefinitionFormByUniqueId
JobDefinitionForm getJobDefinitionFormByUniqueId(Long uniqueId)
Get theJobDefinitionFormby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionFormthat is uniquely identified by the key.
-
getJobDefinitionJobLockByUniqueId
JobDefinitionJobLock getJobDefinitionJobLockByUniqueId(Long uniqueId)
Get theJobDefinitionJobLockby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionJobLockthat is uniquely identified by the key.
-
getJobDefinitionParameterByUniqueId
JobDefinitionParameter getJobDefinitionParameterByUniqueId(Long uniqueId)
Get theJobDefinitionParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionParameterthat 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 theJobDefinitionParameterSubTypeby 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
JobDefinitionParameterSubTypethat is uniquely identified by the key.
-
getJobDefinitionParameterSubTypeByUniqueId
JobDefinitionParameterSubType getJobDefinitionParameterSubTypeByUniqueId(Long uniqueId)
Get theJobDefinitionParameterSubTypeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionParameterSubTypethat is uniquely identified by the key.
-
getJobDefinitionProcessMonitorUpdaterByUniqueId
JobDefinitionProcessMonitorUpdater getJobDefinitionProcessMonitorUpdaterByUniqueId(Long uniqueId)
Get theJobDefinitionProcessMonitorUpdaterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionProcessMonitorUpdaterthat is uniquely identified by the key.
-
getJobDefinitionRaiseEventByUniqueId
JobDefinitionRaiseEvent getJobDefinitionRaiseEventByUniqueId(Long uniqueId)
Get theJobDefinitionRaiseEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionRaiseEventthat is uniquely identified by the key.
-
getJobDefinitionRuntimeLimitByUniqueId
JobDefinitionRuntimeLimit getJobDefinitionRuntimeLimitByUniqueId(Long uniqueId)
Get theJobDefinitionRuntimeLimitby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionRuntimeLimitthat 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 theJobDefinitionTypeby 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
JobDefinitionTypethat is uniquely identified by the key.
-
getJobDefinitionTypeByName
JobDefinitionType getJobDefinitionTypeByName(String name)
Get theJobDefinitionTypeby Name. Calling this method is equivalent to calling:getJobDefinitionTypeByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
JobDefinitionTypethat is uniquely identified by the key. - See Also:
getJobDefinitionTypeByName(Partition, String)
-
getJobDefinitionTypeByUniqueId
JobDefinitionType getJobDefinitionTypeByUniqueId(Long uniqueId)
Get theJobDefinitionTypeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionTypethat is uniquely identified by the key.
-
getJobDefinitionTypeActionByUniqueId
JobDefinitionTypeAction getJobDefinitionTypeActionByUniqueId(Long uniqueId)
Get theJobDefinitionTypeActionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionTypeActionthat is uniquely identified by the key.
-
getJobDefinitionWaitEventByUniqueId
JobDefinitionWaitEvent getJobDefinitionWaitEventByUniqueId(Long uniqueId)
Get theJobDefinitionWaitEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobDefinitionWaitEventthat is uniquely identified by the key.
-
getJobFileByUniqueId
JobFile getJobFileByUniqueId(Long uniqueId)
Get theJobFileby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobFilethat is uniquely identified by the key.
-
getJobFileSearchByUniqueId
JobFileSearch getJobFileSearchByUniqueId(Long uniqueId)
Get theJobFileSearchby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobFileSearchthat 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 theJobGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobGroupthat is uniquely identified by the key.
-
getJobGroupParameterByUniqueId
JobGroupParameter getJobGroupParameterByUniqueId(Long uniqueId)
Get theJobGroupParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobGroupParameterthat is uniquely identified by the key.
-
getJobJobLockByUniqueId
JobJobLock getJobJobLockByUniqueId(Long uniqueId)
Get theJobJobLockby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobJobLockthat 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 theJobLockby 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
JobLockthat is uniquely identified by the key.
-
getJobLockByName
JobLock getJobLockByName(String name)
Get theJobLockby Name. Calling this method is equivalent to calling:getJobLockByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
JobLockthat is uniquely identified by the key. - See Also:
getJobLockByName(Partition, String)
-
getJobLockByUniqueId
JobLock getJobLockByUniqueId(Long uniqueId)
Get theJobLockby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobLockthat is uniquely identified by the key.
-
getJobNoteByUniqueId
JobNote getJobNoteByUniqueId(Long uniqueId)
Get theJobNoteby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobNotethat is uniquely identified by the key.
-
getJobParameterByUniqueId
JobParameter getJobParameterByUniqueId(Long uniqueId)
Get theJobParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobParameterthat is uniquely identified by the key.
-
getJobRaiseEventByUniqueId
JobRaiseEvent getJobRaiseEventByUniqueId(Long uniqueId)
Get theJobRaiseEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobRaiseEventthat is uniquely identified by the key.
-
getJobRuntimeLimitByUniqueId
JobRuntimeLimit getJobRuntimeLimitByUniqueId(Long uniqueId)
Get theJobRuntimeLimitby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobRuntimeLimitthat is uniquely identified by the key.
-
getJobWaitEventByUniqueId
JobWaitEvent getJobWaitEventByUniqueId(Long uniqueId)
Get theJobWaitEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
JobWaitEventthat 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 theLanguageby 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
Languagethat is uniquely identified by the key.
-
getLanguageByTag
Language getLanguageByTag(String tag)
Get theLanguageby 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
Languagethat is uniquely identified by the key.
-
getLanguageByUniqueId
Language getLanguageByUniqueId(Long uniqueId)
Get theLanguageby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Languagethat 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 theLDAPProfileby 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
LDAPProfilethat is uniquely identified by the key.
-
getLDAPProfileByProfileName
LDAPProfile getLDAPProfileByProfileName(String profileName)
Get theLDAPProfileby 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
LDAPProfilethat is uniquely identified by the key.
-
getLDAPProfileByConnectionURL
LDAPProfile getLDAPProfileByConnectionURL(String connectionURL)
Get theLDAPProfileby 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
LDAPProfilethat is uniquely identified by the key.
-
getLDAPProfileByLDAPServerType
LDAPProfile getLDAPProfileByLDAPServerType(LDAPServerType lDAPServerType)
Get theLDAPProfileby 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
LDAPProfilethat is uniquely identified by the key.
-
getLDAPProfileByUniqueId
LDAPProfile getLDAPProfileByUniqueId(Long uniqueId)
Get theLDAPProfileby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
LDAPProfilethat 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 theLibraryby 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
Librarythat is uniquely identified by the key.
-
getLibraryByName
Library getLibraryByName(String name)
Get theLibraryby Name. Calling this method is equivalent to calling:getLibraryByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Librarythat is uniquely identified by the key. - See Also:
getLibraryByName(Partition, String)
-
getLibraryByUniqueId
Library getLibraryByUniqueId(Long uniqueId)
Get theLibraryby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Librarythat is uniquely identified by the key.
-
getLibrarySourceByUniqueId
LibrarySource getLibrarySourceByUniqueId(Long uniqueId)
Get theLibrarySourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
LibrarySourcethat 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 theLicenseKeyby 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
LicenseKeythat is uniquely identified by the key.
-
getLicenseKeyByName
LicenseKey getLicenseKeyByName(String name)
Get theLicenseKeyby 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
LicenseKeythat is uniquely identified by the key.
-
getLicenseKeyByUniqueId
LicenseKey getLicenseKeyByUniqueId(Long uniqueId)
Get theLicenseKeyby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
LicenseKeythat is uniquely identified by the key.
-
getMailConnectionSettingByUniqueId
MailConnectionSetting getMailConnectionSettingByUniqueId(Long uniqueId)
Get theMailConnectionSettingby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MailConnectionSettingthat 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 theMailConnectorby 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
MailConnectorthat is uniquely identified by the key.
-
getMailConnectorByName
MailConnector getMailConnectorByName(String name)
Get theMailConnectorby Name. Calling this method is equivalent to calling:getMailConnectorByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
MailConnectorthat is uniquely identified by the key. - See Also:
getMailConnectorByName(Partition, String)
-
getMailConnectorByUniqueId
MailConnector getMailConnectorByUniqueId(Long uniqueId)
Get theMailConnectorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MailConnectorthat 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 theModuleStateby 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
ModuleStatethat is uniquely identified by the key.
-
getModuleStateByUniqueId
ModuleState getModuleStateByUniqueId(Long uniqueId)
Get theModuleStateby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ModuleStatethat 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 theMonitorAlertSourceby 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
MonitorAlertSourcethat is uniquely identified by the key.
-
getMonitorAlertSourceByName
MonitorAlertSource getMonitorAlertSourceByName(String name)
Get theMonitorAlertSourceby Name. Calling this method is equivalent to calling:getMonitorAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
MonitorAlertSourcethat is uniquely identified by the key. - See Also:
getMonitorAlertSourceByName(Partition, String)
-
getMonitorAlertSourceByUniqueId
MonitorAlertSource getMonitorAlertSourceByUniqueId(Long uniqueId)
Get theMonitorAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorAlertSourcethat is uniquely identified by the key.
-
getMonitorAlertSourceRuleByUniqueId
MonitorAlertSourceRule getMonitorAlertSourceRuleByUniqueId(Long uniqueId)
Get theMonitorAlertSourceRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorAlertSourceRulethat 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 theMonitorCheckby 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
MonitorCheckthat is uniquely identified by the key.
-
getMonitorCheckByParentName
MonitorCheck getMonitorCheckByParentName(MonitorNode parentMonitorNode, String name)
Get theMonitorCheckby 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
MonitorCheckthat is uniquely identified by the key.
-
getMonitorCheckByUniqueId
MonitorCheck getMonitorCheckByUniqueId(Long uniqueId)
Get theMonitorCheckby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorCheckthat is uniquely identified by the key.
-
getMonitorConditionByUniqueId
MonitorCondition getMonitorConditionByUniqueId(Long uniqueId)
Get theMonitorConditionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorConditionthat is uniquely identified by the key.
-
getMonitorEventByUniqueId
MonitorEvent getMonitorEventByUniqueId(Long uniqueId)
Get theMonitorEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorEventthat 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 theMonitorLinkby 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
MonitorLinkthat is uniquely identified by the key.
-
getMonitorLinkByUniqueId
MonitorLink getMonitorLinkByUniqueId(Long uniqueId)
Get theMonitorLinkby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorLinkthat 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 theMonitorNodeby 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
MonitorNodethat is uniquely identified by the key.
-
getMonitorNodeByParentName
MonitorNode getMonitorNodeByParentName(MonitorNode parentMonitorNode, String name)
Get theMonitorNodeby 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
MonitorNodethat is uniquely identified by the key.
-
getMonitorNodeByUniqueId
MonitorNode getMonitorNodeByUniqueId(Long uniqueId)
Get theMonitorNodeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorNodethat is uniquely identified by the key.
-
getMonitorValueByUniqueId
MonitorValue getMonitorValueByUniqueId(Long uniqueId)
Get theMonitorValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
MonitorValuethat 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 theNavigationBarby 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
NavigationBarthat is uniquely identified by the key.
-
getNavigationBarByOwnerSubjectName
NavigationBar getNavigationBarByOwnerSubjectName(Subject ownerSubject, String name)
Get theNavigationBarby 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
NavigationBarthat is uniquely identified by the key. - See Also:
getNavigationBarByOwnerSubjectName(Partition, Subject, String)
-
getNavigationBarByName
NavigationBar getNavigationBarByName(Partition partition, String name)
Get theNavigationBarby 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
NavigationBarthat is uniquely identified by the key.
-
getNavigationBarByName
NavigationBar getNavigationBarByName(String name)
Get theNavigationBarby Name. Calling this method is equivalent to calling:getNavigationBarByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
NavigationBarthat is uniquely identified by the key. - See Also:
getNavigationBarByName(Partition, String)
-
getNavigationBarByUniqueId
NavigationBar getNavigationBarByUniqueId(Long uniqueId)
Get theNavigationBarby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
NavigationBarthat is uniquely identified by the key.
-
getNavigationBarItemByUniqueId
NavigationBarItem getNavigationBarItemByUniqueId(Long uniqueId)
Get theNavigationBarItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
NavigationBarItemthat 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 theObjectDefinitionby 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
ObjectDefinitionthat is uniquely identified by the key.
-
getObjectDefinitionByUniqueId
ObjectDefinition getObjectDefinitionByUniqueId(Long uniqueId)
Get theObjectDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectDefinitionthat is uniquely identified by the key.
-
getObjectFieldDefinitionByUniqueId
ObjectFieldDefinition getObjectFieldDefinitionByUniqueId(Long uniqueId)
Get theObjectFieldDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectFieldDefinitionthat is uniquely identified by the key.
-
getObjectIndexByName
ObjectIndex getObjectIndexByName(String name)
Get theObjectIndexby 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
ObjectIndexthat is uniquely identified by the key.
-
getObjectIndexByUniqueId
ObjectIndex getObjectIndexByUniqueId(Long uniqueId)
Get theObjectIndexby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectIndexthat is uniquely identified by the key.
-
getObjectIndexColumnByUniqueId
ObjectIndexColumn getObjectIndexColumnByUniqueId(Long uniqueId)
Get theObjectIndexColumnby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectIndexColumnthat is uniquely identified by the key.
-
getObjectReferenceByUniqueId
ObjectReference getObjectReferenceByUniqueId(Long uniqueId)
Get theObjectReferenceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectReferencethat 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 theObjectSearchby 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
ObjectSearchthat is uniquely identified by the key.
-
getObjectSearchByUniqueId
ObjectSearch getObjectSearchByUniqueId(Long uniqueId)
Get theObjectSearchby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectSearchthat is uniquely identified by the key.
-
getObjectSearchConditionByUniqueId
ObjectSearchCondition getObjectSearchConditionByUniqueId(Long uniqueId)
Get theObjectSearchConditionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectSearchConditionthat is uniquely identified by the key.
-
getObjectTagByUniqueId
ObjectTag getObjectTagByUniqueId(Long uniqueId)
Get theObjectTagby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectTagthat 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 theObjectTagDefinitionby 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
ObjectTagDefinitionthat is uniquely identified by the key.
-
getObjectTagDefinitionByName
ObjectTagDefinition getObjectTagDefinitionByName(String name)
Get theObjectTagDefinitionby Name. Calling this method is equivalent to calling:getObjectTagDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ObjectTagDefinitionthat is uniquely identified by the key. - See Also:
getObjectTagDefinitionByName(Partition, String)
-
getObjectTagDefinitionByUniqueId
ObjectTagDefinition getObjectTagDefinitionByUniqueId(Long uniqueId)
Get theObjectTagDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ObjectTagDefinitionthat 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 theOperatorMessageby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OperatorMessagethat is uniquely identified by the key.
-
getOperatorMessageDatumByUniqueId
OperatorMessageDatum getOperatorMessageDatumByUniqueId(Long uniqueId)
Get theOperatorMessageDatumby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OperatorMessageDatumthat is uniquely identified by the key.
-
getOraAppsJobControlRuleByUniqueId
OraAppsJobControlRule getOraAppsJobControlRuleByUniqueId(Long uniqueId)
Get theOraAppsJobControlRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OraAppsJobControlRulethat 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 theOraAppsSystemby 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
OraAppsSystemthat is uniquely identified by the key.
-
getOraAppsSystemByQueue
OraAppsSystem getOraAppsSystemByQueue(Queue queue)
Get theOraAppsSystemby 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
OraAppsSystemthat is uniquely identified by the key.
-
getOraAppsSystemByName
OraAppsSystem getOraAppsSystemByName(Partition partition, String name)
Get theOraAppsSystemby 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
OraAppsSystemthat is uniquely identified by the key.
-
getOraAppsSystemByName
OraAppsSystem getOraAppsSystemByName(String name)
Get theOraAppsSystemby Name. Calling this method is equivalent to calling:getOraAppsSystemByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
OraAppsSystemthat is uniquely identified by the key. - See Also:
getOraAppsSystemByName(Partition, String)
-
getOraAppsSystemByUniqueId
OraAppsSystem getOraAppsSystemByUniqueId(Long uniqueId)
Get theOraAppsSystemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OraAppsSystemthat 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 theOracleConnectionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OracleConnectionthat 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 theOraOhiSystemby 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
OraOhiSystemthat is uniquely identified by the key.
-
getOraOhiSystemByQueue
OraOhiSystem getOraOhiSystemByQueue(Queue queue)
Get theOraOhiSystemby 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
OraOhiSystemthat is uniquely identified by the key.
-
getOraOhiSystemByName
OraOhiSystem getOraOhiSystemByName(Partition partition, String name)
Get theOraOhiSystemby 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
OraOhiSystemthat is uniquely identified by the key.
-
getOraOhiSystemByName
OraOhiSystem getOraOhiSystemByName(String name)
Get theOraOhiSystemby Name. Calling this method is equivalent to calling:getOraOhiSystemByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
OraOhiSystemthat is uniquely identified by the key. - See Also:
getOraOhiSystemByName(Partition, String)
-
getOraOhiSystemByUniqueId
OraOhiSystem getOraOhiSystemByUniqueId(Long uniqueId)
Get theOraOhiSystemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
OraOhiSystemthat 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 thePartitionby 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
Partitionthat is uniquely identified by the key.
-
getPartitionByUniqueId
Partition getPartitionByUniqueId(Long uniqueId)
Get thePartitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Partitionthat is uniquely identified by the key.
-
getPeopleSoftJobControlRuleByUniqueId
PeopleSoftJobControlRule getPeopleSoftJobControlRuleByUniqueId(Long uniqueId)
Get thePeopleSoftJobControlRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftJobControlRulethat is uniquely identified by the key.
-
getPeopleSoftJobOutputLocationByUniqueId
PeopleSoftJobOutputLocation getPeopleSoftJobOutputLocationByUniqueId(Long uniqueId)
Get thePeopleSoftJobOutputLocationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftJobOutputLocationthat 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 thePeopleSoftSystemby 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
PeopleSoftSystemthat is uniquely identified by the key.
-
getPeopleSoftSystemByQueue
PeopleSoftSystem getPeopleSoftSystemByQueue(Queue queue)
Get thePeopleSoftSystemby 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
PeopleSoftSystemthat is uniquely identified by the key.
-
getPeopleSoftSystemByName
PeopleSoftSystem getPeopleSoftSystemByName(Partition partition, String name)
Get thePeopleSoftSystemby 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
PeopleSoftSystemthat is uniquely identified by the key.
-
getPeopleSoftSystemByName
PeopleSoftSystem getPeopleSoftSystemByName(String name)
Get thePeopleSoftSystemby Name. Calling this method is equivalent to calling:getPeopleSoftSystemByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
PeopleSoftSystemthat is uniquely identified by the key. - See Also:
getPeopleSoftSystemByName(Partition, String)
-
getPeopleSoftSystemByUniqueId
PeopleSoftSystem getPeopleSoftSystemByUniqueId(Long uniqueId)
Get thePeopleSoftSystemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PeopleSoftSystemthat 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 thePeriodFunctionby 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
PeriodFunctionthat is uniquely identified by the key.
-
getPeriodFunctionByName
PeriodFunction getPeriodFunctionByName(String name)
Get thePeriodFunctionby Name. Calling this method is equivalent to calling:getPeriodFunctionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
PeriodFunctionthat is uniquely identified by the key. - See Also:
getPeriodFunctionByName(Partition, String)
-
getPeriodFunctionByUniqueId
PeriodFunction getPeriodFunctionByUniqueId(Long uniqueId)
Get thePeriodFunctionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PeriodFunctionthat 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 theProcessMonitorby 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
ProcessMonitorthat is uniquely identified by the key.
-
getProcessMonitorByUniqueId
ProcessMonitor getProcessMonitorByUniqueId(Long uniqueId)
Get theProcessMonitorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorthat 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 theProcessMonitorDefinitionby 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
ProcessMonitorDefinitionthat is uniquely identified by the key.
-
getProcessMonitorDefinitionByName
ProcessMonitorDefinition getProcessMonitorDefinitionByName(String name)
Get theProcessMonitorDefinitionby Name. Calling this method is equivalent to calling:getProcessMonitorDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ProcessMonitorDefinitionthat is uniquely identified by the key. - See Also:
getProcessMonitorDefinitionByName(Partition, String)
-
getProcessMonitorDefinitionByUniqueId
ProcessMonitorDefinition getProcessMonitorDefinitionByUniqueId(Long uniqueId)
Get theProcessMonitorDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorDefinitionthat is uniquely identified by the key.
-
getProcessMonitorItemByUniqueId
ProcessMonitorItem getProcessMonitorItemByUniqueId(Long uniqueId)
Get theProcessMonitorItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorItemthat is uniquely identified by the key.
-
getProcessMonitorItemDefinitionByUniqueId
ProcessMonitorItemDefinition getProcessMonitorItemDefinitionByUniqueId(Long uniqueId)
Get theProcessMonitorItemDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorItemDefinitionthat 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 theProcessMonitorLogby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessMonitorLogthat 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 theProcessServerby 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
ProcessServerthat is uniquely identified by the key.
-
getProcessServerByName
ProcessServer getProcessServerByName(String name)
Get theProcessServerby Name. Calling this method is equivalent to calling:getProcessServerByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ProcessServerthat is uniquely identified by the key. - See Also:
getProcessServerByName(Partition, String)
-
getProcessServerByUniqueId
ProcessServer getProcessServerByUniqueId(Long uniqueId)
Get theProcessServerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerthat 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 theProcessServerAlertSourceby 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
ProcessServerAlertSourcethat is uniquely identified by the key.
-
getProcessServerAlertSourceByName
ProcessServerAlertSource getProcessServerAlertSourceByName(String name)
Get theProcessServerAlertSourceby Name. Calling this method is equivalent to calling:getProcessServerAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
ProcessServerAlertSourcethat is uniquely identified by the key. - See Also:
getProcessServerAlertSourceByName(Partition, String)
-
getProcessServerAlertSourceByUniqueId
ProcessServerAlertSource getProcessServerAlertSourceByUniqueId(Long uniqueId)
Get theProcessServerAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerAlertSourcethat is uniquely identified by the key.
-
getProcessServerAlertSourceStatusByUniqueId
ProcessServerAlertSourceStatus getProcessServerAlertSourceStatusByUniqueId(Long uniqueId)
Get theProcessServerAlertSourceStatusby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerAlertSourceStatusthat is uniquely identified by the key.
-
getProcessServerCheckByUniqueId
ProcessServerCheck getProcessServerCheckByUniqueId(Long uniqueId)
Get theProcessServerCheckby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheckthat is uniquely identified by the key.
-
getProcessServerCheckLogByUniqueId
ProcessServerCheckLog getProcessServerCheckLogByUniqueId(Long uniqueId)
Get theProcessServerCheckLogby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheckLogthat is uniquely identified by the key.
-
getProcessServerCheckLogParameterByUniqueId
ProcessServerCheckLogParameter getProcessServerCheckLogParameterByUniqueId(Long uniqueId)
Get theProcessServerCheckLogParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerCheckLogParameterthat is uniquely identified by the key.
-
getProcessServerJobDefinitionTypeByUniqueId
ProcessServerJobDefinitionType getProcessServerJobDefinitionTypeByUniqueId(Long uniqueId)
Get theProcessServerJobDefinitionTypeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerJobDefinitionTypethat is uniquely identified by the key.
-
getProcessServerLoadFactorByUniqueId
ProcessServerLoadFactor getProcessServerLoadFactorByUniqueId(Long uniqueId)
Get theProcessServerLoadFactorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerLoadFactorthat is uniquely identified by the key.
-
getProcessServerParameterByUniqueId
ProcessServerParameter getProcessServerParameterByUniqueId(Long uniqueId)
Get theProcessServerParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerParameterthat is uniquely identified by the key.
-
getProcessServerResourceByUniqueId
ProcessServerResource getProcessServerResourceByUniqueId(Long uniqueId)
Get theProcessServerResourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerResourcethat is uniquely identified by the key.
-
getProcessServerServiceByUniqueId
ProcessServerService getProcessServerServiceByUniqueId(Long uniqueId)
Get theProcessServerServiceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerServicethat is uniquely identified by the key.
-
getProcessServerStatusLogByUniqueId
ProcessServerStatusLog getProcessServerStatusLogByUniqueId(Long uniqueId)
Get theProcessServerStatusLogby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ProcessServerStatusLogthat 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 thePublishApprovalby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PublishApprovalthat is uniquely identified by the key.
-
getPublishedWebServiceByWSName
PublishedWebService getPublishedWebServiceByWSName(String name, Long branchedLLPVersion)
Get thePublishedWebServiceby 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
PublishedWebServicethat is uniquely identified by the key.
-
getPublishedWebServiceByWSName
PublishedWebService getPublishedWebServiceByWSName(String name)
Get thePublishedWebServiceby 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
PublishedWebServicethat is uniquely identified by the key. - See Also:
getPublishedWebServiceByWSName(String, Long)
-
getPublishedWebServiceByWSUnique
PublishedWebService getPublishedWebServiceByWSUnique(Long isolationGroup, String name, Long branchedLLPVersion)
Get thePublishedWebServiceby 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
PublishedWebServicethat is uniquely identified by the key.
-
getPublishedWebServiceByWSUnique
PublishedWebService getPublishedWebServiceByWSUnique(Long isolationGroup, String name)
Get thePublishedWebServiceby 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
PublishedWebServicethat is uniquely identified by the key. - See Also:
getPublishedWebServiceByWSUnique(Long, String, Long)
-
getPublishedWebServiceByUniqueId
PublishedWebService getPublishedWebServiceByUniqueId(Long uniqueId)
Get thePublishedWebServiceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PublishedWebServicethat 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 thePublishItemby 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
PublishItemthat is uniquely identified by the key.
-
getPublishItemByUniqueId
PublishItem getPublishItemByUniqueId(Long uniqueId)
Get thePublishItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
PublishItemthat 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 theQueryConditionby 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
QueryConditionthat is uniquely identified by the key.
-
getQueryConditionByUniqueId
QueryCondition getQueryConditionByUniqueId(Long uniqueId)
Get theQueryConditionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueryConditionthat is uniquely identified by the key.
-
getQueryConditionValueByUniqueId
QueryConditionValue getQueryConditionValueByUniqueId(Long uniqueId)
Get theQueryConditionValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueryConditionValuethat 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 theQueryFilterby 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
QueryFilterthat is uniquely identified by the key.
-
getQueryFilterByUniqueId
QueryFilter getQueryFilterByUniqueId(Long uniqueId)
Get theQueryFilterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueryFilterthat 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 theQueueby 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
Queuethat is uniquely identified by the key.
-
getQueueByName
Queue getQueueByName(String name)
Get theQueueby Name. Calling this method is equivalent to calling:getQueueByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Queuethat is uniquely identified by the key. - See Also:
getQueueByName(Partition, String)
-
getQueueByUniqueId
Queue getQueueByUniqueId(Long uniqueId)
Get theQueueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Queuethat 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 theQueueAlertSourceby 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
QueueAlertSourcethat is uniquely identified by the key.
-
getQueueAlertSourceByName
QueueAlertSource getQueueAlertSourceByName(String name)
Get theQueueAlertSourceby Name. Calling this method is equivalent to calling:getQueueAlertSourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
QueueAlertSourcethat is uniquely identified by the key. - See Also:
getQueueAlertSourceByName(Partition, String)
-
getQueueAlertSourceByUniqueId
QueueAlertSource getQueueAlertSourceByUniqueId(Long uniqueId)
Get theQueueAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueueAlertSourcethat is uniquely identified by the key.
-
getQueueAlertSourceStatusByUniqueId
QueueAlertSourceStatus getQueueAlertSourceStatusByUniqueId(Long uniqueId)
Get theQueueAlertSourceStatusby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueueAlertSourceStatusthat is uniquely identified by the key.
-
getQueueProviderByUniqueId
QueueProvider getQueueProviderByUniqueId(Long uniqueId)
Get theQueueProviderby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
QueueProviderthat 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 theR2WCatalogby 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
R2WCatalogthat is uniquely identified by the key.
-
getR2WCatalogByName
R2WCatalog getR2WCatalogByName(Partition partition, String name)
Get theR2WCatalogby 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
R2WCatalogthat is uniquely identified by the key.
-
getR2WCatalogByName
R2WCatalog getR2WCatalogByName(String name)
Get theR2WCatalogby Name. Calling this method is equivalent to calling:getR2WCatalogByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
R2WCatalogthat is uniquely identified by the key. - See Also:
getR2WCatalogByName(Partition, String)
-
getR2WCatalogByUniqueId
R2WCatalog getR2WCatalogByUniqueId(Long uniqueId)
Get theR2WCatalogby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
R2WCatalogthat is uniquely identified by the key.
-
getR2WCatalogAliasByUniqueR2WCatalog
R2WCatalogAlias getR2WCatalogAliasByUniqueR2WCatalog(String name)
Get theR2WCatalogAliasby 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
R2WCatalogAliasthat is uniquely identified by the key.
-
getR2WCatalogAliasByUniqueId
R2WCatalogAlias getR2WCatalogAliasByUniqueId(Long uniqueId)
Get theR2WCatalogAliasby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
R2WCatalogAliasthat 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 theRegistryEntryby 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
RegistryEntrythat is uniquely identified by the key.
-
getRegistryEntryByUniqueId
RegistryEntry getRegistryEntryByUniqueId(Long uniqueId)
Get theRegistryEntryby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
RegistryEntrythat is uniquely identified by the key.
-
getRELEntryPointByUniqueId
RELEntryPoint getRELEntryPointByUniqueId(Long uniqueId)
Get theRELEntryPointby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
RELEntryPointthat 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 theRemoteSystemby 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
RemoteSystemthat is uniquely identified by the key.
-
getRemoteSystemByName
RemoteSystem getRemoteSystemByName(String name)
Get theRemoteSystemby Name. Calling this method is equivalent to calling:getRemoteSystemByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
RemoteSystemthat is uniquely identified by the key. - See Also:
getRemoteSystemByName(Partition, String)
-
getRemoteSystemByUniqueId
RemoteSystem getRemoteSystemByUniqueId(Long uniqueId)
Get theRemoteSystemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
RemoteSystemthat 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 theReportby 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
Reportthat is uniquely identified by the key.
-
getReportByUniqueId
Report getReportByUniqueId(Long uniqueId)
Get theReportby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Reportthat is uniquely identified by the key.
-
getReportColumnByUniqueId
ReportColumn getReportColumnByUniqueId(Long uniqueId)
Get theReportColumnby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ReportColumnthat is uniquely identified by the key.
-
getReportSelectionByUniqueId
ReportSelection getReportSelectionByUniqueId(Long uniqueId)
Get theReportSelectionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ReportSelectionthat is uniquely identified by the key.
-
getReportSortByUniqueId
ReportSort getReportSortByUniqueId(Long uniqueId)
Get theReportSortby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
ReportSortthat 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 theResourceby 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
Resourcethat is uniquely identified by the key.
-
getResourceByName
Resource getResourceByName(String name)
Get theResourceby Name. Calling this method is equivalent to calling:getResourceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Resourcethat is uniquely identified by the key. - See Also:
getResourceByName(Partition, String)
-
getResourceByUniqueId
Resource getResourceByUniqueId(Long uniqueId)
Get theResourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Resourcethat is uniquely identified by the key.
-
getRestrictedSchedulerSessionSpecificationByUniqueId
RestrictedSchedulerSessionSpecification getRestrictedSchedulerSessionSpecificationByUniqueId(Long uniqueId)
Get theRestrictedSchedulerSessionSpecificationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
RestrictedSchedulerSessionSpecificationthat is uniquely identified by the key.
-
getSAPAbapProgramByUniqueId
SAPAbapProgram getSAPAbapProgramByUniqueId(Long uniqueId)
Get theSAPAbapProgramby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapProgramthat is uniquely identified by the key.
-
getSAPAbapProgramParameterByUniqueId
SAPAbapProgramParameter getSAPAbapProgramParameterByUniqueId(Long uniqueId)
Get theSAPAbapProgramParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapProgramParameterthat is uniquely identified by the key.
-
getSAPAbapVariantByUniqueId
SAPAbapVariant getSAPAbapVariantByUniqueId(Long uniqueId)
Get theSAPAbapVariantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantthat is uniquely identified by the key.
-
getSAPAbapVariantParameterByUniqueId
SAPAbapVariantParameter getSAPAbapVariantParameterByUniqueId(Long uniqueId)
Get theSAPAbapVariantParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantParameterthat is uniquely identified by the key.
-
getSAPAbapVariantParameterValueByUniqueId
SAPAbapVariantParameterValue getSAPAbapVariantParameterValueByUniqueId(Long uniqueId)
Get theSAPAbapVariantParameterValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantParameterValuethat is uniquely identified by the key.
-
getSAPAbapVariantSeloptByUniqueId
SAPAbapVariantSelopt getSAPAbapVariantSeloptByUniqueId(Long uniqueId)
Get theSAPAbapVariantSeloptby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantSeloptthat is uniquely identified by the key.
-
getSAPAbapVariantSeloptValueByUniqueId
SAPAbapVariantSeloptValue getSAPAbapVariantSeloptValueByUniqueId(Long uniqueId)
Get theSAPAbapVariantSeloptValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPAbapVariantSeloptValuethat is uniquely identified by the key.
-
getSAPApplicationServerByUniqueId
SAPApplicationServer getSAPApplicationServerByUniqueId(Long uniqueId)
Get theSAPApplicationServerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerthat is uniquely identified by the key.
-
getSAPApplicationServerGroupByUniqueId
SAPApplicationServerGroup getSAPApplicationServerGroupByUniqueId(Long uniqueId)
Get theSAPApplicationServerGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerGroupthat is uniquely identified by the key.
-
getSAPApplicationServerLoadFactorByUniqueId
SAPApplicationServerLoadFactor getSAPApplicationServerLoadFactorByUniqueId(Long uniqueId)
Get theSAPApplicationServerLoadFactorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerLoadFactorthat is uniquely identified by the key.
-
getSAPApplicationServerProviderByUniqueId
SAPApplicationServerProvider getSAPApplicationServerProviderByUniqueId(Long uniqueId)
Get theSAPApplicationServerProviderby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPApplicationServerProviderthat is uniquely identified by the key.
-
getSAPArchiveDocumentTypeByUniqueId
SAPArchiveDocumentType getSAPArchiveDocumentTypeByUniqueId(Long uniqueId)
Get theSAPArchiveDocumentTypeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPArchiveDocumentTypethat is uniquely identified by the key.
-
getSAPArchiveObjectByUniqueId
SAPArchiveObject getSAPArchiveObjectByUniqueId(Long uniqueId)
Get theSAPArchiveObjectby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPArchiveObjectthat is uniquely identified by the key.
-
getSAPBAEConfigurationByUniqueId
SAPBAEConfiguration getSAPBAEConfigurationByUniqueId(Long uniqueId)
Get theSAPBAEConfigurationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPBAEConfigurationthat 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 theSAPBAEConnectorby 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
SAPBAEConnectorthat is uniquely identified by the key.
-
getSAPBAEConnectorByName
SAPBAEConnector getSAPBAEConnectorByName(String name)
Get theSAPBAEConnectorby Name. Calling this method is equivalent to calling:getSAPBAEConnectorByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
SAPBAEConnectorthat is uniquely identified by the key. - See Also:
getSAPBAEConnectorByName(Partition, String)
-
getSAPBAEConnectorByUniqueId
SAPBAEConnector getSAPBAEConnectorByUniqueId(Long uniqueId)
Get theSAPBAEConnectorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPBAEConnectorthat is uniquely identified by the key.
-
getSAPBatchEventByUniqueId
SAPBatchEvent getSAPBatchEventByUniqueId(Long uniqueId)
Get theSAPBatchEventby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPBatchEventthat is uniquely identified by the key.
-
getSAPCalendarByUniqueId
SAPCalendar getSAPCalendarByUniqueId(Long uniqueId)
Get theSAPCalendarby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPCalendarthat is uniquely identified by the key.
-
getSAPExternalCommandByUniqueId
SAPExternalCommand getSAPExternalCommandByUniqueId(Long uniqueId)
Get theSAPExternalCommandby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPExternalCommandthat is uniquely identified by the key.
-
getSAPInfoPackageByUniqueId
SAPInfoPackage getSAPInfoPackageByUniqueId(Long uniqueId)
Get theSAPInfoPackageby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackagethat is uniquely identified by the key.
-
getSAPInfoPackageGroupByUniqueId
SAPInfoPackageGroup getSAPInfoPackageGroupByUniqueId(Long uniqueId)
Get theSAPInfoPackageGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackageGroupthat is uniquely identified by the key.
-
getSAPInfoPackageGroupStepByUniqueId
SAPInfoPackageGroupStep getSAPInfoPackageGroupStepByUniqueId(Long uniqueId)
Get theSAPInfoPackageGroupStepby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPInfoPackageGroupStepthat is uniquely identified by the key.
-
getSAPJ2EEClientByUniqueId
SAPJ2EEClient getSAPJ2EEClientByUniqueId(Long uniqueId)
Get theSAPJ2EEClientby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPJ2EEClientthat is uniquely identified by the key.
-
getSAPLanguageByUniqueId
SAPLanguage getSAPLanguageByUniqueId(Long uniqueId)
Get theSAPLanguageby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPLanguagethat is uniquely identified by the key.
-
getSAPLogErrorByUniqueId
SAPLogError getSAPLogErrorByUniqueId(Long uniqueId)
Get theSAPLogErrorby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPLogErrorthat is uniquely identified by the key.
-
getSAPMassActivityByUniqueId
SAPMassActivity getSAPMassActivityByUniqueId(Long uniqueId)
Get theSAPMassActivityby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivitythat is uniquely identified by the key.
-
getSAPMassActivityFieldParameterByUniqueId
SAPMassActivityFieldParameter getSAPMassActivityFieldParameterByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldParameterthat is uniquely identified by the key.
-
getSAPMassActivityFieldTableByUniqueId
SAPMassActivityFieldTable getSAPMassActivityFieldTableByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTableby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTablethat is uniquely identified by the key.
-
getSAPMassActivityFieldTableRowByUniqueId
SAPMassActivityFieldTableRow getSAPMassActivityFieldTableRowByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTableRowby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTableRowthat is uniquely identified by the key.
-
getSAPMassActivityFieldTableRowValueByUniqueId
SAPMassActivityFieldTableRowValue getSAPMassActivityFieldTableRowValueByUniqueId(Long uniqueId)
Get theSAPMassActivityFieldTableRowValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityFieldTableRowValuethat is uniquely identified by the key.
-
getSAPMassActivityLayoutFieldByUniqueId
SAPMassActivityLayoutField getSAPMassActivityLayoutFieldByUniqueId(Long uniqueId)
Get theSAPMassActivityLayoutFieldby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityLayoutFieldthat is uniquely identified by the key.
-
getSAPMassActivityObjectByUniqueId
SAPMassActivityObject getSAPMassActivityObjectByUniqueId(Long uniqueId)
Get theSAPMassActivityObjectby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityObjectthat is uniquely identified by the key.
-
getSAPMassActivityParameterByUniqueId
SAPMassActivityParameter getSAPMassActivityParameterByUniqueId(Long uniqueId)
Get theSAPMassActivityParameterby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityParameterthat is uniquely identified by the key.
-
getSAPMassActivityParameterSetByUniqueId
SAPMassActivityParameterSet getSAPMassActivityParameterSetByUniqueId(Long uniqueId)
Get theSAPMassActivityParameterSetby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityParameterSetthat is uniquely identified by the key.
-
getSAPMassActivityStructureByUniqueId
SAPMassActivityStructure getSAPMassActivityStructureByUniqueId(Long uniqueId)
Get theSAPMassActivityStructureby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPMassActivityStructurethat is uniquely identified by the key.
-
getSAPNWCallbackParameterMappingByUniqueId
SAPNWCallbackParameterMapping getSAPNWCallbackParameterMappingByUniqueId(Long uniqueId)
Get theSAPNWCallbackParameterMappingby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackParameterMappingthat is uniquely identified by the key.
-
getSAPNWCallbackVariantByUniqueId
SAPNWCallbackVariant getSAPNWCallbackVariantByUniqueId(Long uniqueId)
Get theSAPNWCallbackVariantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackVariantthat is uniquely identified by the key.
-
getSAPNWCallbackVariantDetailByUniqueId
SAPNWCallbackVariantDetail getSAPNWCallbackVariantDetailByUniqueId(Long uniqueId)
Get theSAPNWCallbackVariantDetailby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPNWCallbackVariantDetailthat is uniquely identified by the key.
-
getSAPOutputDeviceByUniqueId
SAPOutputDevice getSAPOutputDeviceByUniqueId(Long uniqueId)
Get theSAPOutputDeviceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPOutputDevicethat is uniquely identified by the key.
-
getSAPOutputFormatByUniqueId
SAPOutputFormat getSAPOutputFormatByUniqueId(Long uniqueId)
Get theSAPOutputFormatby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPOutputFormatthat is uniquely identified by the key.
-
getSAPPIChannelByUniqueId
SAPPIChannel getSAPPIChannelByUniqueId(Long uniqueId)
Get theSAPPIChannelby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPPIChannelthat is uniquely identified by the key.
-
getSAPProcessChainByUniqueId
SAPProcessChain getSAPProcessChainByUniqueId(Long uniqueId)
Get theSAPProcessChainby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPProcessChainthat is uniquely identified by the key.
-
getSAPProcessDefinitionByUniqueId
SAPProcessDefinition getSAPProcessDefinitionByUniqueId(Long uniqueId)
Get theSAPProcessDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPProcessDefinitionthat is uniquely identified by the key.
-
getSAPProcessRestartByUniqueId
SAPProcessRestart getSAPProcessRestartByUniqueId(Long uniqueId)
Get theSAPProcessRestartby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPProcessRestartthat is uniquely identified by the key.
-
getSAPRecipientByUniqueId
SAPRecipient getSAPRecipientByUniqueId(Long uniqueId)
Get theSAPRecipientby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPRecipientthat 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 theSAPScriptby 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
SAPScriptthat is uniquely identified by the key.
-
getSAPScriptByUniqueId
SAPScript getSAPScriptByUniqueId(Long uniqueId)
Get theSAPScriptby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPScriptthat is uniquely identified by the key.
-
getSAPScriptAttributeByUniqueId
SAPScriptAttribute getSAPScriptAttributeByUniqueId(Long uniqueId)
Get theSAPScriptAttributeby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPScriptAttributethat 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 theSAPSystemby 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
SAPSystemthat is uniquely identified by the key.
-
getSAPSystemByQueue
SAPSystem getSAPSystemByQueue(Queue queue)
Get theSAPSystemby 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
SAPSystemthat is uniquely identified by the key.
-
getSAPSystemByName
SAPSystem getSAPSystemByName(Partition partition, String name)
Get theSAPSystemby 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
SAPSystemthat is uniquely identified by the key.
-
getSAPSystemByName
SAPSystem getSAPSystemByName(String name)
Get theSAPSystemby Name. Calling this method is equivalent to calling:getSAPSystemByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
SAPSystemthat is uniquely identified by the key. - See Also:
getSAPSystemByName(Partition, String)
-
getSAPSystemByUniqueId
SAPSystem getSAPSystemByUniqueId(Long uniqueId)
Get theSAPSystemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPSystemthat is uniquely identified by the key.
-
getSAPXALByUniqueId
SAPXAL getSAPXALByUniqueId(Long uniqueId)
Get theSAPXALby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPXALthat is uniquely identified by the key.
-
getSAPXBPByUniqueId
SAPXBP getSAPXBPByUniqueId(Long uniqueId)
Get theSAPXBPby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPXBPthat is uniquely identified by the key.
-
getSAPXBPEventRuleByUniqueId
SAPXBPEventRule getSAPXBPEventRuleByUniqueId(Long uniqueId)
Get theSAPXBPEventRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPXBPEventRulethat is uniquely identified by the key.
-
getSAPXBPJobControlRuleByUniqueId
SAPXBPJobControlRule getSAPXBPJobControlRuleByUniqueId(Long uniqueId)
Get theSAPXBPJobControlRuleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPXBPJobControlRulethat is uniquely identified by the key.
-
getSAPXMWByUniqueId
SAPXMW getSAPXMWByUniqueId(Long uniqueId)
Get theSAPXMWby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SAPXMWthat 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 theScriptby 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
Scriptthat is uniquely identified by the key.
-
getScriptByUniqueId
Script getScriptByUniqueId(Long uniqueId)
Get theScriptby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Scriptthat 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 theServiceby 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
Servicethat is uniquely identified by the key.
-
getServiceByName
Service getServiceByName(String name)
Get theServiceby Name. Calling this method is equivalent to calling:getServiceByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Servicethat is uniquely identified by the key. - See Also:
getServiceByName(Partition, String)
-
getServiceByUniqueId
Service getServiceByUniqueId(Long uniqueId)
Get theServiceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Servicethat 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 theSoftwareGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SoftwareGroupthat is uniquely identified by the key.
-
getSoftwareGroupByName
SoftwareGroup getSoftwareGroupByName(String name)
Get theSoftwareGroupby 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
SoftwareGroupthat is uniquely identified by the key.
-
getSoftwareItemByUniqueId
SoftwareItem getSoftwareItemByUniqueId(Long uniqueId)
Get theSoftwareItemby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SoftwareItemthat is uniquely identified by the key.
-
getSoftwareItemByName
SoftwareItem getSoftwareItemByName(String name)
Get theSoftwareItemby 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
SoftwareItemthat is uniquely identified by the key.
-
getStatisticsByUniqueId
Statistics getStatisticsByUniqueId(Long uniqueId)
Get theStatisticsby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Statisticsthat 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 theStatisticsSampleby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
StatisticsSamplethat 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 theSubjectby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Subjectthat is uniquely identified by the key.
-
getSubjectByTypeName
Subject getSubjectByTypeName(SubjectType type, String name)
Get theSubjectby 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
Subjectthat is uniquely identified by the key.
-
getSubjectByTypeRemoteName
Subject getSubjectByTypeRemoteName(SubjectType type, String remoteName)
Get theSubjectby 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
Subjectthat 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 theSubjectGlobalPrivilegeGrantby 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
SubjectGlobalPrivilegeGrantthat is uniquely identified by the key.
-
getSubjectGlobalPrivilegeGrantByUniqueId
SubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectGlobalPrivilegeGrantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubjectGlobalPrivilegeGrantthat is uniquely identified by the key.
-
getSubjectIsolationGroupByUniqueId
SubjectIsolationGroup getSubjectIsolationGroupByUniqueId(Long uniqueId)
Get theSubjectIsolationGroupby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubjectIsolationGroupthat 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 theSubjectObjectPrivilegeGrantby 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
SubjectObjectPrivilegeGrantthat is uniquely identified by the key.
-
getSubjectObjectPrivilegeGrantByUniqueId
SubjectObjectPrivilegeGrant getSubjectObjectPrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectObjectPrivilegeGrantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubjectObjectPrivilegeGrantthat 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 theSubjectObjectTypePrivilegeGrantby 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
SubjectObjectTypePrivilegeGrantthat is uniquely identified by the key.
-
getSubjectObjectTypePrivilegeGrantByUniqueId
SubjectObjectTypePrivilegeGrant getSubjectObjectTypePrivilegeGrantByUniqueId(Long uniqueId)
Get theSubjectObjectTypePrivilegeGrantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubjectObjectTypePrivilegeGrantthat 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 theSubjectRoleGrantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubjectRoleGrantthat is uniquely identified by the key.
-
getSubjectRoleGrantBySubjectGrants
SubjectRoleGrant getSubjectRoleGrantBySubjectGrants(Subject granteeSubject, Subject grantedSubject)
Get theSubjectRoleGrantby 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
SubjectRoleGrantthat 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 theSubmitFrameby 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
SubmitFramethat is uniquely identified by the key.
-
getSubmitFrameByName
SubmitFrame getSubmitFrameByName(String name)
Get theSubmitFrameby Name. Calling this method is equivalent to calling:getSubmitFrameByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
SubmitFramethat is uniquely identified by the key. - See Also:
getSubmitFrameByName(Partition, String)
-
getSubmitFrameByUniqueId
SubmitFrame getSubmitFrameByUniqueId(Long uniqueId)
Get theSubmitFrameby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubmitFramethat is uniquely identified by the key.
-
getSubmitFrameElementByUniqueId
SubmitFrameElement getSubmitFrameElementByUniqueId(Long uniqueId)
Get theSubmitFrameElementby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
SubmitFrameElementthat 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 theTableby 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
Tablethat is uniquely identified by the key.
-
getTableByName
Table getTableByName(String name)
Get theTableby Name. Calling this method is equivalent to calling:getTableByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Tablethat is uniquely identified by the key. - See Also:
getTableByName(Partition, String)
-
getTableByUniqueId
Table getTableByUniqueId(Long uniqueId)
Get theTableby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Tablethat 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 theTableDefinitionby 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
TableDefinitionthat is uniquely identified by the key.
-
getTableDefinitionByName
TableDefinition getTableDefinitionByName(String name)
Get theTableDefinitionby Name. Calling this method is equivalent to calling:getTableDefinitionByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
TableDefinitionthat is uniquely identified by the key. - See Also:
getTableDefinitionByName(Partition, String)
-
getTableDefinitionByUniqueId
TableDefinition getTableDefinitionByUniqueId(Long uniqueId)
Get theTableDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionthat is uniquely identified by the key.
-
getTableDefinitionColumnByUniqueId
TableDefinitionColumn getTableDefinitionColumnByUniqueId(Long uniqueId)
Get theTableDefinitionColumnby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionColumnthat is uniquely identified by the key.
-
getTableDefinitionConstraintByUniqueId
TableDefinitionConstraint getTableDefinitionConstraintByUniqueId(Long uniqueId)
Get theTableDefinitionConstraintby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionConstraintthat is uniquely identified by the key.
-
getTableDefinitionConstraintParameterMappingByUniqueId
TableDefinitionConstraintParameterMapping getTableDefinitionConstraintParameterMappingByUniqueId(Long uniqueId)
Get theTableDefinitionConstraintParameterMappingby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TableDefinitionConstraintParameterMappingthat is uniquely identified by the key.
-
getTableValueByUniqueId
TableValue getTableValueByUniqueId(Long uniqueId)
Get theTableValueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TableValuethat 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 theTimeWindowby 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
TimeWindowthat is uniquely identified by the key.
-
getTimeWindowByName
TimeWindow getTimeWindowByName(String name)
Get theTimeWindowby Name. Calling this method is equivalent to calling:getTimeWindowByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
TimeWindowthat is uniquely identified by the key. - See Also:
getTimeWindowByName(Partition, String)
-
getTimeWindowByUniqueId
TimeWindow getTimeWindowByUniqueId(Long uniqueId)
Get theTimeWindowby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TimeWindowthat is uniquely identified by the key.
-
getTimeWindowElementByUniqueId
TimeWindowElement getTimeWindowElementByUniqueId(Long uniqueId)
Get theTimeWindowElementby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TimeWindowElementthat 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 theTimeZoneby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TimeZonethat is uniquely identified by the key.
-
getTimeZoneByName
TimeZone getTimeZoneByName(String name)
Get theTimeZoneby 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
TimeZonethat is uniquely identified by the key.
-
getTimeZoneByOlsonName
TimeZone getTimeZoneByOlsonName(String olsonName)
Get theTimeZoneby 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
TimeZonethat is uniquely identified by the key.
-
getTranslationByUniqueId
Translation getTranslationByUniqueId(Long uniqueId)
Get theTranslationby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Translationthat 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 theTranslationKeyby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TranslationKeythat is uniquely identified by the key.
-
getTranslationKeyByKey
TranslationKey getTranslationKeyByKey(String key)
Get theTranslationKeyby 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
TranslationKeythat 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 theTriggerby 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
Triggerthat is uniquely identified by the key.
-
getTriggerByName
Trigger getTriggerByName(Partition partition, String name)
Get theTriggerby 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
Triggerthat is uniquely identified by the key.
-
getTriggerByName
Trigger getTriggerByName(String name)
Get theTriggerby Name. Calling this method is equivalent to calling:getTriggerByName(getPartitionSearchPath(), name);
- Parameters:
name- the Name that must be in the key.- Returns:
- The
Triggerthat is uniquely identified by the key. - See Also:
getTriggerByName(Partition, String)
-
getTriggerByUniqueId
Trigger getTriggerByUniqueId(Long uniqueId)
Get theTriggerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
Triggerthat is uniquely identified by the key.
-
getTriggerSourceByUniqueId
TriggerSource getTriggerSourceByUniqueId(Long uniqueId)
Get theTriggerSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
TriggerSourcethat 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 theUserMessageby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessagethat is uniquely identified by the key.
-
getUserMessageAttachmentByUniqueId
UserMessageAttachment getUserMessageAttachmentByUniqueId(Long uniqueId)
Get theUserMessageAttachmentby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageAttachmentthat 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 theUserMessageDefinitionby 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
UserMessageDefinitionthat is uniquely identified by the key.
-
getUserMessageDefinitionByUniqueId
UserMessageDefinition getUserMessageDefinitionByUniqueId(Long uniqueId)
Get theUserMessageDefinitionby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionthat is uniquely identified by the key.
-
getUserMessageDefinitionAttachmentByUniqueId
UserMessageDefinitionAttachment getUserMessageDefinitionAttachmentByUniqueId(Long uniqueId)
Get theUserMessageDefinitionAttachmentby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionAttachmentthat is uniquely identified by the key.
-
getUserMessageDefinitionParticipantByUniqueId
UserMessageDefinitionParticipant getUserMessageDefinitionParticipantByUniqueId(Long uniqueId)
Get theUserMessageDefinitionParticipantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionParticipantthat is uniquely identified by the key.
-
getUserMessageDefinitionResponseByUniqueId
UserMessageDefinitionResponse getUserMessageDefinitionResponseByUniqueId(Long uniqueId)
Get theUserMessageDefinitionResponseby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageDefinitionResponsethat is uniquely identified by the key.
-
getUserMessageHistoryByUniqueId
UserMessageHistory getUserMessageHistoryByUniqueId(Long uniqueId)
Get theUserMessageHistoryby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageHistorythat is uniquely identified by the key.
-
getUserMessageParticipantByUniqueId
UserMessageParticipant getUserMessageParticipantByUniqueId(Long uniqueId)
Get theUserMessageParticipantby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
UserMessageParticipantthat 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 theVisualizationAlertby 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
VisualizationAlertthat is uniquely identified by the key.
-
getVisualizationAlertByUniqueId
VisualizationAlert getVisualizationAlertByUniqueId(Long uniqueId)
Get theVisualizationAlertby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationAlertthat is uniquely identified by the key.
-
getVisualizationAlertSourceByUniqueId
VisualizationAlertSource getVisualizationAlertSourceByUniqueId(Long uniqueId)
Get theVisualizationAlertSourceby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationAlertSourcethat 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 theVisualizationProcessServerQueueby 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
VisualizationProcessServerQueuethat is uniquely identified by the key.
-
getVisualizationProcessServerQueueByUniqueId
VisualizationProcessServerQueue getVisualizationProcessServerQueueByUniqueId(Long uniqueId)
Get theVisualizationProcessServerQueueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationProcessServerQueuethat is uniquely identified by the key.
-
getVisualizationPSQProcessServerByUniqueId
VisualizationPSQProcessServer getVisualizationPSQProcessServerByUniqueId(Long uniqueId)
Get theVisualizationPSQProcessServerby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQProcessServerthat is uniquely identified by the key.
-
getVisualizationPSQQueueByUniqueId
VisualizationPSQQueue getVisualizationPSQQueueByUniqueId(Long uniqueId)
Get theVisualizationPSQQueueby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQQueuethat is uniquely identified by the key.
-
getVisualizationPSQTextByUniqueId
VisualizationPSQText getVisualizationPSQTextByUniqueId(Long uniqueId)
Get theVisualizationPSQTextby UniqueId. Note that the value returned by this method may be a deleted object if the object has been deleted in this session.- Parameters:
uniqueId- the UniqueId that must be in the key.- Returns:
- The
VisualizationPSQTextthat is uniquely identified by the key.
-
getLicenseKeysByContractName
RWIterable<LicenseKey> getLicenseKeysByContractName(String contractName)
Get all the license keys associated with a contract.- Specified by:
getLicenseKeysByContractNamein 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 theRELEntryPoints visible to this user.- Specified by:
getRELEntryPointsin interfaceSchedulerSessionComp- Returns:
- an iterator over all of the
RELEntryPoints 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 anRWIterablefor 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:
getChangedObjectsin 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:
RWIterablecontaining all changed SchedulerEntities
-
getMonitorAlertSourcesByLinkableMonitor
RWIterable<MonitorAlertSource> getMonitorAlertSourcesByLinkableMonitor(LinkableMonitor linkableMonitor)
Get an iterator of all MonitorAlertSources by LinkableMonitor.- Specified by:
getMonitorAlertSourcesByLinkableMonitorin 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 theDocumentby 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
Documentthat 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:
getSchedulerEntitiesByObjectTypeUniqueIdIteratorin 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 ofLongs.- Returns:
- an
RWIterableover 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 ofLongs.- Returns:
- an
RWIterableover 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:
getPartitionSearchPathin 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 theObjectDefinitionwith 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
-
-