Class PeopleFlowBo
java.lang.Object
org.kuali.rice.kew.impl.peopleflow.PeopleFlowBo
- All Implemented Interfaces:
Serializable,Inactivatable,MutableInactivatable,Identifiable,Versioned,PeopleFlowContract
@Entity
public class PeopleFlowBo
extends Object
implements Serializable, PeopleFlowContract, MutableInactivatable
Mapped entity for PeopleFlows
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PeopleFlowBofrom(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition) static PeopleFlowBofromAndUpdate(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition, PeopleFlowBo toUpdate) Translates from the given PeopleFlowDefinition to a PeopleFlowBo, optionally updating the given "toUpdate" parameter instead of creating a new PeopleFlowBo.getId()getName()booleanisActive()static PeopleFlowDefinitionmaintenanceCopy(PeopleFlowBo peopleFlowBo) protected voidpostLoad()Updates the values in the attribute values map from the attribute bos and updates the members.voidInvoked to rebuild the type attribute bos and attributes value map based on the type idvoidsetActive(boolean active) voidsetAttributeBos(List<PeopleFlowAttributeBo> attributeBos) voidsetAttributeValues(Map<String, String> attributeValues) voidsetDescription(String description) voidvoidsetMembers(List<PeopleFlowMemberBo> members) voidvoidsetNamespaceCode(String namespaceCode) voidvoidvoidsetVersionNumber(Long versionNumber) static PeopleFlowDefinitionto(PeopleFlowBo peopleFlowBo) voidUpdates the values in the attribute bos from the attribute values map.
-
Constructor Details
-
PeopleFlowBo
public PeopleFlowBo() -
PeopleFlowBo
-
-
Method Details
-
from
public static PeopleFlowBo from(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition) -
fromAndUpdate
public static PeopleFlowBo fromAndUpdate(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition, PeopleFlowBo toUpdate) Translates from the given PeopleFlowDefinition to a PeopleFlowBo, optionally updating the given "toUpdate" parameter instead of creating a new PeopleFlowBo. If it's not passed then a new PeopleFlowBo will be created. -
maintenanceCopy
-
to
-
rebuildTypeAttributes
public void rebuildTypeAttributes()Invoked to rebuild the type attribute bos and attributes value map based on the type id -
updateAttributeBoValues
public void updateAttributeBoValues()Updates the values in the attribute bos from the attribute values map. -
postLoad
protected void postLoad()Updates the values in the attribute values map from the attribute bos and updates the members. -
getId
- Specified by:
getIdin interfaceIdentifiable
-
setId
-
getName
- Specified by:
getNamein interfacePeopleFlowContract
-
setName
-
getNamespaceCode
- Specified by:
getNamespaceCodein interfacePeopleFlowContract
-
setNamespaceCode
-
getTypeId
- Specified by:
getTypeIdin interfacePeopleFlowContract
-
setTypeId
-
getDescription
- Specified by:
getDescriptionin interfacePeopleFlowContract
-
setDescription
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceInactivatable
-
setActive
public void setActive(boolean active) - Specified by:
setActivein interfaceMutableInactivatable
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
setVersionNumber
-
getAttributeBos
-
getAttributes
- Specified by:
getAttributesin interfacePeopleFlowContract
-
setAttributeBos
-
getMembers
- Specified by:
getMembersin interfacePeopleFlowContract
-
setMembers
-
getAttributeValues
-
setAttributeValues
-
getTypeBo
-
setTypeBo
-