org.kuali.rice.kim.impl.group
Class GroupBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by 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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
GroupBo()
           
 
Method Summary
static GroupBo from(Group im)
           
 boolean getActive()
           
 List<GroupAttributeBo> getAttributeDetails()
           
 Map<String,String> getAttributes()
          This is a set of Attributes for a Group.
 String getDescription()
          This a description for the Group.
 String getGroupAttributeValueById(String attributeId)
           
 String getId()
          The unique identifier for an object.
 String getKimTypeId()
          This a Kim Type Id for the Group.
 KimTypeBo getKimTypeInfo()
           
 List<String> getMemberGroupIds()
           
 List<Group> getMemberGroups()
           
 List<Person> getMemberPersons()
           
 List<String> getMemberPrincipalIds()
           
 List<GroupMemberBo> getMembers()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getName()
          This is the name for the Group.
 String getNamespaceCode()
          This is the namespace code for the Group.
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
 boolean isActive()
          The active indicator for an object.
 void setActive(boolean value)
           
 void setAttributeDetails(List<GroupAttributeBo> value)
           
 void setAttributes(Map<String,String> value)
           
 void setDescription(String value)
           
 void setId(String value)
           
 void setKimTypeId(String value)
           
 void setMembers(List<GroupMemberBo> value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setName(String value)
           
 void setNamespaceCode(String value)
           
 void setProperty(String property, Object value)
           
static Group to(GroupBo bo)
           
 
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
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder, toStringMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Constructor Detail

GroupBo

public GroupBo()
Method Detail

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.