Package com.redwood.scheduler.api.model
Interface PublishItem
-
- All Superinterfaces:
BusinessKeyObject
,JobDefinitionRelatedObject
,Readable
,Root
,SchedulerEntity
,SchedulerEntityComp
public interface PublishItem extends JobDefinitionRelatedObject, Readable
An item to be published to the reporting server
-
-
Field Summary
Fields Modifier and Type Field Description static String
OBJECT_TYPE
String that will be returned fromSchedulerEntity.getObjectType()
for "PublishItem" objects.static String
SEC_RANK_ALL
This rank is made of the following privileges:static String
SEC_RANK_NONE
This rank has no privileges assigned to it.static QueryObjectType<PublishItem>
TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.-
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 String
getMetadata()
Get the value for Metadata.R2WCatalogAlias
getR2WCatalogAlias()
Get the R2WCatalogAlias.String
getReportName()
Get the value for ReportName.String
getSource()
Get the value for Source.boolean
isRequireApproval()
Get the value for RequireApproval.void
setMetadata(String newMetadata)
Set the value for Metadata.void
setR2WCatalogAlias(R2WCatalogAlias newR2WCatalogAlias)
Set the value for R2WCatalogAlias.void
setReportName(String newReportName)
Set the value for ReportName.void
setRequireApproval(boolean newRequireApproval)
Set the value for RequireApproval.void
setSource(String newSource)
Set the value for Source.-
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObject
getBusinessKey
-
Methods inherited from interface com.redwood.scheduler.api.model.JobDefinitionRelatedObject
getJobDefinition, setJobDefinition
-
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 "PublishItem" objects.- See Also:
- Constant Field Values
-
TYPE
static final QueryObjectType<PublishItem> TYPE
Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...)
.
-
SEC_RANK_NONE
static final String SEC_RANK_NONE
This rank has no privileges assigned to it.- See Also:
- Constant Field Values
-
SEC_RANK_ALL
static final String SEC_RANK_ALL
This rank is made of the following privileges:- See Also:
- Constant Field Values
-
-
Method Detail
-
getReportName
String getReportName()
Get the value for ReportName. (The name of the report to publish under) 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.
-
getSource
String getSource()
Get the value for Source. (The source file to publish) 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.
-
isRequireApproval
boolean isRequireApproval()
Get the value for RequireApproval. (If the publishing requires approval)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getMetadata
String getMetadata()
Get the value for Metadata. (The meta data of the published file.)- Returns:
- the field
- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setReportName
void setReportName(String newReportName)
Set the value for ReportName. (The name of the report to publish under) This value is mandatory.- Parameters:
newReportName
- the new value for ReportName. 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.
-
setSource
void setSource(String newSource)
Set the value for Source. (The source file to publish) This value is mandatory.- Parameters:
newSource
- the new value for Source. 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.
-
setRequireApproval
void setRequireApproval(boolean newRequireApproval)
Set the value for RequireApproval. (If the publishing requires approval)- Parameters:
newRequireApproval
- the new value for RequireApproval.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
setMetadata
void setMetadata(String newMetadata)
Set the value for Metadata. (The meta data of the published file.) This value is optional.- Parameters:
newMetadata
- the new value for Metadata.- Throws:
ObjectNotAttachedToSessionException
- This will be thrown if this method is called while the object is not attached to a session.
-
getR2WCatalogAlias
R2WCatalogAlias getR2WCatalogAlias()
Get the R2WCatalogAlias.- Returns:
- R2WCatalogAlias
- Throws:
ObjectDeletedException
- If this method is called when the object has been marked for deletion.ObjectNotAttachedToSessionException
- If this method is called when the object has been removed from it's session.
-
setR2WCatalogAlias
void setR2WCatalogAlias(R2WCatalogAlias newR2WCatalogAlias)
Set the value for R2WCatalogAlias. This value is mandatory.- Parameters:
newR2WCatalogAlias
- is the object to set R2WCatalogAlias to. Link the R2W Catalog to to a Publish Item. If this isnull
, then the object cannot be persisted.
-
-