|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteRole
Represents a CentraSite Role.
Method Summary | |
---|---|
void |
addPermissions(java.util.Collection<CentraSitePermission> permissions)
Add specified permissions to this role. |
javax.xml.registry.infomodel.Organization |
getOrganization()
Gets the organization this role is related to. |
java.util.Collection<CentraSitePermission> |
getPermissions()
Get the permissions applicable to this role. |
boolean |
isOrganizationAdministrator()
Check whether this role is Organization Administrator Role. |
boolean |
isSystemDefined()
Check whether this Role is system defined i.e. immutable. |
boolean |
isSystemLevel()
Check if this is a system level role. |
boolean |
isUserDefined()
Check whether this Role is user defined i.e. mutable. |
void |
removePermissions(java.util.Collection<CentraSitePermission> permissions)
Remove specified permissions from this role. |
void |
save()
Persist the role. |
void |
setOrganization(javax.xml.registry.infomodel.Organization organization)
Sets the organization this role is related to. |
void |
setOrganizationAdministrator(boolean isOrganizationAdministrator)
Set whether this Role is Organization Administrator Role. |
void |
setSystemDefined(boolean isSystemDefined)
Set whether the Role is system defined and immutable or not. |
void |
setUserDefined(boolean isUserDefined)
Set whether the Role is user defined and mutable or not. |
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 |
Method Detail |
---|
java.util.Collection<CentraSitePermission> getPermissions() 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 addPermissions(java.util.Collection<CentraSitePermission> permissions) 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 removePermissions(java.util.Collection<CentraSitePermission> permissions) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
permissions
- Permissions to be removed.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid setOrganization(javax.xml.registry.infomodel.Organization organization)
organization
- The organization to relate to.javax.xml.registry.infomodel.Organization getOrganization()
void 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 isSystemLevel() 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 isOrganizationAdministrator() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
void setOrganizationAdministrator(boolean isOrganizationAdministrator)
isOrganizationAdministrator
- true or false.boolean 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |