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 SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "ObjectSearchCondition" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<ObjectSearchCondition>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DateComparisonTypegetDateOperator()Get the value for DateOperator.DateTimeZonegetEndDate()Get the value for EndDate.StringgetLabel()Get the value for Label.NumberComparisonTypegetNumberOperator()Get the value for NumberOperator.LonggetObjectDefinition()Get the value for ObjectDefinition.LonggetObjectFieldDefinition()Get the value for ObjectFieldDefinition.ObjectSearchgetObjectSearch()Get the ObjectSearch.ObjectSearchOperatorTypegetOperator()Get the value for Operator.StringgetParameterName()Get the value for ParameterName.StringgetParameterValue()Get the value for ParameterValue.LonggetRelatedObjectFieldDefinition()Get the value for RelatedObjectFieldDefinition.StringgetSearchFor()Get the value for SearchFor.BigDecimalgetSearchNumber()Get the value for SearchNumber.SchedulerEnumerationgetSpecificFieldOperator()Get the Operator for the specific field typeObjectgetSpecificFieldSearchFor()Get the object value to search for.DateTimeZonegetStartDate()Get the value for StartDate.ObjectSearchConditionTypegetType()Get the value for Type.StringgetUsername()Get the value for Username.booleanisActionSearch()Get the value for ActionSearch.booleanisCommentSearch()Get the value for CommentSearch.booleanisDescSearch()Get the value for DescSearch.booleanisExtensionPointSearch()Get the value for ExtensionPointSearch.booleanisFileEventMoveDirectorySearch()Get the value for FileEventMoveDirectorySearch.booleanisFileEventSourceSearch()Get the value for FileEventSourceSearch.booleanisJobChainDefinitionSearch()Get the value for JobChainDefinitionSearch.booleanisJobDefinitionSearch()Get the value for JobDefinitionSearch.booleanisJobSearch()Get the value for JobSearch.booleanisLibrarySearch()Get the value for LibrarySearch.booleanisNameSearch()Get the value for NameSearch.booleanisSearchBoolean()Get the value for SearchBoolean.booleanisTriggerSearch()Get the value for TriggerSearch.voidsetActionSearch(boolean newActionSearch)Set the value for ActionSearch.voidsetCommentSearch(boolean newCommentSearch)Set the value for CommentSearch.voidsetDateOperator(DateComparisonType newDateOperator)Set the value for DateOperator.voidsetDescSearch(boolean newDescSearch)Set the value for DescSearch.voidsetEndDate(DateTimeZone newEndDate)Set the value for EndDate.voidsetExtensionPointSearch(boolean newExtensionPointSearch)Set the value for ExtensionPointSearch.voidsetFileEventMoveDirectorySearch(boolean newFileEventMoveDirectorySearch)Set the value for FileEventMoveDirectorySearch.voidsetFileEventSourceSearch(boolean newFileEventSourceSearch)Set the value for FileEventSourceSearch.voidsetJobChainDefinitionSearch(boolean newJobChainDefinitionSearch)Set the value for JobChainDefinitionSearch.voidsetJobDefinitionSearch(boolean newJobDefinitionSearch)Set the value for JobDefinitionSearch.voidsetJobSearch(boolean newJobSearch)Set the value for JobSearch.voidsetLabel(String newLabel)Set the value for Label.voidsetLibrarySearch(boolean newLibrarySearch)Set the value for LibrarySearch.voidsetNameSearch(boolean newNameSearch)Set the value for NameSearch.voidsetNumberOperator(NumberComparisonType newNumberOperator)Set the value for NumberOperator.voidsetObjectDefinition(Long newObjectDefinition)Set the value for ObjectDefinition.voidsetObjectFieldDefinition(Long newObjectFieldDefinition)Set the value for ObjectFieldDefinition.voidsetOperator(ObjectSearchOperatorType newOperator)Set the value for Operator.voidsetParameterName(String newParameterName)Set the value for ParameterName.voidsetParameterValue(String newParameterValue)Set the value for ParameterValue.voidsetRelatedObjectFieldDefinition(Long newRelatedObjectFieldDefinition)Set the value for RelatedObjectFieldDefinition.voidsetSearchBoolean(boolean newSearchBoolean)Set the value for SearchBoolean.voidsetSearchFor(String newSearchFor)Set the value for SearchFor.voidsetSearchNumber(BigDecimal newSearchNumber)Set the value for SearchNumber.voidsetStartDate(DateTimeZone newStartDate)Set the value for StartDate.voidsetTriggerSearch(boolean newTriggerSearch)Set the value for TriggerSearch.voidsetType(ObjectSearchConditionType newType)Set the value for Type.voidsetUsername(String newUsername)Set the value for Username.- 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, 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_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "ObjectSearchCondition" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<ObjectSearchCondition> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getTypeObjectSearchConditionType getType() Get the value for Type. (The type of the condition) This value is mandatory, and therefore will not benullif 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.
 
 - 
getLabelString 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 benullif 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.
 
 - 
getOperatorObjectSearchOperatorType getOperator() Get the value for Operator. (The operator for the condition) This value is mandatory, and therefore will not benullif 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.
 
 - 
getSearchForString 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.
 
 - 
isNameSearchboolean 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.
 
 - 
isCommentSearchboolean 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.
 
 - 
isDescSearchboolean 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.
 
 - 
getParameterNameString 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.
 
 - 
getParameterValueString 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.
 
 - 
isJobSearchboolean 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.
 
 - 
isJobDefinitionSearchboolean 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.
 
 - 
isJobChainDefinitionSearchboolean 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.
 
 - 
isLibrarySearchboolean 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.
 
 - 
isTriggerSearchboolean 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.
 
 - 
isActionSearchboolean 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.
 
 - 
isFileEventSourceSearchboolean 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.
 
 - 
isExtensionPointSearchboolean 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.
 
 - 
isFileEventMoveDirectorySearchboolean 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.
 
 - 
getObjectDefinitionLong 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.
 
 - 
getObjectFieldDefinitionLong 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.
 
 - 
getStartDateDateTimeZone 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.
 
 - 
getEndDateDateTimeZone 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.
 
 - 
getSearchNumberBigDecimal 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.
 
 - 
isSearchBooleanboolean 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.
 
 - 
getRelatedObjectFieldDefinitionLong 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.
 
 - 
getNumberOperatorNumberComparisonType getNumberOperator() Get the value for NumberOperator. (The operator for number based comparison conditions) This value is mandatory, and therefore will not benullif 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.
 
 - 
getDateOperatorDateComparisonType getDateOperator() Get the value for DateOperator. (The operator for date based comparison conditions) This value is mandatory, and therefore will not benullif 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.
 
 - 
getUsernameString 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.
 
 - 
setTypevoid 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 is- null, 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.
 
 - 
setLabelvoid 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 is- null, 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.
 
 - 
setOperatorvoid 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 is- null, 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.
 
 - 
setSearchForvoid 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.
 
 - 
setNameSearchvoid 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.
 
 - 
setCommentSearchvoid 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.
 
 - 
setDescSearchvoid 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.
 
 - 
setParameterNamevoid 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.
 
 - 
setParameterValuevoid 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.
 
 - 
setJobSearchvoid 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.
 
 - 
setJobDefinitionSearchvoid 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.
 
 - 
setJobChainDefinitionSearchvoid 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.
 
 - 
setLibrarySearchvoid 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.
 
 - 
setTriggerSearchvoid 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.
 
 - 
setActionSearchvoid 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.
 
 - 
setFileEventSourceSearchvoid 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.
 
 - 
setExtensionPointSearchvoid 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.
 
 - 
setFileEventMoveDirectorySearchvoid 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.
 
 - 
setObjectDefinitionvoid 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.
 
 - 
setObjectFieldDefinitionvoid 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.
 
 - 
setStartDatevoid 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.
 
 - 
setEndDatevoid 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.
 
 - 
setSearchNumbervoid 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.
 
 - 
setSearchBooleanvoid 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.
 
 - 
setRelatedObjectFieldDefinitionvoid 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.
 
 - 
setNumberOperatorvoid 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 is- null, 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.
 
 - 
setDateOperatorvoid 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 is- null, 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.
 
 - 
setUsernamevoid 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.
 
 - 
getSpecificFieldOperatorSchedulerEnumeration getSpecificFieldOperator() Get the Operator for the specific field type- Returns:
- The enumeration type of the specific field
 
 - 
getSpecificFieldSearchForObject 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
 
 - 
getObjectSearchObjectSearch 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.
 
 
- 
 
-