@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()
The unique identifier for an object.
|
List<PeopleFlowMemberBo> |
getMembers()
Returns the list of members for this flow, sorted from lowest to highest priority number.
|
String |
getName() |
String |
getNamespaceCode() |
KewTypeBo |
getTypeBo() |
String |
getTypeId() |
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
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)
Sets the record to active or inactive.
|
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()
Identifiable
getId
in interface Identifiable
public String getName()
getName
in interface PeopleFlowContract
PeopleFlowContract
. Will never be null.public String getNamespaceCode()
getNamespaceCode
in interface PeopleFlowContract
PeopleFlowContract
. Will never be null.public void setNamespaceCode(String namespaceCode)
public String getTypeId()
getTypeId
in interface PeopleFlowContract
PeopleFlowContract
. Will never be null.public String getDescription()
getDescription
in interface PeopleFlowContract
PeopleFlowContract
. May be null, but not empty.public void setDescription(String description)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
MutableInactivatable
setActive
in interface MutableInactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public List<PeopleFlowAttributeBo> getAttributeBos()
public Map<String,String> getAttributes()
getAttributes
in interface PeopleFlowContract
PeopleFlowContract
. Will never return null.public void setAttributeBos(List<PeopleFlowAttributeBo> attributeBos)
public List<PeopleFlowMemberBo> getMembers()
PeopleFlowContract
getMembers
in interface PeopleFlowContract
PeopleFlowMemberContract
s for this PeopleFlowContract
. Will never return null.public void setMembers(List<PeopleFlowMemberBo> members)
public Map<String,String> getAttributeValues()
public void setAttributeValues(Map<String,String> attributeValues)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.