Class TemplateVariationDTO
java.lang.Object
com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
com.flowable.platform.rest.service.api.template.TemplateVariationDTO
public class TemplateVariationDTO extends TemplateVariationOverviewDTO
An extended overview DTO object of a template variation, extending the overview DTO accordingly.
- Author:
- Micha Kiener
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<DeploymentAuditEntryDTO>auditEntriesprotected booleanbyCurrentUserWill be set to true, if the change was triggered by the current user (which means, they cannot approve).protected java.lang.StringcontentIdprotected TemplateManagementDefinitionDTOdefinitionprotected java.lang.StringexternalIdprotected java.lang.StringformKeyprotected booleaninApprovalWill be set to true, if this template variation was changed and is in approval currently.protected java.lang.StringnewVariationContentprotected java.lang.StringnewVariationContentResourceprotected java.util.List<TemplateParameter>parametersprotected java.lang.StringtriggeringUserNameWill hold the name of the user triggering the template variation change.protected java.util.DatevalidFromprotected java.util.DatevalidToprotected java.lang.StringvariationContentprotected java.lang.StringvariationContentResourceprotected java.lang.StringversionTimestampFields inherited from class com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
editable, id, key, name, subType, templateName, type, variationKey -
Constructor Summary
Constructors Constructor Description TemplateVariationDTO(TemplateModel template, TemplateVariationModel variationModel, TemplateVariationDefinition variation, java.lang.String newVariationContent, java.lang.String newVariationContentResource, TemplateManagementDefinitionDTO definition, java.util.List<DeploymentAuditEntryDTO> auditEntries, boolean inApproval, boolean byCurrentUser, java.lang.String triggeringUserName) -
Method Summary
Modifier and Type Method Description java.util.List<DeploymentAuditEntryDTO>getAuditEntries()java.lang.StringgetContentId()TemplateManagementDefinitionDTOgetDefinition()java.lang.StringgetExternalId()java.lang.StringgetFormKey()java.lang.StringgetNewVariationContent()java.lang.StringgetNewVariationContentResource()java.util.List<TemplateParameter>getParameters()java.lang.StringgetTriggeringUserName()java.util.DategetValidFrom()java.util.DategetValidTo()java.lang.StringgetVariationContent()java.lang.StringgetVariationContentResource()java.lang.StringgetVersionTimestamp()booleanisByCurrentUser()booleanisInApproval()Methods inherited from class com.flowable.platform.rest.service.api.template.TemplateVariationOverviewDTO
getId, getKey, getName, getSubType, getTemplateName, getType, getVariationKey, isEditable
-
Field Details
-
formKey
protected java.lang.String formKey -
validFrom
protected java.util.Date validFrom -
validTo
protected java.util.Date validTo -
externalId
protected java.lang.String externalId -
contentId
protected java.lang.String contentId -
variationContent
protected java.lang.String variationContent -
newVariationContent
protected java.lang.String newVariationContent -
variationContentResource
protected java.lang.String variationContentResource -
newVariationContentResource
protected java.lang.String newVariationContentResource -
parameters
-
definition
-
versionTimestamp
protected java.lang.String versionTimestamp -
auditEntries
-
inApproval
protected boolean inApprovalWill be set to true, if this template variation was changed and is in approval currently. -
byCurrentUser
protected boolean byCurrentUserWill be set to true, if the change was triggered by the current user (which means, they cannot approve). -
triggeringUserName
protected java.lang.String triggeringUserNameWill hold the name of the user triggering the template variation change.
-
-
Constructor Details
-
TemplateVariationDTO
public TemplateVariationDTO(TemplateModel template, TemplateVariationModel variationModel, TemplateVariationDefinition variation, java.lang.String newVariationContent, java.lang.String newVariationContentResource, TemplateManagementDefinitionDTO definition, java.util.List<DeploymentAuditEntryDTO> auditEntries, boolean inApproval, boolean byCurrentUser, java.lang.String triggeringUserName)
-
-
Method Details
-
getFormKey
public java.lang.String getFormKey() -
getValidFrom
public java.util.Date getValidFrom() -
getValidTo
public java.util.Date getValidTo() -
getExternalId
public java.lang.String getExternalId() -
getContentId
public java.lang.String getContentId() -
getVariationContent
public java.lang.String getVariationContent() -
getNewVariationContent
public java.lang.String getNewVariationContent() -
getVariationContentResource
public java.lang.String getVariationContentResource() -
getNewVariationContentResource
public java.lang.String getNewVariationContentResource() -
getParameters
-
getVersionTimestamp
public java.lang.String getVersionTimestamp() -
getAuditEntries
-
isInApproval
public boolean isInApproval() -
isByCurrentUser
public boolean isByCurrentUser() -
getTriggeringUserName
public java.lang.String getTriggeringUserName() -
getDefinition
-