Package com.redwood.scheduler.api.model
Interface Export
- 
- All Superinterfaces:
- Root,- SchedulerEntity,- SchedulerEntityComp,- WrappedJob
 
 public interface Export extends WrappedJob An export of a set of objects. An export is performed using a system job. This object acts as a place-holder to gather up the exports scheduled and completed for this system.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringJOB_DEFINITION_NAMEThe name of the job definition that does the export.static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "Export" objects.static StringSEC_PRIV_MANAGEThis privilege can be granted at a group level.static StringSEC_PRIV_VIEWThis privilege can be granted at a group level.static StringSEC_RANK_ALLThis rank is made of the following privileges: view , managestatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic QueryObjectType<Export>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 RequiredPermissioncheckManagePrivilege()Check whether or not the manage action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.JobFilegetArchiveJobFile()Get the ArchiveJobFile.LonggetExportId()Get the value for ExportId.ExportRuleSetgetExportRuleSet()Get the value for ExportRuleSet.voidsetArchiveJobFile(JobFile newArchiveJobFile)Set the value for ArchiveJobFile.voidsetExportRuleSet(ExportRuleSet newExportRuleSet)Set the value for ExportRuleSet.- 
Methods inherited from interface com.redwood.scheduler.api.model.RootgetCreationTime, getLastModificationTime, getLastModifierSubject
 - 
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
 - 
Methods inherited from interface com.redwood.scheduler.api.model.WrappedJobgetComment, getDescription, getIsolationGroup, getJob, getRequestedStartTime, getWrappedJob, getWrappedJobDefinition, setComment, setDescription, setIsolationGroup, setRequestedStartTime, setWrappedJobDefinition
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "Export" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<Export> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
JOB_DEFINITION_NAMEstatic final String JOB_DEFINITION_NAME The name of the job definition that does the export.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_VIEWstatic final String SEC_PRIV_VIEW This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_MANAGEstatic final String SEC_PRIV_MANAGE This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_VIEWstatic final String SEC_RANK_VIEW This rank is made of the following privileges: view- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges: view , manage- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getExportIdLong getExportId() Get the value for ExportId. (The Export ID for this Export. This is unique for every Export.) 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.
 
 - 
getExportRuleSetExportRuleSet getExportRuleSet() Get the value for ExportRuleSet. (The ExportRuleSet that is used for the export.) 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.
 
 - 
setExportRuleSetvoid setExportRuleSet(ExportRuleSet newExportRuleSet) Set the value for ExportRuleSet. (The ExportRuleSet that is used for the export.) This value is mandatory.- Parameters:
- newExportRuleSet- the new value for ExportRuleSet. 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.
 
 - 
getArchiveJobFileJobFile getArchiveJobFile() Get the ArchiveJobFile.- Returns:
- ArchiveJobFile
- 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.
 
 - 
setArchiveJobFilevoid setArchiveJobFile(JobFile newArchiveJobFile) Set the value for ArchiveJobFile. This value is optional.- Parameters:
- newArchiveJobFile- is the object to set ArchiveJobFile to. The jobfile containing the archive that results from the export.
 
 - 
checkViewPrivilegeRequiredPermission checkViewPrivilege() Check whether or not the view action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 - 
checkManagePrivilegeRequiredPermission checkManagePrivilege() Check whether or not the manage action can be performed on this object.- Returns:
- a RequiredPermissioninstance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
 
 
- 
 
-