|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteGroup
Represents a CentraSite Group.
Field Summary | |
---|---|
static java.lang.String |
GROUP_USER_ASSOC_EXPORT
The association established from a group object to a user at export (e.g. group --> user) |
Method Summary | |
---|---|
void |
addOrganization(javax.xml.registry.infomodel.Organization organization)
Add organization to this group related organizations. |
void |
addRoles(java.util.Collection<CentraSiteRole> roles)
Add specified roles to this group. |
void |
addUsers(java.util.Collection<CentraSiteUser> users)
Adds specified users to this group. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
adjustImported()
Adjust this group after import. |
java.util.Collection<CentraSiteUser> |
getExternalGroupMembers()
This method is used to get the users from the unsaved external group for displaying in the UI for Import Group Members functionality |
java.util.Collection<javax.xml.registry.infomodel.Organization> |
getOrganizations()
Get all organizations this group is related to. |
java.util.Collection<CentraSiteRole> |
getRoles()
Returns all roles this group has. |
java.util.Collection<CentraSiteUser> |
getUsers()
Get all users of this Group. |
boolean |
hasFull(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro)
Check whether the group has full permission on the given registry object. |
boolean |
hasModify(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro)
Check whether the group has modify permission on the given registry object. |
boolean |
hasView(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro)
Check whether the group has view permission on the given registry object. |
boolean |
isRegistered()
Check if this group is associated with External Group. |
boolean |
isSystemDefined()
Check whether this Group is system defined i.e. immutable. |
boolean |
isUserDefined()
Check whether this Group is user defined i.e. mutable. |
void |
prepareForExport()
Prepare this group for export e.g. add JAXR associations for all users that are members of the group. |
void |
register()
Associate this group with external group. |
void |
removeOrganization(javax.xml.registry.infomodel.Organization organization)
Remove single organization from this group's related organizations. |
void |
removeRoles(java.util.Collection<CentraSiteRole> roles)
Remove specified roles from this group. |
void |
removeUsers(java.util.Collection<CentraSiteUser> users)
Removes specified users from this group. |
void |
save()
Persist the group. |
void |
setSystemDefined(boolean isSystemDefined)
Set whether the Group is system defined and immutable or not. |
void |
setUserDefined(boolean isUserDefined)
Set whether the Group is user defined and mutable or not. |
void |
unregister()
Unregister this group. |
Methods inherited from interface com.centrasite.resourceaccess.resources.ResourceAccessType |
---|
addAssociations, addClassifications, addExternalLinks, addSlots, getAssociations, getClassifications, getDescription, getDisplayName, getExternalLinks, getExternalProperties, getId, getProperties, getSlots, preDelete, preSave, removeAssociations, removeClassifications, removeExternalLinks, removeProperties, removeSlots, setDescription, setDisplayName, setProperties, synchronizeProperties |
Field Detail |
---|
static final java.lang.String GROUP_USER_ASSOC_EXPORT
Method Detail |
---|
void removeOrganization(javax.xml.registry.infomodel.Organization organization)
organization
- The organization to be removed.void addOrganization(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException
organization
- The organization to add.
javax.xml.registry.JAXRException
java.util.Collection<javax.xml.registry.infomodel.Organization> getOrganizations() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void addRoles(java.util.Collection<CentraSiteRole> roles) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid removeRoles(java.util.Collection<CentraSiteRole> roles) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteRole> getRoles() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUsers() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getExternalGroupMembers() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
void addUsers(java.util.Collection<CentraSiteUser> users) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid removeUsers(java.util.Collection<CentraSiteUser> users) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
users
- The users to be removed.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean isRegistered() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid register() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
GroupManager.addAssociation(CentraSiteGroup, CentraSiteGroup)
; should be called.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid unregister() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid save() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean isSystemDefined() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setSystemDefined(boolean isSystemDefined)
isSystemDefined
- true or false.boolean isUserDefined() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setUserDefined(boolean isUserDefined)
isUserDefined
- true or false.void prepareForExport() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<javax.xml.registry.infomodel.RegistryObject> adjustImported() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean hasView(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro) throws javax.xml.registry.JAXRException
ro
-
javax.xml.registry.JAXRException
boolean hasModify(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro) throws javax.xml.registry.JAXRException
ro
-
javax.xml.registry.JAXRException
boolean hasFull(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro) throws javax.xml.registry.JAXRException
ro
-
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |