|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition.Builder
public static final class PeopleFlowDefinition.Builder
A builder which can be used to construct PeopleFlowDefinition instances. Enforces the constraints of the
PeopleFlowContract.
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PeopleFlowDefinition.Builder create(String namespaceCode,
String name)
public static PeopleFlowDefinition.Builder create(PeopleFlowContract contract)
public static PeopleFlowDefinition.Builder createMaintenanceCopy(PeopleFlowContract contract)
public PeopleFlowDefinition build()
ModelBuilder
build in interface ModelBuilderpublic String getName()
getName in interface PeopleFlowContractPeopleFlowContract. Will never be null.public Map<String,String> getAttributes()
getAttributes in interface PeopleFlowContractPeopleFlowContract. Will never return null.public String getNamespaceCode()
getNamespaceCode in interface PeopleFlowContractPeopleFlowContract. Will never be null.public String getTypeId()
getTypeId in interface PeopleFlowContractPeopleFlowContract. Will never be null.public String getDescription()
getDescription in interface PeopleFlowContractPeopleFlowContract. May be null, but not empty.public List<PeopleFlowMember.Builder> getMembers()
PeopleFlowContract
getMembers in interface PeopleFlowContractPeopleFlowMemberContracts for this PeopleFlowContract. Will never return null.public String getId()
Identifiable
getId in interface Identifiablepublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setName(String name)
public void setAttributes(Map<String,String> attributes)
public void setNamespaceCode(String namespaceCode)
public void setTypeId(String typeId)
public void setDescription(String description)
public void setMembers(List<PeopleFlowMember.Builder> members)
public void setId(String id)
public void setActive(boolean active)
public void setVersionNumber(Long versionNumber)
public PeopleFlowMember.Builder addPrincipal(String principalId)
public PeopleFlowMember.Builder addGroup(String groupId)
public PeopleFlowMember.Builder addRole(String roleId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||