Package com.redwood.scheduler.api.model
Interface JobFileSearch
- 
- All Superinterfaces:
- BusinessKeyObject,- Detail,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface JobFileSearch extends Detail, BusinessKeyObject, Readable Search the output file of a job for a given text string Provides job file search functionality equivalent to the jcs.searchfile procedure. The majority of cases can probably be dealt with by a single rule, and the user no longer has to deal with scripting.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "JobFileSearch" 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<JobFileSearch>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 LonggetBeginLine()Get the value for BeginLine.LonggetEndLine()Get the value for EndLine.StringgetFilename()Get the value for Filename.JobDefinitiongetJobDefinition()Get the JobDefinition.JobStatusgetNewJobStatus()Get the value for NewJobStatus.StringgetOutParamExpr()Get the value for OutParamExpr.JobDefinitionParametergetOutputJobDefinitionParameter()Get the OutputJobDefinitionParameter.LonggetProcessingOrder()Get the value for ProcessingOrder.LonggetReturnCode()Get the value for ReturnCode.StringgetSearchPattern()Get the value for SearchPattern.booleanisEntireLine()Get the value for EntireLine.booleanisIgnoreCase()Get the value for IgnoreCase.booleanisJobNote()Get the value for JobNote.booleanisReverse()Get the value for Reverse.booleanisStop()Get the value for Stop.booleanisWildCard()Get the value for WildCard.voidsetBeginLine(Long newBeginLine)Set the value for BeginLine.voidsetEndLine(Long newEndLine)Set the value for EndLine.voidsetEntireLine(boolean newEntireLine)Set the value for EntireLine.voidsetFilename(String newFilename)Set the value for Filename.voidsetIgnoreCase(boolean newIgnoreCase)Set the value for IgnoreCase.voidsetJobNote(boolean newJobNote)Set the value for JobNote.voidsetNewJobStatus(JobStatus newNewJobStatus)Set the value for NewJobStatus.voidsetOutParamExpr(String newOutParamExpr)Set the value for OutParamExpr.voidsetOutputJobDefinitionParameter(JobDefinitionParameter newOutputJobDefinitionParameter)Set the value for OutputJobDefinitionParameter.voidsetProcessingOrder(Long newProcessingOrder)Set the value for ProcessingOrder.voidsetReturnCode(Long newReturnCode)Set the value for ReturnCode.voidsetReverse(boolean newReverse)Set the value for Reverse.voidsetSearchPattern(String newSearchPattern)Set the value for SearchPattern.voidsetStop(boolean newStop)Set the value for Stop.voidsetWildCard(boolean newWildCard)Set the value for WildCard.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
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 "JobFileSearch" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<JobFileSearch> 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- 
getProcessingOrderLong getProcessingOrder() Get the value for ProcessingOrder. (The order in which the searches should be processed) 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.
 
 - 
isStopboolean isStop() Get the value for Stop. (Stop and do not process anymore searches if the search succeeds)- 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.
 
 - 
isJobNoteboolean isJobNote() Get the value for JobNote. (Add a job note if a match is found)- 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.
 
 - 
getFilenameString getFilename() Get the value for Filename. (The name of the file to search ) 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.
 
 - 
getSearchPatternString getSearchPattern() Get the value for SearchPattern. (The pattern to match (?and*are glob wildcards if WildCard is set)) 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.
 
 - 
getBeginLineLong getBeginLine() Get the value for BeginLine. (See the JobFile search Operation beginLine 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.
 
 - 
getEndLineLong getEndLine() Get the value for EndLine. (See the JobFile.search Operation endLine 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.
 
 - 
isEntireLineboolean isEntireLine() Get the value for EntireLine. (See enumeration SearchFile.EntireLine for the meaning of this option)- 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.
 
 - 
isWildCardboolean isWildCard() Get the value for WildCard. (See enumeration SearchFile.WildCard for the meaning of this option)- 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.
 
 - 
isIgnoreCaseboolean isIgnoreCase() Get the value for IgnoreCase. (See enumeration SearchFile.IgnoreCase for the meaning of this option)- 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.
 
 - 
isReverseboolean isReverse() Get the value for Reverse. (See enumeration SearchFile.Reverse for the meaning of this option)- 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.
 
 - 
getNewJobStatusJobStatus getNewJobStatus() Get the value for NewJobStatus. (The Job Status to set on the job if the search term is found. Empty means do not change)- 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.
 
 - 
getReturnCodeLong getReturnCode() Get the value for ReturnCode. (Set job return code: number (empty for do not change) )- 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.
 
 - 
getOutParamExprString getOutParamExpr() Get the value for OutParamExpr. (REL expression to set the out parameter value to)- 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.
 
 - 
setProcessingOrdervoid setProcessingOrder(Long newProcessingOrder) Set the value for ProcessingOrder. (The order in which the searches should be processed) This value is mandatory.- Parameters:
- newProcessingOrder- the new value for ProcessingOrder. 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.
 
 - 
setStopvoid setStop(boolean newStop) Set the value for Stop. (Stop and do not process anymore searches if the search succeeds)- Parameters:
- newStop- the new value for Stop.
- 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.
 
 - 
setJobNotevoid setJobNote(boolean newJobNote) Set the value for JobNote. (Add a job note if a match is found)- Parameters:
- newJobNote- the new value for JobNote.
- 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.
 
 - 
setFilenamevoid setFilename(String newFilename) Set the value for Filename. (The name of the file to search ) This value is mandatory.- Parameters:
- newFilename- the new value for Filename. 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.
 
 - 
setSearchPatternvoid setSearchPattern(String newSearchPattern) Set the value for SearchPattern. (The pattern to match (?and*are glob wildcards if WildCard is set)) This value is mandatory.- Parameters:
- newSearchPattern- the new value for SearchPattern. 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.
 
 - 
setBeginLinevoid setBeginLine(Long newBeginLine) Set the value for BeginLine. (See the JobFile search Operation beginLine parameter) This value is optional.- Parameters:
- newBeginLine- the new value for BeginLine.
- 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.
 
 - 
setEndLinevoid setEndLine(Long newEndLine) Set the value for EndLine. (See the JobFile.search Operation endLine parameter) This value is optional.- Parameters:
- newEndLine- the new value for EndLine.
- 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.
 
 - 
setEntireLinevoid setEntireLine(boolean newEntireLine) Set the value for EntireLine. (See enumeration SearchFile.EntireLine for the meaning of this option)- Parameters:
- newEntireLine- the new value for EntireLine.
- 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.
 
 - 
setWildCardvoid setWildCard(boolean newWildCard) Set the value for WildCard. (See enumeration SearchFile.WildCard for the meaning of this option)- Parameters:
- newWildCard- the new value for WildCard.
- 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.
 
 - 
setIgnoreCasevoid setIgnoreCase(boolean newIgnoreCase) Set the value for IgnoreCase. (See enumeration SearchFile.IgnoreCase for the meaning of this option)- Parameters:
- newIgnoreCase- the new value for IgnoreCase.
- 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.
 
 - 
setReversevoid setReverse(boolean newReverse) Set the value for Reverse. (See enumeration SearchFile.Reverse for the meaning of this option)- Parameters:
- newReverse- the new value for Reverse.
- 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.
 
 - 
setNewJobStatusvoid setNewJobStatus(JobStatus newNewJobStatus) Set the value for NewJobStatus. (The Job Status to set on the job if the search term is found. Empty means do not change) This value is optional.- Parameters:
- newNewJobStatus- the new value for NewJobStatus.
- 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.
 
 - 
setReturnCodevoid setReturnCode(Long newReturnCode) Set the value for ReturnCode. (Set job return code: number (empty for do not change) ) This value is optional.- Parameters:
- newReturnCode- the new value for ReturnCode.
- 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.
 
 - 
setOutParamExprvoid setOutParamExpr(String newOutParamExpr) Set the value for OutParamExpr. (REL expression to set the out parameter value to) This value is optional.- Parameters:
- newOutParamExpr- the new value for OutParamExpr.
- 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.
 
 - 
getJobDefinitionJobDefinition getJobDefinition() Get the JobDefinition.- Returns:
- JobDefinition
- 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.
 
 - 
getOutputJobDefinitionParameterJobDefinitionParameter getOutputJobDefinitionParameter() Get the OutputJobDefinitionParameter.- Returns:
- OutputJobDefinitionParameter
- 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.
 
 - 
setOutputJobDefinitionParametervoid setOutputJobDefinitionParameter(JobDefinitionParameter newOutputJobDefinitionParameter) Set the value for OutputJobDefinitionParameter. This value is optional.- Parameters:
- newOutputJobDefinitionParameter- is the object to set OutputJobDefinitionParameter to. The JobDefinitionParameter to set the output value on after the JobFileSearch.OutParamExpr has been evaluated
 
 
- 
 
-