org.kuali.rice.kim.impl.group
Class GroupBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.impl.group.GroupBo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, GloballyUnique, Identifiable, Versioned, ModelObjectBasic, GroupContract, BusinessObject, PersistableBusinessObject
@Entity
public class GroupBo
- extends PersistableBusinessObjectBase
- implements GroupContract, groovy.lang.GroovyObject
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
GroupBo
public GroupBo()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
setId
public void setId(String value)
getName
public String getName()
- Description copied from interface:
GroupContract
- This is the name for the Group.
This is a name assigned to a Group. Together with NamespaceCode, it makes up another unique identifier for Group
- Specified by:
getName
in interface GroupContract
- Returns:
- name
setName
public void setName(String value)
getDescription
public String getDescription()
- Description copied from interface:
GroupContract
- This a description for the Group.
This is a description assigned to a Group.
- Specified by:
getDescription
in interface GroupContract
- Returns:
- description
setDescription
public void setDescription(String value)
getActive
public boolean getActive()
isActive
public boolean isActive()
- Description copied from interface:
Inactivatable
- The active indicator for an object.
- Specified by:
isActive
in interface Inactivatable
- Returns:
- true if active false if not.
setActive
public void setActive(boolean value)
getKimTypeId
public String getKimTypeId()
- Description copied from interface:
GroupContract
- This a Kim Type Id for the Group.
This links a Kim Type to the Group to allow custom types of Groups.
- Specified by:
getKimTypeId
in interface GroupContract
- Returns:
- description
setKimTypeId
public void setKimTypeId(String value)
getNamespaceCode
public String getNamespaceCode()
- Description copied from interface:
GroupContract
- This is the namespace code for the Group.
This is a namespace code assigned to a Group. Together with name, it makes up another unique identifier for Group
- Specified by:
getNamespaceCode
in interface GroupContract
- Returns:
- namespaceCode
setNamespaceCode
public void setNamespaceCode(String value)
getMembers
public List<GroupMemberBo> getMembers()
setMembers
public void setMembers(List<GroupMemberBo> value)
getAttributeDetails
public List<GroupAttributeBo> getAttributeDetails()
setAttributeDetails
public void setAttributeDetails(List<GroupAttributeBo> value)
setAttributes
public void setAttributes(Map<String,String> value)
getAttributes
public Map<String,String> getAttributes()
- Description copied from interface:
GroupContract
- This is a set of Attributes for a Group.
This is a set of attributes which are key-label pairs that are defined by the Group's Kim Type.
- Specified by:
getAttributes
in interface GroupContract
- Returns:
- attributes
to
public static Group to(GroupBo bo)
from
public static GroupBo from(Group im)
getGroupAttributeValueById
public String getGroupAttributeValueById(String attributeId)
getMemberPersons
public List<Person> getMemberPersons()
getMemberPrincipalIds
public List<String> getMemberPrincipalIds()
getMemberGroupIds
public List<String> getMemberGroupIds()
getMemberGroups
public List<Group> getMemberGroups()
getKimTypeInfo
public KimTypeBo getKimTypeInfo()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.