us.openinternet.luge.valueobject
Class GroupVO

java.lang.Object
  |
  +--us.openinternet.luge.valueobject.ValueObject
        |
        +--us.openinternet.luge.valueobject.GroupVO
All Implemented Interfaces:
java.io.Serializable

public class GroupVO
extends ValueObject

This is a ValueObject specialized to handle group data.
Don't forget to take a close look at the methods inherited from ValueObject.

See Also:
Serialized Form

Constructor Summary
GroupVO()
           
GroupVO(java.util.Hashtable ht)
          Use this constructor to load initial attribute:value data or you can use the empty constructor and the method setAllAttributes(Hashtable ht)
 
Method Summary
 java.lang.String getDescription()
          Use this method to get the ldap value for description or just use getAttributeValue("description")
 java.util.ArrayList getErrorMessages()
          This category is a catch-all.
 java.lang.String getGroupName()
          Use this method to get the ldap value for cn or just use getAttributeValue("cn")
 java.util.ArrayList getMembers()
          Use this method to get an ArrayList of the members specified in the member attribute of this GroupVO.
 java.lang.String getName()
          Use this method to get the ldap value for cn or just use getAttributeValue("cn") Same as getGroupName method
 java.util.ArrayList getNonExistantPeople()
          If a person does not exist under ou=people, he is considered non-existant.
 java.util.ArrayList getNonMembers()
          If you try to remove a person from a group, and he is already not a member, he will be listed here.
 java.util.ArrayList getOkPeople()
          Successfully added or deleted members depending on the context.
 java.util.ArrayList getPostedPeople()
          This method is utilized after a GroupVO object has been acted on by a facade.
 java.util.ArrayList getProblemPeople()
          This category is a catch-all.
 java.util.ArrayList getRedundantMembers()
          If a person does not is already a member of a group, he is considered redundant.
 java.util.ArrayList getUpdatedPeople()
          This method is usually used to record a list of People objects that were successfully updated (in addition to being added or removed from a group
 void setDescription(java.lang.String s)
          Use this method to set the ldap value for description or just use setAttributeValue("description", "This is a group of people which...")
 void setErrorMessages(java.util.ArrayList messages)
          Used by the facade
 void setGroupName(java.lang.String s)
          Use this method to set the ldap value for cn or just use setAttributeValue("cn", "Group_Name")
 void setNonExistantPeople(java.util.ArrayList uids)
          Used by the facade
 void setNonMembers(java.util.ArrayList v)
          Used by the facade
 void setOkPeople(java.util.ArrayList uids)
          Sets members either successfully add or deleted to/from a group.
 void setPostedPeople(java.util.ArrayList uids)
          Used by the facade
 void setProblemPeople(java.util.ArrayList uids)
          Used by the facade
 void setRedundantPeople(java.util.ArrayList uids)
          Used by the facade
 void setUpdatedPeople(java.util.ArrayList uids)
          This method is usually used to record a list of People objects that were successfully updated (in addition to being added or removed from a group
 
Methods inherited from class us.openinternet.luge.valueobject.ValueObject
addValueToAttribute, appendAttributes, getAllAttributes, getAttributeNames, getAttributeValue, getMultiValuedAttribute, setAllAttributes, setAttributeValue, setAttributeValues, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupVO

public GroupVO()

GroupVO

public GroupVO(java.util.Hashtable ht)
Use this constructor to load initial attribute:value data or you can use the empty constructor and the method setAllAttributes(Hashtable ht)

Method Detail

getGroupName

public java.lang.String getGroupName()
Use this method to get the ldap value for cn or just use getAttributeValue("cn")


setGroupName

public void setGroupName(java.lang.String s)
Use this method to set the ldap value for cn or just use setAttributeValue("cn", "Group_Name")


getName

public java.lang.String getName()
Use this method to get the ldap value for cn or just use getAttributeValue("cn") Same as getGroupName method


getDescription

public java.lang.String getDescription()
Use this method to get the ldap value for description or just use getAttributeValue("description")

Returns:
String value or null

setDescription

public void setDescription(java.lang.String s)
Use this method to set the ldap value for description or just use setAttributeValue("description", "This is a group of people which...")


getMembers

public java.util.ArrayList getMembers()
Use this method to get an ArrayList of the members specified in the member attribute of this GroupVO. Or use method getMutliValuedAttribute("member")


getPostedPeople

public java.util.ArrayList getPostedPeople()
This method is utilized after a GroupVO object has been acted on by a facade. Use this method to get a list of people who were orinally posted to the facade method


setPostedPeople

public void setPostedPeople(java.util.ArrayList uids)
Used by the facade


setOkPeople

public void setOkPeople(java.util.ArrayList uids)
Sets members either successfully add or deleted to/from a group.


getOkPeople

public java.util.ArrayList getOkPeople()
Successfully added or deleted members depending on the context. This method is utilized after a GroupVO object has been acted on by a facade.


getNonExistantPeople

public java.util.ArrayList getNonExistantPeople()
If a person does not exist under ou=people, he is considered non-existant. This method is utilized after a GroupVO object has been acted on by a facade.


setNonExistantPeople

public void setNonExistantPeople(java.util.ArrayList uids)
Used by the facade


getRedundantMembers

public java.util.ArrayList getRedundantMembers()
If a person does not is already a member of a group, he is considered redundant. This method is utilized after a GroupVO object has been acted on by a facade.


setRedundantPeople

public void setRedundantPeople(java.util.ArrayList uids)
Used by the facade


getUpdatedPeople

public java.util.ArrayList getUpdatedPeople()
This method is usually used to record a list of People objects that were successfully updated (in addition to being added or removed from a group


setUpdatedPeople

public void setUpdatedPeople(java.util.ArrayList uids)
This method is usually used to record a list of People objects that were successfully updated (in addition to being added or removed from a group


getNonMembers

public java.util.ArrayList getNonMembers()
If you try to remove a person from a group, and he is already not a member, he will be listed here. This method is utilized after a GroupVO object has been acted on by a facade.


setNonMembers

public void setNonMembers(java.util.ArrayList v)
Used by the facade


getProblemPeople

public java.util.ArrayList getProblemPeople()
This category is a catch-all. Individual methods define if and how it is used


setProblemPeople

public void setProblemPeople(java.util.ArrayList uids)
Used by the facade


getErrorMessages

public java.util.ArrayList getErrorMessages()
This category is a catch-all. Individual methods define if and how it is used


setErrorMessages

public void setErrorMessages(java.util.ArrayList messages)
Used by the facade


Copyright 2003, Michael Schwartz All Rights Reserved.