|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.ed.AbstractNamedDataObject
edu.vt.middleware.ed.Group
public class Group
Contains attributes that identify a group.
| Nested Class Summary | |
|---|---|
static class |
Group.GroupRelationComparator
Inner class to compare GroupRelation's by uugid. |
| Field Summary | |
|---|---|
private String |
displayName
display name |
private String |
emailAddress
email address |
private Calendar |
expirationNotificationDate
expiration notification date |
static String |
FIND_BY_EXPIRATION_DATE
Constant for named query |
static String |
FIND_BY_PERSON_UID
Constant for named query |
static String |
FIND_BY_PERSON_UID_AND_ROLE
Constant for named query |
static String |
FIND_BY_UUGID
Constant for named query |
static String |
FIND_BY_UUGID_CI
Constant for named query |
static String |
FIND_BY_UUID
Constant for named query |
private List<String> |
groupData
group data |
private Set<GroupGroupRelation> |
groupRelations
Groups associated with this group |
private Set<GroupGroupRelation> |
groupRelationships
Groups that have relationships with this group |
private Set<LabeledUri> |
labeledUris
labeled uris |
private Set<GroupPersonRelation> |
personRelations
People associated with this group |
private static long |
serialVersionUID
serial version UID |
private Set<GroupServiceRelation> |
serviceRelations
Services associated with this group |
protected boolean |
sortProperties
whether to sort collection based properties |
private Boolean |
suppressDisplay
whether this group's demographic data is publicly viewable |
private Boolean |
suppressMembers
whether the members of this group are publicly viewable |
private String |
uugid
uugid |
| Fields inherited from class edu.vt.middleware.ed.AbstractNamedDataObject |
|---|
createdBy, creationDate, expirationDate, HASH_CODE_SEED, modificationDate, modifiedBy, uid |
| Constructor Summary | |
|---|---|
Group()
|
|
| Method Summary | |
|---|---|
String |
getDisplayName()
This returns the display name. |
String |
getDn()
This returns the dn. |
String |
getEmailAddress()
This returns the email address. |
Calendar |
getExpirationNotificationDate()
This returns the expiration notification date. |
List<String> |
getGroupData()
Gets an immutable list of group data entries. |
ManagedRelationSet<Group,Group,GroupGroupRelation> |
getGroupRelations()
Gets an immutable set of relations describing the groups associated with this group. |
ManagedRelationSet<Group,Group,GroupGroupRelation> |
getGroupRelationships()
Gets an immutable set of groups with any relationship to this group. |
private Set<GroupGroupRelation> |
getGroupRelationshipsInternal()
Gets a set of groups with relationships to this group. |
private Set<GroupGroupRelation> |
getGroupRelationsInternal()
Gets a set of relations describing the groups associated with this group. |
ManagedSet<LabeledUri> |
getLabeledUris()
Gets an immutable set of labeled URIs belonging to this person. |
private Set<LabeledUri> |
getLabeledUrisInternal()
Gets a set of labeled URIs belonging to this person. |
String |
getObjectClass()
This returns the object class. |
ManagedRelationSet<Group,Person,GroupPersonRelation> |
getPersonRelations()
Gets an immutable set of relations describing the people associated with this group. |
private Set<GroupPersonRelation> |
getPersonRelationsInternal()
Gets a set of relations describing the people associated with this group. |
ManagedRelationSet<Group,Service,GroupServiceRelation> |
getServiceRelations()
Gets an immutable set of relations describing the services associated with this group. |
private Set<GroupServiceRelation> |
getServiceRelationsInternal()
Gets a set of relations describing the services associated with this group. |
boolean |
getSortProperties()
This returns whether properties are sorted. |
Boolean |
getSuppressDisplay()
This returns whether this group's demographic data is publically viewable. |
Boolean |
getSuppressMembers()
Gets a boolean indicating whether or not the members of this group are publicly visible. |
Long |
getUid()
This returns the uid. |
String |
getUugid()
This returns the uugid. |
String |
getUuid()
Gets the unique string ID for this object. |
static void |
loadBriefLazyProperties(Group g)
Loads some lazy loaded group data. |
static void |
loadLazyProperties(Group g)
Loads all lazy loaded group data. |
private static void |
loadLazyProperties(Group g,
Set<Group> loaded)
Loads all lazy loaded group data. |
void |
setDisplayName(String s)
This sets the display name. |
void |
setEmailAddress(String s)
This sets the email address. |
void |
setExpirationNotificationDate(Calendar c)
This sets the expiration notification date. |
private void |
setGroupRelationshipsInternal(Set<GroupGroupRelation> s)
Sets a set of groups with relationships to this group. |
private void |
setGroupRelationsInternal(Set<GroupGroupRelation> s)
Sets a set of relations describing the groups associated with this group. |
private void |
setLabeledUrisInternal(Set<LabeledUri> s)
This sets the labeled uris. |
private void |
setPersonRelationsInternal(Set<GroupPersonRelation> s)
Gets a set of relations describing the people associated with this group. |
private void |
setServiceRelationsInternal(Set<GroupServiceRelation> s)
Sets a set of relations describing the services associated with this group. |
void |
setSortProperties(boolean b)
This sets whether properties are sorted. |
void |
setSuppressDisplay(Boolean b)
This sets whether this group's demograpic data is publically viewable. |
void |
setSuppressMembers(Boolean b)
Gets a boolean indicating whether or not the members of this group are publicly visible. |
void |
setUugid(String s)
This sets the uugid. |
| Methods inherited from class edu.vt.middleware.ed.AbstractNamedDataObject |
|---|
compareTo, getCreatedBy, getCreationDate, getExpirationDate, getModificationDate, getModifiedBy, setCreatedBy, setCreationDate, setExpirationDate, setModificationDate, setModifiedBy, setUid, toString, validateProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.vt.middleware.ed.DataObject |
|---|
getCreatedBy, getCreationDate, setCreatedBy, setCreationDate, setUid |
| Field Detail |
|---|
public static final String FIND_BY_UUID
public static final String FIND_BY_UUGID
public static final String FIND_BY_UUGID_CI
public static final String FIND_BY_PERSON_UID
public static final String FIND_BY_PERSON_UID_AND_ROLE
public static final String FIND_BY_EXPIRATION_DATE
private static final long serialVersionUID
protected boolean sortProperties
private String uugid
private String displayName
private String emailAddress
private Boolean suppressDisplay
private Boolean suppressMembers
private Set<GroupPersonRelation> personRelations
private Set<GroupGroupRelation> groupRelations
private Set<GroupServiceRelation> serviceRelations
private Set<GroupGroupRelation> groupRelationships
private Set<LabeledUri> labeledUris
private final List<String> groupData
private Calendar expirationNotificationDate
| Constructor Detail |
|---|
public Group()
| Method Detail |
|---|
public Long getUid()
getUid in interface DataObjectgetUid in class AbstractNamedDataObjectLong - uidpublic String getDn()
getDn in interface DirectoryObjectStringpublic String getObjectClass()
getObjectClass in interface DirectoryObjectStringpublic String getUugid()
Stringpublic void setUugid(String s)
s - Stringpublic String getUuid()
Examples of unique IDs:
getUuid in interface NamedDataObjectpublic String getDisplayName()
Stringpublic void setDisplayName(String s)
s - Stringpublic String getEmailAddress()
Stringpublic void setEmailAddress(String s)
s - Stringpublic Boolean getSuppressDisplay()
Booleanpublic void setSuppressDisplay(Boolean b)
b - Booleanpublic Boolean getSuppressMembers()
public void setSuppressMembers(Boolean b)
b - True if group membership should be suppressed, false otherwise.private Set<GroupPersonRelation> getPersonRelationsInternal()
private void setPersonRelationsInternal(Set<GroupPersonRelation> s)
s - Set of people related to this group.public ManagedRelationSet<Group,Person,GroupPersonRelation> getPersonRelations()
private Set<GroupGroupRelation> getGroupRelationsInternal()
private void setGroupRelationsInternal(Set<GroupGroupRelation> s)
s - Set of groups related to this group.public ManagedRelationSet<Group,Group,GroupGroupRelation> getGroupRelations()
private Set<GroupServiceRelation> getServiceRelationsInternal()
private void setServiceRelationsInternal(Set<GroupServiceRelation> s)
s - Set of services related to this group.public ManagedRelationSet<Group,Service,GroupServiceRelation> getServiceRelations()
private Set<GroupGroupRelation> getGroupRelationshipsInternal()
private void setGroupRelationshipsInternal(Set<GroupGroupRelation> s)
s - Set of group relations.public ManagedRelationSet<Group,Group,GroupGroupRelation> getGroupRelationships()
private Set<LabeledUri> getLabeledUrisInternal()
Set of labeled URIs.private void setLabeledUrisInternal(Set<LabeledUri> s)
s - Listpublic ManagedSet<LabeledUri> getLabeledUris()
Set of labeled URIs.public List<String> getGroupData()
List of group datapublic Calendar getExpirationNotificationDate()
Calendarpublic void setExpirationNotificationDate(Calendar c)
c - Calendarpublic static void loadBriefLazyProperties(Group g)
g - Group to initializepublic static void loadLazyProperties(Group g)
g - Group to initialize
private static void loadLazyProperties(Group g,
Set<Group> loaded)
g - Group to initializeloaded - Set recursion set of processed groupspublic boolean getSortProperties()
booleanpublic void setSortProperties(boolean b)
b - boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||