Package com.redwood.scheduler.api.model
Interface ObjectSearchCondition
-
- All Superinterfaces:
Detail
,Readable
,SchedulerEntity
,SchedulerEntityComp
public interface ObjectSearchCondition extends Detail, Readable
The parameters for a Object Search condition. The details of the search condition. There are multiple fields to cover all the search types
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "ObjectSearchCondition" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<ObjectSearchCondition>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateComparisonType
getDateOperator()
Get the value for DateOperator.DateTimeZone
getEndDate()
Get the value for EndDate.String
getLabel()
Get the value for Label.NumberComparisonType
getNumberOperator()
Get the value for NumberOperator.Long
getObjectDefinition()
Get the value for ObjectDefinition.Long
getObjectFieldDefinition()
Get the value for ObjectFieldDefinition.ObjectSearch
getObjectSearch()
Get the ObjectSearch.ObjectSearchOperatorType
getOperator()
Get the value for Operator.String
getParameterName()
Get the value for ParameterName.String
getParameterValue()
Get the value for ParameterValue.Long
getRelatedObjectFieldDefinition()
Get the value for RelatedObjectFieldDefinition.String
getSearchFor()
Get the value for SearchFor.BigDecimal
getSearchNumber()
Get the value for SearchNumber.SchedulerEnumeration
getSpecificFieldOperator()
Get the Operator for the specific field typeObject
getSpecificFieldSearchFor()
Get the object value to search for.DateTimeZone
getStartDate()
Get the value for StartDate.ObjectSearchConditionType
getType()
Get the value for Type.String
getUsername()
Get the value for Username.boolean
isActionSearch()
Get the value for ActionSearch.boolean
isCommentSearch()
Get the value for CommentSearch.boolean
isDescSearch()
Get the value for DescSearch.boolean
isExtensionPointSearch()
Get the value for ExtensionPointSearch.boolean
isFileEventMoveDirectorySearch()
Get the value for FileEventMoveDirectorySearch.boolean
isFileEventSourceSearch()
Get the value for FileEventSourceSearch.boolean
isJobChainDefinitionSearch()
Get the value for JobChainDefinitionSearch.boolean
isJobDefinitionSearch()
Get the value for JobDefinitionSearch.boolean
isJobSearch()
Get the value for JobSearch.boolean
isLibrarySearch()
Get the value for LibrarySearch.boolean
isNameSearch()
Get the value for NameSearch.boolean
isSearchBoolean()
Get the value for SearchBoolean.boolean
isTriggerSearch()
Get the value for TriggerSearch.void
setActionSearch(boolean newActionSearch)
Set the value for ActionSearch.void
setCommentSearch(boolean newCommentSearch)
Set the value for CommentSearch.void
setDateOperator(DateComparisonType newDateOperator)
Set the value for DateOperator.void
setDescSearch(boolean newDescSearch)
Set the value for DescSearch.void
setEndDate(DateTimeZone newEndDate)
Set the value for EndDate.void
setExtensionPointSearch(boolean newExtensionPointSearch)
Set the value for ExtensionPointSearch.void
setFileEventMoveDirectorySearch(boolean newFileEventMoveDirectorySearch)
Set the value for FileEventMoveDirectorySearch.void
setFileEventSourceSearch(boolean newFileEventSourceSearch)
Set the value for FileEventSourceSearch.void
setJobChainDefinitionSearch(boolean newJobChainDefinitionSearch)
Set the value for JobChainDefinitionSearch.void
setJobDefinitionSearch(boolean newJobDefinitionSearch)
Set the value for JobDefinitionSearch.void
setJobSearch(boolean newJobSearch)
Set the value for JobSearch.void
setLabel(String newLabel)
Set the value for Label.void
setLibrarySearch(boolean newLibrarySearch)
Set the value for LibrarySearch.void
setNameSearch(boolean newNameSearch)
Set the value for NameSearch.void
setNumberOperator(NumberComparisonType newNumberOperator)
Set the value for NumberOperator.void
setObjectDefinition(Long newObjectDefinition)
Set the value for ObjectDefinition.void
setObjectFieldDefinition(Long newObjectFieldDefinition)
Set the value for ObjectFieldDefinition.void
setOperator(ObjectSearchOperatorType newOperator)
Set the value for Operator.void
setParameterName(String newParameterName)
Set the value for ParameterName.void
setParameterValue(String newParameterValue)
Set the value for ParameterValue.void
setRelatedObjectFieldDefinition(Long newRelatedObjectFieldDefinition)
Set the value for RelatedObjectFieldDefinition.void
setSearchBoolean(boolean newSearchBoolean)
Set the value for SearchBoolean.void
setSearchFor(String newSearchFor)
Set the value for SearchFor.void
setSearchNumber(BigDecimal newSearchNumber)
Set the value for SearchNumber.void
setStartDate(DateTimeZone newStartDate)
Set the value for StartDate.void
setTriggerSearch(boolean newTriggerSearch)
Set the value for TriggerSearch.void
setType(ObjectSearchConditionType newType)
Set the value for Type.void
setUsername(String newUsername)
Set the value for Username.-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
-
-
-
-
Field Detail
-
OBJECT_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "ObjectSearchCondition" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<ObjectSearchCondition> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
ObjectSearchConditionType getType()
Get the value for Type. (The type of the condition) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getLabel
String getLabel()
Get the value for Label. (The character label for the condition (e.g. A, B, C)) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getOperator
ObjectSearchOperatorType getOperator()
Get the value for Operator. (The operator for the condition) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSearchFor
String getSearchFor()
Get the value for SearchFor. (The string to search for)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isNameSearch
boolean isNameSearch()
Get the value for NameSearch. (Search documentation for Names that match)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isCommentSearch
boolean isCommentSearch()
Get the value for CommentSearch. (Search documentation for Comments that match)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isDescSearch
boolean isDescSearch()
Get the value for DescSearch. (Search documentation for Descriptions that match)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getParameterName
String getParameterName()
Get the value for ParameterName. (The name of to parameter to search for)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getParameterValue
String getParameterValue()
Get the value for ParameterValue. (The value of to parameter)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isJobSearch
boolean isJobSearch()
Get the value for JobSearch. (Search job parameters for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isJobDefinitionSearch
boolean isJobDefinitionSearch()
Get the value for JobDefinitionSearch. (Search job definition parameters for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isJobChainDefinitionSearch
boolean isJobChainDefinitionSearch()
Get the value for JobChainDefinitionSearch. (Search job chain definition parameters for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isLibrarySearch
boolean isLibrarySearch()
Get the value for LibrarySearch. (Search Library source for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isTriggerSearch
boolean isTriggerSearch()
Get the value for TriggerSearch. (Search Trigger source for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isActionSearch
boolean isActionSearch()
Get the value for ActionSearch. (Search Action source for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isFileEventSourceSearch
boolean isFileEventSourceSearch()
Get the value for FileEventSourceSearch. (Search file event source path for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isExtensionPointSearch
boolean isExtensionPointSearch()
Get the value for ExtensionPointSearch. (Search Extension Point source for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isFileEventMoveDirectorySearch
boolean isFileEventMoveDirectorySearch()
Get the value for FileEventMoveDirectorySearch. (Search file event move directory path for matches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getObjectDefinition
Long getObjectDefinition()
Get the value for ObjectDefinition. (The ObjectDefinition to search for a specific field)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getObjectFieldDefinition
Long getObjectFieldDefinition()
Get the value for ObjectFieldDefinition. (The ObjectFieldDefinition to search for a specific field)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getStartDate
DateTimeZone getStartDate()
Get the value for StartDate. (The start date for related searches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getEndDate
DateTimeZone getEndDate()
Get the value for EndDate. (The end date for related searches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSearchNumber
BigDecimal getSearchNumber()
Get the value for SearchNumber. (The number to search for, for related searches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isSearchBoolean
boolean isSearchBoolean()
Get the value for SearchBoolean. (The boolean value to search for, for related searches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getRelatedObjectFieldDefinition
Long getRelatedObjectFieldDefinition()
Get the value for RelatedObjectFieldDefinition. (The ObjectFieldDefinition for the Object associated with the ObjectFieldDefinition)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getNumberOperator
NumberComparisonType getNumberOperator()
Get the value for NumberOperator. (The operator for number based comparison conditions) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getDateOperator
DateComparisonType getDateOperator()
Get the value for DateOperator. (The operator for date based comparison conditions) This value is mandatory, and therefore will not benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getUsername
String getUsername()
Get the value for Username. (The name of the user for Last Modified searches)- Returns:
- the field
- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setType
void setType(ObjectSearchConditionType newType)
Set the value for Type. (The type of the condition) This value is mandatory.- Parameters:
newType
- the new value for Type. If this isnull
, then the object cannot be persisted.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setLabel
void setLabel(String newLabel)
Set the value for Label. (The character label for the condition (e.g. A, B, C)) This value is mandatory.- Parameters:
newLabel
- the new value for Label. If this isnull
, then the object cannot be persisted.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setOperator
void setOperator(ObjectSearchOperatorType newOperator)
Set the value for Operator. (The operator for the condition) This value is mandatory.- Parameters:
newOperator
- the new value for Operator. If this isnull
, then the object cannot be persisted.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setSearchFor
void setSearchFor(String newSearchFor)
Set the value for SearchFor. (The string to search for) This value is optional.- Parameters:
newSearchFor
- the new value for SearchFor.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setNameSearch
void setNameSearch(boolean newNameSearch)
Set the value for NameSearch. (Search documentation for Names that match)- Parameters:
newNameSearch
- the new value for NameSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setCommentSearch
void setCommentSearch(boolean newCommentSearch)
Set the value for CommentSearch. (Search documentation for Comments that match)- Parameters:
newCommentSearch
- the new value for CommentSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDescSearch
void setDescSearch(boolean newDescSearch)
Set the value for DescSearch. (Search documentation for Descriptions that match)- Parameters:
newDescSearch
- the new value for DescSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setParameterName
void setParameterName(String newParameterName)
Set the value for ParameterName. (The name of to parameter to search for) This value is optional.- Parameters:
newParameterName
- the new value for ParameterName.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setParameterValue
void setParameterValue(String newParameterValue)
Set the value for ParameterValue. (The value of to parameter) This value is optional.- Parameters:
newParameterValue
- the new value for ParameterValue.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setJobSearch
void setJobSearch(boolean newJobSearch)
Set the value for JobSearch. (Search job parameters for matches)- Parameters:
newJobSearch
- the new value for JobSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setJobDefinitionSearch
void setJobDefinitionSearch(boolean newJobDefinitionSearch)
Set the value for JobDefinitionSearch. (Search job definition parameters for matches)- Parameters:
newJobDefinitionSearch
- the new value for JobDefinitionSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setJobChainDefinitionSearch
void setJobChainDefinitionSearch(boolean newJobChainDefinitionSearch)
Set the value for JobChainDefinitionSearch. (Search job chain definition parameters for matches)- Parameters:
newJobChainDefinitionSearch
- the new value for JobChainDefinitionSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setLibrarySearch
void setLibrarySearch(boolean newLibrarySearch)
Set the value for LibrarySearch. (Search Library source for matches)- Parameters:
newLibrarySearch
- the new value for LibrarySearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setTriggerSearch
void setTriggerSearch(boolean newTriggerSearch)
Set the value for TriggerSearch. (Search Trigger source for matches)- Parameters:
newTriggerSearch
- the new value for TriggerSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setActionSearch
void setActionSearch(boolean newActionSearch)
Set the value for ActionSearch. (Search Action source for matches)- Parameters:
newActionSearch
- the new value for ActionSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setFileEventSourceSearch
void setFileEventSourceSearch(boolean newFileEventSourceSearch)
Set the value for FileEventSourceSearch. (Search file event source path for matches)- Parameters:
newFileEventSourceSearch
- the new value for FileEventSourceSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setExtensionPointSearch
void setExtensionPointSearch(boolean newExtensionPointSearch)
Set the value for ExtensionPointSearch. (Search Extension Point source for matches)- Parameters:
newExtensionPointSearch
- the new value for ExtensionPointSearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setFileEventMoveDirectorySearch
void setFileEventMoveDirectorySearch(boolean newFileEventMoveDirectorySearch)
Set the value for FileEventMoveDirectorySearch. (Search file event move directory path for matches)- Parameters:
newFileEventMoveDirectorySearch
- the new value for FileEventMoveDirectorySearch.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setObjectDefinition
void setObjectDefinition(Long newObjectDefinition)
Set the value for ObjectDefinition. (The ObjectDefinition to search for a specific field) This value is optional.- Parameters:
newObjectDefinition
- the new value for ObjectDefinition.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setObjectFieldDefinition
void setObjectFieldDefinition(Long newObjectFieldDefinition)
Set the value for ObjectFieldDefinition. (The ObjectFieldDefinition to search for a specific field) This value is optional.- Parameters:
newObjectFieldDefinition
- the new value for ObjectFieldDefinition.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setStartDate
void setStartDate(DateTimeZone newStartDate)
Set the value for StartDate. (The start date for related searches) This value is optional.- Parameters:
newStartDate
- the new value for StartDate.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setEndDate
void setEndDate(DateTimeZone newEndDate)
Set the value for EndDate. (The end date for related searches) This value is optional.- Parameters:
newEndDate
- the new value for EndDate.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setSearchNumber
void setSearchNumber(BigDecimal newSearchNumber)
Set the value for SearchNumber. (The number to search for, for related searches) This value is optional.- Parameters:
newSearchNumber
- the new value for SearchNumber.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setSearchBoolean
void setSearchBoolean(boolean newSearchBoolean)
Set the value for SearchBoolean. (The boolean value to search for, for related searches)- Parameters:
newSearchBoolean
- the new value for SearchBoolean.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setRelatedObjectFieldDefinition
void setRelatedObjectFieldDefinition(Long newRelatedObjectFieldDefinition)
Set the value for RelatedObjectFieldDefinition. (The ObjectFieldDefinition for the Object associated with the ObjectFieldDefinition) This value is optional.- Parameters:
newRelatedObjectFieldDefinition
- the new value for RelatedObjectFieldDefinition.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setNumberOperator
void setNumberOperator(NumberComparisonType newNumberOperator)
Set the value for NumberOperator. (The operator for number based comparison conditions) This value is mandatory.- Parameters:
newNumberOperator
- the new value for NumberOperator. If this isnull
, then the object cannot be persisted.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setDateOperator
void setDateOperator(DateComparisonType newDateOperator)
Set the value for DateOperator. (The operator for date based comparison conditions) This value is mandatory.- Parameters:
newDateOperator
- the new value for DateOperator. If this isnull
, then the object cannot be persisted.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setUsername
void setUsername(String newUsername)
Set the value for Username. (The name of the user for Last Modified searches) This value is optional.- Parameters:
newUsername
- the new value for Username.- Throws:
com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getSpecificFieldOperator
SchedulerEnumeration getSpecificFieldOperator()
Get the Operator for the specific field type- Returns:
- The enumeration type of the specific field
-
getSpecificFieldSearchFor
Object getSpecificFieldSearchFor()
Get the object value to search for. This is a utility method that invokes the call to the appropriate getSearchFor(), getSearchBoolean(), getSearchNumber() depending on the field type- Returns:
- The enumeration type of the specific field
-
getObjectSearch
ObjectSearch getObjectSearch()
Get the ObjectSearch.- Returns:
- ObjectSearch
- Throws:
com.redwood.scheduler.api.exception.ObjectDeletedException
- If this method is called when the object has been marked for deletion.com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
-