Package com.redwood.scheduler.api.model
Interface Format
- 
- All Superinterfaces:
- ApplicationObject,- BusinessKeyObject,- NamedRootObject,- NamedRootObjectComp,- PartitionableObject,- PartitionableObjectComp,- Readable,- Root,- SchedulerEntity,- SchedulerEntityComp,- UniqueNamedApplicationObject
 
 public interface Format extends UniqueNamedApplicationObject, Readable Type of output that is generated by the job. The format describes what sort of data is contained in the job output.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBINA binary file.static StringCARA CAR file containing exported objects as well as an uploader class that allows you import objects from the command line.static StringCSVA text file containing data in character-separated values.static StringDOCA word processor file in the Word 97 to 2003 format.static StringDOCMA word processor file in the Word 2007 or later format with macros enabled.static StringDOCXA word processor file in the Word 2007 or later format.static StringHTMLA plain text file with HTML markup, can be used as the message of the day.static StringHTMLFragmentA fragment of HTML that can be embedded in extension points.static StringJARA JAR file, usually containing Java packages and classes.static StringJPEGAn image file in the JPG format.static StringJSONA plain text file containing data in the JSON-format.static StringLOGFILEA plain text log file.static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "Format" objects.static StringPDFA fixed-layout document in PDF format.static StringPLSQLA plain text file containing PL/SQL source code.static StringPNGAn image file in the PNG format.static StringPPTA slideshow file in the PowerPoint 97 to 2003 format.static StringPPTMA slideshow file in the PowerPoint 2007 or later format with macros enabled.static StringPPTXA slideshow file in the PowerPoint 2007 or later format.static StringRTXstatic StringSEC_PRIV_CREATEThis privilege can be granted at a group level.static StringSEC_PRIV_DELETEThis privilege can be granted at a group level.static StringSEC_PRIV_EDITThis 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: create , view , edit , deletestatic StringSEC_RANK_CREATEThis rank is made of the following privileges: createstatic StringSEC_RANK_DELETEThis rank is made of the following privileges: create , view , deletestatic StringSEC_RANK_EDITThis rank is made of the following privileges: create , view , editstatic StringSEC_RANK_NONEThis rank has no privileges assigned to it.static StringSEC_RANK_VIEWThis rank is made of the following privileges: viewstatic StringTEXTFILEA generic plain text file; this format makes no assumptions on line endings.static QueryObjectType<Format>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).static StringXLSA spreadsheet file in the Excel 97 to 2003 format.static StringXLSMA spreadsheet file in the Excel 2007 or later format with macros enabled.static StringXLSXA spreadsheet file in the Excel 2007 or later format.static StringXMLA plain text file containing XML data.static StringZIPA compressed binary file containing one or more files and/or folders.- 
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 RequiredPermissioncheckCreatePrivilege()Check whether or not the create action can be performed on this object.RequiredPermissioncheckDeletePrivilege()Check whether or not the delete action can be performed on this object.RequiredPermissioncheckEditPrivilege()Check whether or not the edit action can be performed on this object.RequiredPermissioncheckViewPrivilege()Check whether or not the view action can be performed on this object.StringgetExtension()Get the value for Extension.StringgetMimeType()Get the value for MimeType.booleanisAllowTailing()Get the value for AllowTailing.voidsetExtension(String newExtension)Set the value for Extension.voidsetMimeType(String newMimeType)Set the value for MimeType.- 
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObjectgetParentApplication, setParentApplication
 - 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObjectcreateObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
 - 
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObjectcreateObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
 - 
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
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "Format" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<Format> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
LOGFILEstatic final String LOGFILE A plain text log file.- See Also:
- Constant Field Values
 
 - 
TEXTFILEstatic final String TEXTFILE A generic plain text file; this format makes no assumptions on line endings.- See Also:
- Constant Field Values
 
 - 
CARstatic final String CAR A CAR file containing exported objects as well as an uploader class that allows you import objects from the command line.- See Also:
- Constant Field Values
 
 - 
JARstatic final String JAR A JAR file, usually containing Java packages and classes.- See Also:
- Constant Field Values
 
 - 
HTMLstatic final String HTML A plain text file with HTML markup, can be used as the message of the day.- See Also:
- Constant Field Values
 
 - 
CSVstatic final String CSV A text file containing data in character-separated values.- See Also:
- Constant Field Values
 
 - 
XMLstatic final String XML A plain text file containing XML data.- See Also:
- Constant Field Values
 
 - 
ZIPstatic final String ZIP A compressed binary file containing one or more files and/or folders.- See Also:
- Constant Field Values
 
 - 
BINstatic final String BIN A binary file.- See Also:
- Constant Field Values
 
 - 
PDFstatic final String PDF A fixed-layout document in PDF format.- See Also:
- Constant Field Values
 
 - 
HTMLFragmentstatic final String HTMLFragment A fragment of HTML that can be embedded in extension points.- See Also:
- Constant Field Values
 
 - 
XLSstatic final String XLS A spreadsheet file in the Excel 97 to 2003 format.- See Also:
- Constant Field Values
 
 - 
XLSXstatic final String XLSX A spreadsheet file in the Excel 2007 or later format.- See Also:
- Constant Field Values
 
 - 
XLSMstatic final String XLSM A spreadsheet file in the Excel 2007 or later format with macros enabled.- See Also:
- Constant Field Values
 
 - 
DOCstatic final String DOC A word processor file in the Word 97 to 2003 format.- See Also:
- Constant Field Values
 
 - 
DOCXstatic final String DOCX A word processor file in the Word 2007 or later format.- See Also:
- Constant Field Values
 
 - 
DOCMstatic final String DOCM A word processor file in the Word 2007 or later format with macros enabled.- See Also:
- Constant Field Values
 
 - 
PPTstatic final String PPT A slideshow file in the PowerPoint 97 to 2003 format.- See Also:
- Constant Field Values
 
 - 
PPTXstatic final String PPTX A slideshow file in the PowerPoint 2007 or later format.- See Also:
- Constant Field Values
 
 - 
PPTMstatic final String PPTM A slideshow file in the PowerPoint 2007 or later format with macros enabled.- See Also:
- Constant Field Values
 
 - 
JSONstatic final String JSON A plain text file containing data in the JSON-format.- See Also:
- Constant Field Values
 
 - 
PNGstatic final String PNG An image file in the PNG format.- See Also:
- Constant Field Values
 
 - 
JPEGstatic final String JPEG An image file in the JPG format.- See Also:
- Constant Field Values
 
 - 
PLSQLstatic final String PLSQL A plain text file containing PL/SQL source code.- See Also:
- Constant Field Values
 
 - 
RTXstatic final String RTX - See Also:
- Constant Field Values
 
 - 
SEC_PRIV_CREATEstatic final String SEC_PRIV_CREATE This privilege can be granted at a group level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_VIEWstatic final String SEC_PRIV_VIEW This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_EDITstatic final String SEC_PRIV_EDIT This privilege can be granted at a group level. This privilege can be granted at an instance level.- See Also:
- Constant Field Values
 
 - 
SEC_PRIV_DELETEstatic final String SEC_PRIV_DELETE This privilege can be granted at a group level. This privilege can be granted at an instance 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_CREATEstatic final String SEC_RANK_CREATE This rank is made of the following privileges: create- 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_EDITstatic final String SEC_RANK_EDIT This rank is made of the following privileges: create , view , edit- See Also:
- Constant Field Values
 
 - 
SEC_RANK_DELETEstatic final String SEC_RANK_DELETE This rank is made of the following privileges: create , view , delete- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges: create , view , edit , delete- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getExtensionString getExtension() Get the value for Extension. (The case-sensitive extension used in the output filename.)- 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.
 
 - 
getMimeTypeString getMimeType() Get the value for MimeType. (All files having this format are assumed to have this MIME-type.) 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.
 
 - 
isAllowTailingboolean isAllowTailing() Get the value for AllowTailing. (Does the output format support tailing.)- 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.
 
 - 
setExtensionvoid setExtension(String newExtension) Set the value for Extension. (The case-sensitive extension used in the output filename.) This value is optional.- Parameters:
- newExtension- the new value for Extension.
- 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.
 
 - 
setMimeTypevoid setMimeType(String newMimeType) Set the value for MimeType. (All files having this format are assumed to have this MIME-type.) This value is mandatory.- Parameters:
- newMimeType- the new value for MimeType. 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.
 
 - 
checkCreatePrivilegeRequiredPermission checkCreatePrivilege() Check whether or not the create 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.
 
 - 
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.
 
 - 
checkEditPrivilegeRequiredPermission checkEditPrivilege() Check whether or not the edit 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.
 
 - 
checkDeletePrivilegeRequiredPermission checkDeletePrivilege() Check whether or not the delete 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.
 
 
- 
 
-