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 Summary
Fields Modifier and Type Field Description static String
BIN
A binary file.static String
CAR
A CAR file containing exported objects as well as an uploader class that allows you import objects from the command line.static String
CSV
A text file containing data in character-separated values.static String
DOC
A word processor file in the Word 97 to 2003 format.static String
DOCM
A word processor file in the Word 2007 or later format with macros enabled.static String
DOCX
A word processor file in the Word 2007 or later format.static String
HTML
A plain text file with HTML markup, can be used as the message of the day.static String
HTMLFragment
A fragment of HTML that can be embedded in extension points.static String
JAR
A JAR file, usually containing Java packages and classes.static String
JPEG
An image file in the JPG format.static String
JSON
A plain text file containing data in the JSON-format.static String
LOGFILE
A plain text log file.static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "Format" objects.static String
PDF
A fixed-layout document in PDF format.static String
PLSQL
A plain text file containing PL/SQL source code.static String
PNG
An image file in the PNG format.static String
PPT
A slideshow file in the PowerPoint 97 to 2003 format.static String
PPTM
A slideshow file in the PowerPoint 2007 or later format with macros enabled.static String
PPTX
A slideshow file in the PowerPoint 2007 or later format.static String
RTX
static String
SEC_PRIV_CREATE
This privilege can be granted at a group level.static String
SEC_PRIV_DELETE
This privilege can be granted at a group level.static String
SEC_PRIV_EDIT
This privilege can be granted at a group level.static String
SEC_PRIV_VIEW
This privilege can be granted at a group level.static String
SEC_RANK_ALL
This rank is made of the following privileges: create , view , edit , deletestatic String
SEC_RANK_CREATE
This rank is made of the following privileges: createstatic String
SEC_RANK_DELETE
This rank is made of the following privileges: create , view , deletestatic String
SEC_RANK_EDIT
This rank is made of the following privileges: create , view , editstatic String
SEC_RANK_NONE
This rank has no privileges assigned to it.static String
SEC_RANK_VIEW
This rank is made of the following privileges: viewstatic String
TEXTFILE
A generic plain text file; this format makes no assumptions on line endings.static QueryObjectType<Format>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.static String
XLS
A spreadsheet file in the Excel 97 to 2003 format.static String
XLSM
A spreadsheet file in the Excel 2007 or later format with macros enabled.static String
XLSX
A spreadsheet file in the Excel 2007 or later format.static String
XML
A plain text file containing XML data.static String
ZIP
A compressed binary file containing one or more files and/or folders.-
Fields inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
COPYRIGHT_MESSAGE_BKO, ID_BKO
-
Fields inherited from interface com.redwood.scheduler.api.model.Readable
COPYRIGHT_MESSAGE_E, ID_E
-
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
ACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequiredPermission
checkCreatePrivilege()
Check whether or not the create action can be performed on this object.RequiredPermission
checkDeletePrivilege()
Check whether or not the delete action can be performed on this object.RequiredPermission
checkEditPrivilege()
Check whether or not the edit action can be performed on this object.RequiredPermission
checkViewPrivilege()
Check whether or not the view action can be performed on this object.String
getExtension()
Get the value for Extension.String
getMimeType()
Get the value for MimeType.boolean
isAllowTailing()
Get the value for AllowTailing.void
setExtension(String newExtension)
Set the value for Extension.void
setMimeType(String newMimeType)
Set the value for MimeType.-
Methods inherited from interface com.redwood.scheduler.api.model.ApplicationObject
getParentApplication, setParentApplication
-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.NamedRootObject
createObjectReference, getComment, getDescription, getLinkedObjectReferenceByLinkedObject, getLinkedObjectReferenceByName, getLinkedObjectReferences, getName, getSearchName, getSourceObjectReferences, isHidden, setComment, setDescription, setName
-
Methods inherited from interface com.redwood.scheduler.api.model.PartitionableObject
createObjectTag, getEditablePartitions, getObjectTagByObjectTagDefinition, getObjectTags, getPartition, setPartition
-
Methods inherited from interface com.redwood.scheduler.api.model.Root
getCreationTime, getLastModificationTime, getLastModifierSubject
-
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntity
canPerform, 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_TYPE
static final String OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "Format" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<Format> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
LOGFILE
static final String LOGFILE
A plain text log file.- See Also:
- Constant Field Values
-
TEXTFILE
static final String TEXTFILE
A generic plain text file; this format makes no assumptions on line endings.- See Also:
- Constant Field Values
-
CAR
static 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
-
JAR
static final String JAR
A JAR file, usually containing Java packages and classes.- See Also:
- Constant Field Values
-
HTML
static final String HTML
A plain text file with HTML markup, can be used as the message of the day.- See Also:
- Constant Field Values
-
CSV
static final String CSV
A text file containing data in character-separated values.- See Also:
- Constant Field Values
-
XML
static final String XML
A plain text file containing XML data.- See Also:
- Constant Field Values
-
ZIP
static final String ZIP
A compressed binary file containing one or more files and/or folders.- See Also:
- Constant Field Values
-
BIN
static final String BIN
A binary file.- See Also:
- Constant Field Values
-
PDF
static final String PDF
A fixed-layout document in PDF format.- See Also:
- Constant Field Values
-
HTMLFragment
static final String HTMLFragment
A fragment of HTML that can be embedded in extension points.- See Also:
- Constant Field Values
-
XLS
static final String XLS
A spreadsheet file in the Excel 97 to 2003 format.- See Also:
- Constant Field Values
-
XLSX
static final String XLSX
A spreadsheet file in the Excel 2007 or later format.- See Also:
- Constant Field Values
-
XLSM
static final String XLSM
A spreadsheet file in the Excel 2007 or later format with macros enabled.- See Also:
- Constant Field Values
-
DOC
static final String DOC
A word processor file in the Word 97 to 2003 format.- See Also:
- Constant Field Values
-
DOCX
static final String DOCX
A word processor file in the Word 2007 or later format.- See Also:
- Constant Field Values
-
DOCM
static final String DOCM
A word processor file in the Word 2007 or later format with macros enabled.- See Also:
- Constant Field Values
-
PPT
static final String PPT
A slideshow file in the PowerPoint 97 to 2003 format.- See Also:
- Constant Field Values
-
PPTX
static final String PPTX
A slideshow file in the PowerPoint 2007 or later format.- See Also:
- Constant Field Values
-
PPTM
static final String PPTM
A slideshow file in the PowerPoint 2007 or later format with macros enabled.- See Also:
- Constant Field Values
-
JSON
static final String JSON
A plain text file containing data in the JSON-format.- See Also:
- Constant Field Values
-
PNG
static final String PNG
An image file in the PNG format.- See Also:
- Constant Field Values
-
JPEG
static final String JPEG
An image file in the JPG format.- See Also:
- Constant Field Values
-
PLSQL
static final String PLSQL
A plain text file containing PL/SQL source code.- See Also:
- Constant Field Values
-
RTX
static final String RTX
- See Also:
- Constant Field Values
-
SEC_PRIV_CREATE
static final String SEC_PRIV_CREATE
This privilege can be granted at a group level.- See Also:
- Constant Field Values
-
SEC_PRIV_VIEW
static 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_EDIT
static 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_DELETE
static 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_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_CREATE
static final String SEC_RANK_CREATE
This rank is made of the following privileges: create- See Also:
- Constant Field Values
-
SEC_RANK_VIEW
static final String SEC_RANK_VIEW
This rank is made of the following privileges: view- See Also:
- Constant Field Values
-
SEC_RANK_EDIT
static final String SEC_RANK_EDIT
This rank is made of the following privileges: create , view , edit- See Also:
- Constant Field Values
-
SEC_RANK_DELETE
static final String SEC_RANK_DELETE
This rank is made of the following privileges: create , view , delete- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges: create , view , edit , delete- See Also:
- Constant Field Values
-
-
Method Detail
-
getExtension
String getExtension()
Get the value for Extension. (The case-sensitive extension used in the output filename.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMimeType
String 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 benull
if this object has been retrieved from the database.- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
isAllowTailing
boolean isAllowTailing()
Get the value for AllowTailing. (Does the output format support tailing.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setExtension
void 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:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMimeType
void 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 isnull
, then the object cannot be persisted.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
checkCreatePrivilege
RequiredPermission checkCreatePrivilege()
Check whether or not the create action can be performed on this object.- Returns:
- a
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkViewPrivilege
RequiredPermission checkViewPrivilege()
Check whether or not the view action can be performed on this object.- Returns:
- a
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkEditPrivilege
RequiredPermission checkEditPrivilege()
Check whether or not the edit action can be performed on this object.- Returns:
- a
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
checkDeletePrivilege
RequiredPermission checkDeletePrivilege()
Check whether or not the delete action can be performed on this object.- Returns:
- a
RequiredPermission
instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.
-
-