|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.epicentric.users.UserGroup
UserGroup class.
A group of users. Most portal access privileges are assigned at the user group (not the individual user) level.
| Inner Class Summary | |
protected static class |
UserGroup.UserGroupCatalogFinder
Deprecated. |
| Constructor Summary | |
UserGroup()
Deprecated. |
|
| Method Summary | |
abstract void |
addParent(UserGroup parent)
Deprecated. Add a parent relationship to this UserGroup. |
abstract void |
addUser(int userID)
Deprecated. Add user with given ID to the group. |
abstract void |
addUser(int userID,
boolean sendBroadcast)
Deprecated. Add user with given ID to the group. |
abstract boolean |
allowsSelfRegistration()
Deprecated. Does this user group allow self registration. |
abstract boolean |
containsUser(int userID)
Deprecated. |
abstract Set |
getChildGroupIDs()
Deprecated. Return a Set containing this UserGroup's immediate child UserGroup ids. |
abstract String |
getDescription()
Deprecated. Return the group description. |
abstract String |
getFormattedCreatedDate()
Deprecated. Returns the date this template was created as a string in the format of "MM/DD/YY" (including leading zeros). |
abstract int |
getId()
Deprecated. As of version 3.0. Will be removed in 8.0 or later. This method has been replaced by getID() in an effort to provide consistent method names across the API. |
abstract int |
getID()
Deprecated. Returns this group's id. |
abstract String |
getName()
Deprecated. Return the group name. |
abstract Set |
getParentGroupIDs()
Deprecated. Return a Set containing this UserGroup's immediate parent UserGroup ids. |
abstract String |
getUniqueID()
Deprecated. Used internally by the Entity Management system to get the UID of this user group. |
abstract int[] |
getUserIDs()
Deprecated. |
protected abstract Set |
loadChildIDs()
Deprecated. Load from storage and return a Set containing this UserGroup's immediate child UserGroup ids. |
protected abstract Set |
loadParentIDs()
Deprecated. Load from storage and return a Set containing this UserGroup's immediate parent UserGroup ids. |
protected abstract void |
reloadChildIDs()
Deprecated. Causes the next call to getChildGroupIDs() to fetch fresh data from the database instead of using the cached value. |
protected abstract void |
reloadParentIDs()
Deprecated. Causes the next call to getParentGroupIDs() to fetch fresh data from the database instead of using the cached value. |
abstract void |
removeParent(UserGroup parent)
Deprecated. Remove a parent relationship from this UserGroup. |
abstract void |
removeUser(int userId)
Deprecated. Remove user with given ID from the group. |
abstract void |
removeUser(int userId,
boolean sendBroadcast)
Deprecated. Remove user with given ID from the group. |
abstract void |
save()
Deprecated. Store our internal fields in whatever way is appropriate to the implementation. |
abstract void |
setCreatedDate(Date d)
Deprecated. Set the created Date to the group |
abstract void |
setDescription(String description)
Deprecated. Set the group description. |
abstract void |
setName(String name)
Deprecated. Throws exception if new name is the name of an existing UserGroup. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.epicentric.permission.PermissionContextOwner |
getPermissionContext |
| Methods inherited from interface com.epicentric.common.Describable |
getCreatedDate, getOwnerID, setOwnerID |
| Constructor Detail |
public UserGroup()
| Method Detail |
public abstract int getId()
public abstract int getID()
public abstract String getUniqueID()
public abstract String getName()
public abstract void setName(String name)
throws PersistificationException
public abstract String getDescription()
public abstract void setDescription(String description)
public abstract void setCreatedDate(Date d)
d - the date of creationpublic abstract String getFormattedCreatedDate()
public abstract boolean allowsSelfRegistration()
public abstract int[] getUserIDs()
public abstract boolean containsUser(int userID)
public abstract void addUser(int userID)
throws PersistificationException
public abstract void addUser(int userID,
boolean sendBroadcast)
throws PersistificationException
userID - The user to be added to this group.sendBroadcast - true if a broadcast message should be sent to notify other nodes of the cluster that the user has been added.
public abstract void removeUser(int userId)
throws PersistificationException
public abstract void removeUser(int userId,
boolean sendBroadcast)
throws PersistificationException
userID - The user to be removed from this group.sendBroadcast - true if a broadcast message should be sent to notify other nodes of the cluster that the user has been removed.
public abstract void save()
throws PersistificationException
NOTE: does not save userID list. That is handled in {add,remove}UserID.
public abstract void addParent(UserGroup parent)
throws PersistificationException
public abstract void removeParent(UserGroup parent)
throws PersistificationException
public abstract Set getParentGroupIDs()
public abstract Set getChildGroupIDs()
protected abstract void reloadParentIDs()
protected abstract void reloadChildIDs()
protected abstract Set loadParentIDs()
throws PersistificationException
protected abstract Set loadChildIDs()
throws PersistificationException
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||