Package com.redwood.scheduler.api.model
Interface ExportRuleItem
- 
- All Superinterfaces:
- Detail,- ExportRuleItemComp,- ExportRuleSetComponent,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface ExportRuleItem extends ExportRuleItemComp, Detail, ExportRuleSetComponent, Readable The export item which is manually selected by the users and is part of a fixed list of exported objects. Sibling objects can be of any SchedulerEntity type.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "ExportRuleItem" 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<ExportRuleItem>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 StringgetDescriptionTranslationKey()a description that is useful for display purposes.SchedulerEntitygetExportObject()Get the value for ExportObject.ExportRuleSetgetExportRuleSet()Get the ExportRuleSet.RWIterable<SchedulerEntity>getItemsToExport()This method returns aRWIterablewith all of the items that this ExportRuleItem would add to the ExportRuleSet.ObjectDefinitiongetObjectDefinition()Get the ObjectDefinition.booleanisExportContents()Get the value for ExportContents.voidsetExportContents(boolean newExportContents)Set the value for ExportContents.voidsetExportObject(SchedulerEntity newExportObject)Set the value for ExportObject.voidsetObjectDefinition(ObjectDefinition newObjectDefinition)Set the value for ObjectDefinition.- 
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 "ExportRuleItem" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<ExportRuleItem> 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- 
getExportObjectSchedulerEntity getExportObject() Get the value for ExportObject. (The object that will be exported.) 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.
 
 - 
isExportContentsboolean isExportContents() Get the value for ExportContents. (Set whether the items should be exported recursively. )- Specified by:
- isExportContentsin interface- ExportRuleSetComponent
- 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.
- See Also:
- isExportContents(),- ExportRule.isExportContents()
 
 - 
setExportObjectvoid setExportObject(SchedulerEntity newExportObject) Set the value for ExportObject. (The object that will be exported.) This value is mandatory.- Parameters:
- newExportObject- the new value for ExportObject. 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.
 
 - 
setExportContentsvoid setExportContents(boolean newExportContents) Set the value for ExportContents. (Set whether the items should be exported recursively. )- Specified by:
- setExportContentsin interface- ExportRuleSetComponent
- Parameters:
- newExportContents- the new value for ExportContents.
- 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.
- See Also:
- setExportContents(boolean),- ExportRule.setExportContents(boolean)
 
 - 
getItemsToExportRWIterable<SchedulerEntity> getItemsToExport() This method returns aRWIterablewith all of the items that this ExportRuleItem would add to the ExportRuleSet.- Specified by:
- getItemsToExportin interface- ExportRuleItemComp
- Specified by:
- getItemsToExportin interface- ExportRuleSetComponent
- Returns:
- The set of all items that would be exported by this ExportRuleSet
- See Also:
- getItemsToExport(),- ExportRule.getItemsToExport()
 
 - 
getDescriptionTranslationKeyString getDescriptionTranslationKey() a description that is useful for display purposes. This might need translating by being passed to SchedulerSession.translateField(String).- Specified by:
- getDescriptionTranslationKeyin interface- ExportRuleSetComponent
- Returns:
- either a description of this component or a translation key for the description of this component.
 
 - 
getObjectDefinitionObjectDefinition getObjectDefinition() Get the ObjectDefinition.- Returns:
- ObjectDefinition
- 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.
 
 - 
getExportRuleSetExportRuleSet getExportRuleSet() Get the ExportRuleSet.- Specified by:
- getExportRuleSetin interface- ExportRuleSetComponent
- Returns:
- ExportRuleSet
- 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.
- See Also:
- getExportRuleSet(),- ExportRule.getExportRuleSet()
 
 - 
setObjectDefinitionvoid setObjectDefinition(ObjectDefinition newObjectDefinition) Set the value for ObjectDefinition. This value is mandatory.- Parameters:
- newObjectDefinition- is the object to set ObjectDefinition to. The ObjectDefinition for the ExportRuleItem If this is- null, then the object cannot be persisted.
 
 
- 
 
-