|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupManager
Interface for managing groups. It can perform creation, deletion and searching of groups.
Method Summary | |
---|---|
void |
addAssociation(CentraSiteGroup localGroup,
CentraSiteGroup unregisteredGroup)
Associates Unregistered Group with Local Group thus the unregistered Group becomes Registered Group. |
CentraSiteGroup |
createGroup()
Create a new instance of CentraSiteGroup ; By default a Local Group instance created. |
void |
deleteGroup(CentraSiteGroup group)
Delete specified group. |
CentraSiteGroup |
getGroup(javax.xml.registry.infomodel.RegistryObject groupRegistryObject)
Utility method to obtain CentraSiteGroup instance of RegistryObject of type "Group". |
CentraSiteGroup |
getGroup(java.lang.String id)
Get group by Id. |
java.util.Collection<CentraSiteGroup> |
getGroups(CentraSiteUser user)
Get the groups that the specified user is a member of. |
java.util.Collection<CentraSiteGroup> |
getGroups(CentraSiteUser user,
CentraSitePermission permission)
Get the groups that the specified user has the specified permission for. |
java.util.Collection<CentraSiteGroup> |
getGroups(javax.xml.registry.infomodel.Organization organization)
Get the groups that are related to the specified organization |
java.util.Collection<CentraSiteGroup> |
getGroups(java.lang.String filter)
Get the groups using the specified search filter. |
java.util.Collection<CentraSiteGroup> |
getGroupsEx(CentraSiteUser user)
Get the groups that the specified user is a member of. |
java.util.Collection<CentraSiteGroup> |
getGroupsEx(javax.xml.registry.infomodel.Organization organization)
Get the groups that are related to the specified organization The returned collection will support repeated iterations. |
java.util.Collection<CentraSiteGroup> |
getGroupsEx(java.lang.String filter)
Get the groups using the specified search filter. |
java.util.Collection<CentraSiteGroup> |
getUnregisteredGroups(java.lang.String filter)
Get unregistered groups using the specified filter. |
Methods inherited from interface com.centrasite.resourceaccess.managers.ResourceManager |
---|
delete, save |
Method Detail |
---|
CentraSiteGroup createGroup() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSiteGroup
; By default a Local Group instance created.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid deleteGroup(CentraSiteGroup group) 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<CentraSiteGroup> getGroups(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteGroup> getGroupsEx(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteGroup> getGroups(CentraSiteUser user) 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<CentraSiteGroup> getGroupsEx(CentraSiteUser user) 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<CentraSiteGroup> getGroups(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- to use in search
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteGroup> getGroupsEx(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- to use in search
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteGroup> getGroups(CentraSiteUser user, CentraSitePermission permission) 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<CentraSiteGroup> getUnregisteredGroups(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid addAssociation(CentraSiteGroup localGroup, CentraSiteGroup unregisteredGroup) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
localGroup
- Local GroupunregisteredGroup
- externally managed group
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSiteGroup getGroup(java.lang.String id) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
id
- Usually taken from ResourceAccessConstants
;
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSiteGroup getGroup(javax.xml.registry.infomodel.RegistryObject groupRegistryObject) throws javax.xml.registry.JAXRException
CentraSiteGroup
instance of RegistryObject
of type "Group".
groupRegistryObject
- The group RegistryObject
.
CentraSiteGroup
instance
javax.xml.registry.JAXRException
- if a JAXR error occurs
java.lang.IllegalArgumentException
- If groupRegistryObject is not of Group type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |