@Entity public class PeopleFlowBo extends Object implements Serializable, PeopleFlowContract, MutableInactivatable
| Constructor and Description |
|---|
PeopleFlowBo()
Default constructor.
|
PeopleFlowBo(PeopleFlowDefinition pfDef) |
| Modifier and Type | Method and Description |
|---|---|
static PeopleFlowBo |
from(PeopleFlowDefinition peopleFlow,
KewTypeDefinition kewTypeDefinition) |
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.
|
List<PeopleFlowAttributeBo> |
getAttributeBos() |
Map<String,String> |
getAttributes() |
Map<String,String> |
getAttributeValues() |
String |
getDescription() |
String |
getId() |
List<PeopleFlowMemberBo> |
getMembers() |
String |
getName() |
String |
getNamespaceCode() |
KewTypeBo |
getTypeBo() |
String |
getTypeId() |
Long |
getVersionNumber() |
boolean |
isActive() |
static PeopleFlowDefinition |
maintenanceCopy(PeopleFlowBo peopleFlowBo) |
protected void |
postLoad()
Updates the values in the attribute values map from the attribute bos and updates the members.
|
void |
rebuildTypeAttributes()
Invoked to rebuild the type attribute bos and attributes value map based on the type id
|
void |
setActive(boolean active) |
void |
setAttributeBos(List<PeopleFlowAttributeBo> attributeBos) |
void |
setAttributeValues(Map<String,String> attributeValues) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setMembers(List<PeopleFlowMemberBo> members) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setTypeBo(KewTypeBo typeBo) |
void |
setTypeId(String typeId) |
void |
setVersionNumber(Long versionNumber) |
static PeopleFlowDefinition |
to(PeopleFlowBo peopleFlowBo) |
void |
updateAttributeBoValues()
Updates the values in the attribute bos from the attribute values map.
|
public PeopleFlowBo()
public PeopleFlowBo(PeopleFlowDefinition pfDef)
public static PeopleFlowBo from(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition)
public static PeopleFlowBo fromAndUpdate(PeopleFlowDefinition peopleFlow, KewTypeDefinition kewTypeDefinition, PeopleFlowBo toUpdate)
public static PeopleFlowDefinition maintenanceCopy(PeopleFlowBo peopleFlowBo)
public static PeopleFlowDefinition to(PeopleFlowBo peopleFlowBo)
public void rebuildTypeAttributes()
public void updateAttributeBoValues()
protected void postLoad()
public String getId()
getId in interface Identifiablepublic String getName()
getName in interface PeopleFlowContractpublic String getNamespaceCode()
getNamespaceCode in interface PeopleFlowContractpublic void setNamespaceCode(String namespaceCode)
public String getTypeId()
getTypeId in interface PeopleFlowContractpublic String getDescription()
getDescription in interface PeopleFlowContractpublic void setDescription(String description)
public boolean isActive()
isActive in interface Inactivatablepublic void setActive(boolean active)
setActive in interface MutableInactivatablepublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public List<PeopleFlowAttributeBo> getAttributeBos()
public Map<String,String> getAttributes()
getAttributes in interface PeopleFlowContractpublic void setAttributeBos(List<PeopleFlowAttributeBo> attributeBos)
public List<PeopleFlowMemberBo> getMembers()
getMembers in interface PeopleFlowContractpublic void setMembers(List<PeopleFlowMemberBo> members)
public Map<String,String> getAttributeValues()
public void setAttributeValues(Map<String,String> attributeValues)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.