org.kuali.rice.kim.bo.impl
Class GroupImpl

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kim.bo.impl.GroupImpl
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Group, BusinessObject, ExternalizableBusinessObject, PersistableBusinessObject

public class GroupImpl
extends PersistableBusinessObjectBase
implements Group

This class is the implementation of a Kim Group

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  boolean active
           
protected  AttributeSet attributes
           
protected  List<GroupAttributeDataImpl> groupAttributes
           
protected  String groupDescription
           
protected  String groupId
           
protected  String groupName
           
protected  String kimTypeId
           
private  List<GroupInfo> memberGroups
           
private  List<Person> memberPersons
           
protected  List<GroupMemberImpl> members
           
protected  String namespaceCode
           
private static long serialVersionUID
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
GroupImpl()
           
 
Method Summary
 boolean equals(Object object)
           
 AttributeSet getAttributes()
           
 GroupAttributeDataImpl getGroupAttributeById(String attributeId)
           
 List<GroupAttributeDataImpl> getGroupAttributes()
           
 String getGroupAttributeValueById(String attributeId)
           
 String getGroupDescription()
           
 String getGroupId()
           
 String getGroupName()
           
 String getKimTypeId()
           
 KimTypeInfo getKimTypeInfo()
           
 List<String> getMemberGroupIds()
           
 List<GroupInfo> getMemberGroups()
           
 List<Person> getMemberPersons()
           
 List<String> getMemberPrincipalIds()
           
 List<GroupMemberImpl> getMembers()
           
 String getNamespaceCode()
           
 int hashCode()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setAttributes(AttributeSet attributes)
           
 void setGroupAttributes(List<GroupAttributeDataImpl> groupAttributes)
           
 void setGroupDescription(String groupDescription)
           
 void setGroupId(String groupId)
           
 void setGroupName(String groupName)
           
 void setKimTypeId(String kimTypeId)
           
protected  void setMemberGroups(List<GroupInfo> memberGroups)
           
protected  void setMemberPersons(List<Person> memberPersons)
           
 void setMemberPersonsAndGroups()
           
 void setMembers(List<GroupMemberImpl> members)
           
 void setNamespaceCode(String namespaceCode)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

groupId

protected String groupId

groupName

protected String groupName

groupDescription

protected String groupDescription

active

protected boolean active

kimTypeId

protected String kimTypeId

namespaceCode

protected String namespaceCode

members

protected List<GroupMemberImpl> members

groupAttributes

protected List<GroupAttributeDataImpl> groupAttributes

memberPersons

private List<Person> memberPersons

memberGroups

private List<GroupInfo> memberGroups

attributes

protected AttributeSet attributes
Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class BusinessObjectBase
Returns:
Map containing the fieldValues of the key fields for this class, indexed by fieldName
See Also:
BusinessObjectBase.toStringMapper()

getKimTypeId

public String getKimTypeId()
Specified by:
getKimTypeId in interface Group

setKimTypeId

public void setKimTypeId(String kimTypeId)

getNamespaceCode

public String getNamespaceCode()
Specified by:
getNamespaceCode in interface Group

setNamespaceCode

public void setNamespaceCode(String namespaceCode)

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface Group
Returns:
the groupId

setGroupId

public void setGroupId(String groupId)
Parameters:
groupId - the groupId to set

getGroupName

public String getGroupName()
Specified by:
getGroupName in interface Group
Returns:
the groupName

setGroupName

public void setGroupName(String groupName)
Parameters:
groupName - the groupName to set

getGroupDescription

public String getGroupDescription()
Specified by:
getGroupDescription in interface Group
Returns:
the groupDescription

setGroupDescription

public void setGroupDescription(String groupDescription)
Parameters:
groupDescription - the groupDescription to set

isActive

public boolean isActive()
Specified by:
isActive in interface Group
Returns:
the active

setActive

public void setActive(boolean active)
Parameters:
active - the active to set

getAttributes

public AttributeSet getAttributes()
Specified by:
getAttributes in interface Group

setAttributes

public void setAttributes(AttributeSet attributes)
Parameters:
attributes - the attributes to set

getGroupAttributes

public List<GroupAttributeDataImpl> getGroupAttributes()
Returns:
the groupAttributes

setGroupAttributes

public void setGroupAttributes(List<GroupAttributeDataImpl> groupAttributes)
Parameters:
groupAttributes - the groupAttributes to set

getMemberGroups

public List<GroupInfo> getMemberGroups()
Returns:
the memberGroups

setMemberGroups

protected void setMemberGroups(List<GroupInfo> memberGroups)
Parameters:
memberGroups - the memberGroups to set

getMemberPersons

public List<Person> getMemberPersons()
Returns:
the memberPersons

setMemberPersons

protected void setMemberPersons(List<Person> memberPersons)
Parameters:
memberPersons - the memberPersons to set

getMembers

public List<GroupMemberImpl> getMembers()
Returns:
the members

setMembers

public void setMembers(List<GroupMemberImpl> members)
Parameters:
members - the members to set

getMemberGroupIds

public List<String> getMemberGroupIds()

getMemberPrincipalIds

public List<String> getMemberPrincipalIds()

setMemberPersonsAndGroups

public void setMemberPersonsAndGroups()

equals

public boolean equals(Object object)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

getGroupAttributeById

public GroupAttributeDataImpl getGroupAttributeById(String attributeId)

getGroupAttributeValueById

public String getGroupAttributeValueById(String attributeId)

getKimTypeInfo

public KimTypeInfo getKimTypeInfo()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.