public class WorkflowModel extends CronJobModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_JOBCRONJOBRELATION
Generated relation code constant for relation
JobCronJobRelation defining source attribute job in extension processing. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ACTIONS
Generated constant - Attribute key of
Workflow.actions attribute defined at extension workflow. |
static String |
ASSIGNEDJOB
Generated constant - Attribute key of
Workflow.assignedJob attribute defined at extension print. |
static String |
ATTACHMENTS
Generated constant - Attribute key of
Workflow.attachments attribute defined at extension workflow. |
static String |
DESCRIPTION
Generated constant - Attribute key of
Workflow.description attribute defined at extension workflow. |
static String |
NAME
Generated constant - Attribute key of
Workflow.name attribute defined at extension workflow. |
static String |
PRINCIPALASSIGNED
Generated constant - Attribute key of
Workflow.principalAssigned attribute defined at extension print. |
ACTIVE, ALTERNATIVEDATASOURCEID, CHANGERECORDINGENABLED, CHANGES, CODE, CURRENTSTEP, EMAILADDRESS, EMAILNOTIFICATIONTEMPLATE, ENDTIME, ERRORMODE, FILESCOUNT, FILESDAYSOLD, FILESOPERATOR, JOB, LOGFILES, LOGLEVELDATABASE, LOGLEVELFILE, LOGS, LOGSCOUNT, LOGSDAYSOLD, LOGSOPERATOR, LOGTEXT, LOGTODATABASE, LOGTOFILE, NODEGROUP, NODEID, PENDINGSTEPS, PRIORITY, PROCESSEDSTEPS, REMOVEONEXIT, REQUESTABORT, REQUESTABORTSTEP, RESULT, RETRY, RUNNINGONCLUSTERNODE, SENDEMAIL, SESSIONCONTEXTVALUES, SESSIONCURRENCY, SESSIONLANGUAGE, SESSIONUSER, SINGLEEXECUTABLE, STARTTIME, STATUS, TIMETABLE, TRIGGERS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
WorkflowModel()
Generated constructor - Default constructor for generic creation.
|
WorkflowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
WorkflowModel(WorkflowTemplateModel _job,
PrincipalModel _principalAssigned)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
WorkflowModel(WorkflowTemplateModel _job,
UserModel _owner,
PrincipalModel _principalAssigned)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
List<WorkflowActionModel> |
getActions()
Generated method - Getter of the
Workflow.actions attribute defined at extension workflow. |
AbstractCommentModel |
getAssignedJob()
Generated method - Getter of the
Workflow.assignedJob dynamic attribute defined at extension print. |
List<WorkflowItemAttachmentModel> |
getAttachments()
Generated method - Getter of the
Workflow.attachments attribute defined at extension workflow. |
String |
getDescription()
Generated method - Getter of the
Workflow.description attribute defined at extension workflow. |
String |
getDescription(Locale loc)
Generated method - Getter of the
Workflow.description attribute defined at extension workflow. |
WorkflowTemplateModel |
getJob()
Generated method - Getter of the
CronJob.job attribute defined at extension processing and redeclared at extension workflow. |
String |
getName()
Generated method - Getter of the
Workflow.name attribute defined at extension workflow. |
String |
getName(Locale loc)
Generated method - Getter of the
Workflow.name attribute defined at extension workflow. |
UserModel |
getOwner()
Generated method - Getter of the
Item.owner attribute defined at extension core and redeclared at extension workflow. |
PrincipalModel |
getPrincipalAssigned()
Generated method - Getter of the
Workflow.principalAssigned attribute defined at extension print. |
void |
setActions(List<WorkflowActionModel> value)
Generated method - Setter of
Workflow.actions attribute defined at extension workflow. |
void |
setAssignedJob(AbstractCommentModel value)
Generated method - Setter of
Workflow.assignedJob dynamic attribute defined at extension print. |
void |
setAttachments(List<WorkflowItemAttachmentModel> value)
Generated method - Setter of
Workflow.attachments attribute defined at extension workflow. |
void |
setDescription(String value)
Generated method - Setter of
Workflow.description attribute defined at extension workflow. |
void |
setDescription(String value,
Locale loc)
Generated method - Setter of
Workflow.description attribute defined at extension workflow. |
void |
setJob(JobModel value)
Generated method - Initial setter of
CronJob.job attribute defined at extension processing and redeclared at extension workflow. |
void |
setName(String value)
Generated method - Setter of
Workflow.name attribute defined at extension workflow. |
void |
setName(String value,
Locale loc)
Generated method - Setter of
Workflow.name attribute defined at extension workflow. |
void |
setOwner(ItemModel value)
Generated method - Setter of
Item.owner attribute defined at extension core and redeclared at extension workflow. |
void |
setPrincipalAssigned(PrincipalModel value)
Generated method - Setter of
Workflow.principalAssigned attribute defined at extension print. |
getActive, getAlternativeDataSourceID, getChangeRecordingEnabled, getChanges, getCode, getCurrentStep, getEmailAddress, getEmailNotificationTemplate, getEndTime, getErrorMode, getFilesCount, getFilesDaysOld, getFilesOperator, getLogFiles, getLogLevelDatabase, getLogLevelFile, getLogs, getLogsCount, getLogsDaysOld, getLogsOperator, getLogText, getLogToDatabase, getLogToFile, getNodeGroup, getNodeID, getPendingSteps, getPriority, getProcessedSteps, getRemoveOnExit, getRequestAbort, getRequestAbortStep, getResult, getRetry, getRunningOnClusterNode, getSendEmail, getSessionCurrency, getSessionLanguage, getSessionUser, getSingleExecutable, getStartTime, getStatus, getTimeTable, getTriggers, setActive, setAlternativeDataSourceID, setChangeRecordingEnabled, setCode, setEmailAddress, setEmailNotificationTemplate, setEndTime, setErrorMode, setFilesCount, setFilesDaysOld, setFilesOperator, setLogFiles, setLogLevelDatabase, setLogLevelFile, setLogsCount, setLogsDaysOld, setLogsOperator, setLogToDatabase, setLogToFile, setNodeGroup, setNodeID, setPendingSteps, setPriority, setProcessedSteps, setRemoveOnExit, setRequestAbort, setRequestAbortStep, setResult, setRetry, setRunningOnClusterNode, setSendEmail, setSessionCurrency, setSessionLanguage, setSessionUser, setSingleExecutable, setStartTime, setStatus, setTriggersgetComments, getCreationtime, getModifiedtime, setComments, setCreationtime, setModifiedtimeequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final String _TYPECODE
public static final String _JOBCRONJOBRELATION
JobCronJobRelation defining source attribute job in extension processing.public static final String NAME
Workflow.name attribute defined at extension workflow.public static final String DESCRIPTION
Workflow.description attribute defined at extension workflow.public static final String ACTIONS
Workflow.actions attribute defined at extension workflow.public static final String ATTACHMENTS
Workflow.attachments attribute defined at extension workflow.public static final String PRINCIPALASSIGNED
Workflow.principalAssigned attribute defined at extension print.public static final String ASSIGNEDJOB
Workflow.assignedJob attribute defined at extension print.public WorkflowModel()
public WorkflowModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public WorkflowModel(WorkflowTemplateModel _job, PrincipalModel _principalAssigned)
_job - initial attribute declared by type Workflow at extension workflow_principalAssigned - initial attribute declared by type Workflow at extension print@Deprecated public WorkflowModel(WorkflowTemplateModel _job, UserModel _owner, PrincipalModel _principalAssigned)
_job - initial attribute declared by type Workflow at extension workflow_owner - initial attribute declared by type Workflow at extension workflow_principalAssigned - initial attribute declared by type Workflow at extension print@Accessor(qualifier="actions", type=GETTER) public List<WorkflowActionModel> getActions()
Workflow.actions attribute defined at extension workflow.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="assignedJob", type=GETTER) public AbstractCommentModel getAssignedJob()
Workflow.assignedJob dynamic attribute defined at extension print.@Accessor(qualifier="attachments", type=GETTER) public List<WorkflowItemAttachmentModel> getAttachments()
Workflow.attachments attribute defined at extension workflow.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="description", type=GETTER) public String getDescription()
Workflow.description attribute defined at extension workflow.@Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
Workflow.description attribute defined at extension workflow.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="job", type=GETTER) public WorkflowTemplateModel getJob()
CronJob.job attribute defined at extension processing and redeclared at extension workflow.getJob in class CronJobModel@Accessor(qualifier="name", type=GETTER) public String getName()
Workflow.name attribute defined at extension workflow.@Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
Workflow.name attribute defined at extension workflow.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="owner", type=GETTER) public UserModel getOwner()
Item.owner attribute defined at extension core and redeclared at extension workflow.@Accessor(qualifier="principalAssigned", type=GETTER) public PrincipalModel getPrincipalAssigned()
Workflow.principalAssigned attribute defined at extension print.@Accessor(qualifier="actions", type=SETTER) public void setActions(List<WorkflowActionModel> value)
Workflow.actions attribute defined at extension workflow.value - the actions@Accessor(qualifier="assignedJob", type=SETTER) public void setAssignedJob(AbstractCommentModel value)
Workflow.assignedJob dynamic attribute defined at extension print.value - the assignedJob@Accessor(qualifier="attachments", type=SETTER) public void setAttachments(List<WorkflowItemAttachmentModel> value)
Workflow.attachments attribute defined at extension workflow.value - the attachments - n-part of the WorkflowItemAttachmentRelation; holds a set of attachments (item references) belonging to the topic of workflow@Accessor(qualifier="description", type=SETTER) public void setDescription(String value)
Workflow.description attribute defined at extension workflow.value - the description - global description of the workflow while each action has its own description@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc)
Workflow.description attribute defined at extension workflow.value - the description - global description of the workflow while each action has its own descriptionloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="job", type=SETTER) public void setJob(JobModel value)
CronJob.job attribute defined at extension processing and redeclared at extension workflow. Can only be used at creation of model - before first save. Will only accept values of type WorkflowTemplateModel.setJob in class CronJobModelvalue - the job - related workflow template this workflow is created from (never changable)@Accessor(qualifier="name", type=SETTER) public void setName(String value)
Workflow.name attribute defined at extension workflow.value - the name - name of the workflow@Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
Workflow.name attribute defined at extension workflow.value - the name - name of the workflowloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="owner", type=SETTER) public void setOwner(ItemModel value)
Item.owner attribute defined at extension core and redeclared at extension workflow. Will only accept values of type UserModel.@Accessor(qualifier="principalAssigned", type=SETTER) public void setPrincipalAssigned(PrincipalModel value)
Workflow.principalAssigned attribute defined at extension print.value - the principalAssigned - assigned principal who has to assure the completion (can also be a principal group where any member of the group can process the action)Copyright © 2017 SAP SE. All Rights Reserved.