|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.BasicData net.sf.basedb.core.data.GroupData
public class GroupData
This class holds information about a group.
Group
,
Authentication overviewField Summary | |
---|---|
private Set<GroupData> |
children
|
private String |
description
|
private Date |
entryDate
|
private boolean |
hiddenMembers
|
private boolean |
isDefault
|
private Set<ItemKeyData> |
itemKeys
|
private String |
name
|
private Set<GroupData> |
parents
|
private Set<ProjectData> |
projects
|
private QuotaData |
quota
|
private boolean |
removed
|
private String |
systemId
|
private Set<UserData> |
users
|
Fields inherited from interface net.sf.basedb.core.data.NameableData |
---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
Fields inherited from interface net.sf.basedb.core.data.SystemData |
---|
MAX_SYSTEM_ID_LENGTH |
Constructor Summary | |
---|---|
GroupData()
|
Method Summary | |
---|---|
Set<GroupData> |
getChildren()
Get the set that manages which other groups are members of this group. |
String |
getDescription()
Get the description for the item. |
Date |
getEntryDate()
Get the date this item was added to the database. |
boolean |
getHiddenMembers()
A flag indicating if members of the group should be hidden to each other or not. |
(package private) Set<ItemKeyData> |
getItemKeys()
This is the inverse end. |
String |
getName()
Get the name of the item. |
(package private) Set<GroupData> |
getParents()
This is the inverse end. |
(package private) Set<ProjectData> |
getProjects()
This is the inverse end. |
QuotaData |
getQuota()
Get the quota object which holds quota information for this group. |
String |
getSystemId()
Get the system id for the item. |
Set<UserData> |
getUsers()
Get the set that manages which users are members of this group. |
boolean |
isDefault()
If this group should be assigned to new users by default or not. |
boolean |
isRemoved()
Check if the removed flag is set for this item. |
(package private) void |
setChildren(Set<GroupData> children)
|
void |
setDefault(boolean isDefault)
|
void |
setDescription(String description)
Set the description for the item. |
void |
setEntryDate(Date entryDate)
|
void |
setHiddenMembers(boolean hiddenMembers)
|
(package private) void |
setItemKeys(Set<ItemKeyData> itemKeys)
|
void |
setName(String name)
Set the name of the item. |
(package private) void |
setParents(Set<GroupData> parents)
|
(package private) void |
setProjects(Set<ProjectData> projects)
|
void |
setQuota(QuotaData quota)
|
void |
setRemoved(boolean removed)
Set the removed flag for this item. |
void |
setSystemId(String systemId)
|
(package private) void |
setUsers(Set<UserData> users)
|
Methods inherited from class net.sf.basedb.core.data.BasicData |
---|
equals, getId, getVersion, hashCode, setId, setVersion, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData |
---|
getId, getVersion |
Field Detail |
---|
private String name
private String description
private boolean removed
private String systemId
private Date entryDate
private Set<UserData> users
private Set<GroupData> children
private Set<GroupData> parents
private Set<ProjectData> projects
private Set<ItemKeyData> itemKeys
private QuotaData quota
private boolean isDefault
private boolean hiddenMembers
Constructor Detail |
---|
public GroupData()
Method Detail |
---|
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.
setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.
setDescription
in interface NameableData
description
- The new description for the itempublic boolean isRemoved()
RemovableData
isRemoved
in interface RemovableData
public void setRemoved(boolean removed)
RemovableData
setRemoved
in interface RemovableData
removed
- TRUE if the item should be flagged as removed,
FALSE otherwisepublic String getSystemId()
SystemData
getSystemId
in interface SystemData
public void setSystemId(String systemId)
public Date getEntryDate()
RegisteredData
getEntryDate
in interface RegisteredData
public void setEntryDate(Date entryDate)
public Set<UserData> getUsers()
void setUsers(Set<UserData> users)
public Set<GroupData> getChildren()
void setChildren(Set<GroupData> children)
Set<GroupData> getParents()
getChildren()
void setParents(Set<GroupData> parents)
Set<ProjectData> getProjects()
ProjectData.getGroups()
void setProjects(Set<ProjectData> projects)
Set<ItemKeyData> getItemKeys()
ItemKeyData.getGroups()
void setItemKeys(Set<ItemKeyData> itemKeys)
public QuotaData getQuota()
public void setQuota(QuotaData quota)
public boolean isDefault()
public void setDefault(boolean isDefault)
public boolean getHiddenMembers()
public void setHiddenMembers(boolean hiddenMembers)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |