gov.nih.nci.caarray.domain.permissions
Class CollaboratorGroup
java.lang.Object
gov.nih.nci.caarray.domain.permissions.CollaboratorGroup
- All Implemented Interfaces:
- com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, gov.nih.nci.caarray.security.Protectable, java.io.Serializable
public class CollaboratorGroup
- extends java.lang.Object
- implements com.fiveamsolutions.nci.commons.data.persistent.PersistentObject, gov.nih.nci.caarray.security.Protectable
CollaboratorGroups bridge CSM groups with owners.
- See Also:
- Serialized Form
Constructor Summary |
CollaboratorGroup()
For UI / Hibernate Usage only. |
CollaboratorGroup(gov.nih.nci.security.authorization.domainobjects.Group group,
gov.nih.nci.security.authorization.domainobjects.User owner)
|
Method Summary |
java.util.Set<AccessProfile> |
getAccessProfiles()
|
gov.nih.nci.security.authorization.domainobjects.Group |
getGroup()
|
java.lang.Long |
getId()
|
gov.nih.nci.security.authorization.domainobjects.User |
getOwner()
|
void |
setId(java.lang.Long id)
Deprecated. should only be used by castor, hibernate and struts |
void |
setOwner(gov.nih.nci.security.authorization.domainobjects.User owner)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollaboratorGroup
public CollaboratorGroup(gov.nih.nci.security.authorization.domainobjects.Group group,
gov.nih.nci.security.authorization.domainobjects.User owner)
- Parameters:
group
- CSM groupowner
- group owner
CollaboratorGroup
public CollaboratorGroup()
- For UI / Hibernate Usage only.
getId
public java.lang.Long getId()
- Specified by:
getId
in interface com.fiveamsolutions.nci.commons.data.persistent.PersistentObject
- Returns:
- database identifier
setId
@Deprecated
public void setId(java.lang.Long id)
- Deprecated. should only be used by castor, hibernate and struts
- Sets the id.
- Parameters:
id
- the id to set
getGroup
public gov.nih.nci.security.authorization.domainobjects.Group getGroup()
- Returns:
- the group
getOwner
public gov.nih.nci.security.authorization.domainobjects.User getOwner()
- Returns:
- the owner
setOwner
public void setOwner(gov.nih.nci.security.authorization.domainobjects.User owner)
- Parameters:
owner
- owner to set
getAccessProfiles
public java.util.Set<AccessProfile> getAccessProfiles()
- Returns:
- the access profiles that have been created for this group