Class PeopleFlowBo

java.lang.Object
org.kuali.rice.kew.impl.peopleflow.PeopleFlowBo
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.active.MutableInactivatable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.kew.api.peopleflow.PeopleFlowContract

@Entity public class PeopleFlowBo extends Object implements Serializable, org.kuali.rice.kew.api.peopleflow.PeopleFlowContract, org.kuali.rice.core.api.mo.common.active.MutableInactivatable
Mapped entity for PeopleFlows
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • PeopleFlowBo

      public PeopleFlowBo()
    • PeopleFlowBo

      public PeopleFlowBo(org.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition pfDef)
  • Method Details

    • from

      public static PeopleFlowBo from(org.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition peopleFlow, org.kuali.rice.kew.api.repository.type.KewTypeDefinition kewTypeDefinition)
    • fromAndUpdate

      public static PeopleFlowBo fromAndUpdate(org.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition peopleFlow, org.kuali.rice.kew.api.repository.type.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

      public static org.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition maintenanceCopy(PeopleFlowBo peopleFlowBo)
    • to

      public static org.kuali.rice.kew.api.peopleflow.PeopleFlowDefinition to(PeopleFlowBo peopleFlowBo)
    • 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

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • setId

      public void setId(String id)
    • getName

      public String getName()
      Specified by:
      getName in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setName

      public void setName(String name)
    • getNamespaceCode

      public String getNamespaceCode()
      Specified by:
      getNamespaceCode in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setNamespaceCode

      public void setNamespaceCode(String namespaceCode)
    • getTypeId

      public String getTypeId()
      Specified by:
      getTypeId in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setTypeId

      public void setTypeId(String typeId)
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setDescription

      public void setDescription(String description)
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
    • setActive

      public void setActive(boolean active)
      Specified by:
      setActive in interface org.kuali.rice.core.api.mo.common.active.MutableInactivatable
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
    • getAttributeBos

      public List<PeopleFlowAttributeBo> getAttributeBos()
    • getAttributes

      public Map<String,String> getAttributes()
      Specified by:
      getAttributes in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setAttributeBos

      public void setAttributeBos(List<PeopleFlowAttributeBo> attributeBos)
    • getMembers

      public List<PeopleFlowMemberBo> getMembers()
      Specified by:
      getMembers in interface org.kuali.rice.kew.api.peopleflow.PeopleFlowContract
    • setMembers

      public void setMembers(List<PeopleFlowMemberBo> members)
    • getAttributeValues

      public Map<String,String> getAttributeValues()
    • setAttributeValues

      public void setAttributeValues(Map<String,String> attributeValues)
    • getTypeBo

      public KewTypeBo getTypeBo()
    • setTypeBo

      public void setTypeBo(KewTypeBo typeBo)