Package de.xima.fc.workflow
Class WorkflowStateModel
java.lang.Object
de.xima.fc.workflow.WorkflowStateModel
- All Implemented Interfaces:
- INameProviding,- IUuidProviding,- Serializable
public final class WorkflowStateModel
extends Object
implements Serializable, IUuidProviding, INameProviding
View model of a 
WorkflowState that can be sent to the client.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- 
Field SummaryFields inherited from interface de.xima.fc.entities.interfaces.INameProvidingATTR_NAME, COL_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Comparator<BaseConfigViewModel>static WorkflowStateModelstatic WorkflowStateModelforWorkflowState(WorkflowState workflowState, Locale locale) getDescription(Locale locale) Deprecated.getId()getName()Deprecated.usegetName()getType()getUuid()booleanbooleanbooleanboolean@javax.validation.constraints.AssertTrue(message="{workflow.validaton.change.state.empty.authenticator}") booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAllowAccessToAnonymousApplicant(boolean allowAccessToAnonymousApplicant) voidsetAllowAccessToApplicant(boolean allowAccessToApplicant) voidsetAllowAuthenticatedUser(boolean allowAuthenticatedUser) voidsetAllowPasswordAuthenticator(boolean allowPasswordAuthenticator) voidsetAnonymousAuthenticator(AnonymousConfigViewModel anonymousAuthenticator) voidsetAuthenticators(List<BaseConfigViewModel> authenticators) voidsetAuthenticatorsValid(boolean authenticatorsValid) Deprecated.voidsetDescription(String description) voidsetExternalAccessPermitted(boolean externalAccessPermitted) voidsetFormRecordDeletable(boolean formRecordDeletable) voidvoidvoidsetNonOrderableAuthenticators(List<BaseConfigViewModel> nonOrderableAuthenticators) voidsetOrderableAuthenticators(List<BaseConfigViewModel> orderableAuthenticators) voidsetPasswordAuthenticator(PasswordConfigViewModel passwordAuthenticator) voidsetSelectedOrderableAuthenticators(List<BaseConfigViewModel> orderableAuthenticators) voidsetType(EWorkflowStateType type) voidsetUserGroups(List<UuidEntityRef> userGroups) voidtoString()toWorkflowState(Function<UUID, BenutzerGruppe> userGroupDao, Function<UUID, ClientAuthenticator> clientAuthDao, Function<UUID, SystemAuthenticator> systemAuthDao) 
- 
Constructor Details- 
WorkflowStateModelpublic WorkflowStateModel()Creates a new empty workflow state model. PreferforWorkflowState(WorkflowState, Locale)when possible to fill with the data of a given state.
 
- 
- 
Method Details- 
forWorkflowState
- 
forState
- 
createAuthenticatorConfigsComparatorpublic static Comparator<BaseConfigViewModel> createAuthenticatorConfigsComparator(List<BaseConfigViewModel> configs) 
- 
getAnonymousAuthenticator
- 
setAnonymousAuthenticator
- 
getDescription
- 
setDescription
- 
getId
- 
setId
- 
getName- Specified by:
- getNamein interface- INameProviding
- Returns:
- The name of this object.
 
- 
setName
- 
getNonOrderableAuthenticators
- 
setNonOrderableAuthenticators
- 
getOrderableAuthenticators
- 
setOrderableAuthenticators
- 
getAuthenticators
- 
setAuthenticators
- 
isAllowPasswordAuthenticatorpublic boolean isAllowPasswordAuthenticator()
- 
setAllowPasswordAuthenticatorpublic void setAllowPasswordAuthenticator(boolean allowPasswordAuthenticator) 
- 
getPasswordAuthenticator
- 
setPasswordAuthenticator
- 
getType
- 
setType
- 
getUserGroups
- 
setUserGroups
- 
getUuid- Specified by:
- getUuidin interface- IUuidProviding
- Returns:
- The UUID that identifies this instance.
 
- 
setUuid
- 
isExternalAccessPermittedpublic boolean isExternalAccessPermitted()
- 
setExternalAccessPermittedpublic void setExternalAccessPermitted(boolean externalAccessPermitted) 
- 
isAllowAccessToApplicantpublic boolean isAllowAccessToApplicant()
- 
setAllowAccessToApplicantpublic void setAllowAccessToApplicant(boolean allowAccessToApplicant) 
- 
isAllowAccessToAnonymousApplicantpublic boolean isAllowAccessToAnonymousApplicant()
- 
setAllowAccessToAnonymousApplicantpublic void setAllowAccessToAnonymousApplicant(boolean allowAccessToAnonymousApplicant) 
- 
isAllowAuthenticatedUserpublic boolean isAllowAuthenticatedUser()
- 
setAllowAuthenticatedUserpublic void setAllowAuthenticatedUser(boolean allowAuthenticatedUser) 
- 
isFormRecordDeletablepublic boolean isFormRecordDeletable()
- 
setFormRecordDeletablepublic void setFormRecordDeletable(boolean formRecordDeletable) 
- 
isShowPasswordOptionpublic boolean isShowPasswordOption()
- 
isShowAllowAccessToApplicantpublic boolean isShowAllowAccessToApplicant()
- 
isShowAllowAuthenticatedUserpublic boolean isShowAllowAuthenticatedUser()
- 
isShowAnonymousAuthenticatorOptionpublic boolean isShowAnonymousAuthenticatorOption()
- 
isShowFormRecordsUnprotectedHintpublic boolean isShowFormRecordsUnprotectedHint()
- 
isShowUserGroupsOptionpublic boolean isShowUserGroupsOption()
- 
getSelectedOrderableAuthenticators
- 
setSelectedOrderableAuthenticators
- 
isAuthenticatorsValid@AssertTrue(message="{workflow.validaton.change.state.empty.authenticator}") public @javax.validation.constraints.AssertTrue(message="{workflow.validaton.change.state.empty.authenticator}") boolean isAuthenticatorsValid()
- 
setAuthenticatorsValidDeprecated.
- 
getDescriptionDeprecated.usegetDescription()
- 
getNameDeprecated.usegetName()
- 
toString
- 
toWorkflowStatepublic WorkflowState toWorkflowState(Function<UUID, BenutzerGruppe> userGroupDao, Function<UUID, ClientAuthenticator> clientAuthDao, Function<UUID, SystemAuthenticator> systemAuthDao) 
 
- 
getDescription()