|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteUser
Represents a CentraSite User.
Method Summary | |
---|---|
void |
activate()
The method activates the User. |
void |
addOrganization(javax.xml.registry.infomodel.Organization organization)
Add organization to this user's organizations. |
void |
addRoles(java.util.Collection<CentraSiteRole> roles)
Add specified roles to this user. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
adjustImported()
Adjust the user object at import. |
void |
deactivate()
The method deactivates the User. |
java.util.Collection<javax.xml.registry.infomodel.EmailAddress> |
getEmailAddresses()
Get user's email addresses. |
java.util.Collection<javax.xml.registry.infomodel.Organization> |
getOrganizations()
Get all organizations this user belongs to. |
java.util.Collection<CentraSitePermission> |
getPermissions()
Returns the permissions that are applicable to this user. |
javax.xml.registry.infomodel.PersonName |
getPersonName()
|
java.util.Collection<javax.xml.registry.infomodel.PostalAddress> |
getPostalAddresses()
Get user's postal address. |
java.util.Collection<CentraSiteRole> |
getRoles()
Returns all the roles directly assigned to this user as well as all roles assigned through group membership. |
java.util.Collection<CentraSiteRole> |
getRoles(CentraSitePermission permission)
Returns all roles that this user has the specified permission for. |
java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> |
getTelephoneNumbers(java.lang.String phoneType)
Get user's telephone numbers. |
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> |
getUserAssets(java.util.Collection<java.lang.String> findQualifiers)
|
javax.xml.registry.infomodel.Organization |
getWorkingOrganization()
Get the current working Organization of this user. |
boolean |
hasCorrespondingPermission(CentraSitePermission permission)
This method verifies if the user a specified permission. |
boolean |
hasCorrespondingRole(java.lang.String roleId,
javax.xml.registry.infomodel.Organization organization)
This method verifies if the user has a specified role for a specified organization. |
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 |
hasPermission(CentraSitePermission permission)
This method verifies if the user has a specified permission. |
boolean |
hasPermission(CentraSitePermission permission,
javax.xml.registry.infomodel.Organization organization)
This method verifies if the user has a specified permission for a specified organization. |
boolean |
hasView(com.centrasite.jaxr.infomodel.CentraSiteRegistryObject ro)
Check whether the group has view permission on the given registry object. |
boolean |
isActive()
Check if the User is already activated. |
boolean |
isCentraSiteAdministrator()
Check if the user is a CentraSite Administrator |
boolean |
isGuestUser()
Check if this CentraSiteUser instance is the predefined Guest User. |
boolean |
isPrimaryContact(javax.xml.registry.infomodel.Organization organization)
Check if the user is a primary contact for the given organization |
boolean |
isRegistered()
Is this user registered? |
void |
register()
Register this user. |
void |
removeOrganization(javax.xml.registry.infomodel.Organization organization)
Remove single organization from this user's organizations. |
void |
removeRoles(java.util.Collection<CentraSiteRole> roles)
Remove specified roles from this user. |
void |
save()
Persist the user. |
void |
setEmailAddresses(java.util.Collection<javax.xml.registry.infomodel.EmailAddress> emailAddresses)
Set user's email addresses. |
void |
setPersonName(javax.xml.registry.infomodel.PersonName personName)
Set user's person name. |
void |
setPostalAddresses(java.util.Collection<javax.xml.registry.infomodel.PostalAddress> postalAddresses)
Set user's postal address. |
void |
setTelephoneNumbers(java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> telephoneNumbers)
Set user's telephone numbers. |
void |
setWorkingOrganization(javax.xml.registry.infomodel.Organization organization)
Set the current working organization of this user. |
void |
unregister()
Unregister this user. |
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 |
---|
void removeOrganization(javax.xml.registry.infomodel.Organization organization)
organization
- The organization to be removed.void addOrganization(javax.xml.registry.infomodel.Organization organization)
organization
- The organization to add.java.util.Collection<javax.xml.registry.infomodel.Organization> getOrganizations()
javax.xml.registry.infomodel.Organization getWorkingOrganization()
void setWorkingOrganization(javax.xml.registry.infomodel.Organization organization)
organization
- The working Organization to be set.javax.xml.registry.infomodel.PersonName getPersonName() 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 occursUser.getPersonName()
void setPersonName(javax.xml.registry.infomodel.PersonName personName) 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 occursUser.setPersonName(PersonName)
java.util.Collection<javax.xml.registry.infomodel.PostalAddress> getPostalAddresses() 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 occursUser.getPostalAddresses()
void setPostalAddresses(java.util.Collection<javax.xml.registry.infomodel.PostalAddress> postalAddresses) 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 occursUser.setPostalAddresses(Collection)
java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> getTelephoneNumbers(java.lang.String phoneType) 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 occursUser.getTelephoneNumbers(String)
void setTelephoneNumbers(java.util.Collection<javax.xml.registry.infomodel.TelephoneNumber> telephoneNumbers) 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 occursUser.setTelephoneNumbers(Collection)
java.util.Collection<javax.xml.registry.infomodel.EmailAddress> getEmailAddresses() 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 occursUser.getEmailAddresses()
void setEmailAddresses(java.util.Collection<javax.xml.registry.infomodel.EmailAddress> emailAddresses) 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 occursUser.setEmailAddresses(Collection)
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<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 occursboolean hasPermission(CentraSitePermission permission) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
permission
- The CentraSitePermission
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean hasPermission(CentraSitePermission permission, javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
permission
- The CentraSitePermissionorganization
- The Organization
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean hasCorrespondingPermission(CentraSitePermission permission) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
permission
- The CentraSitePermission (must be system level)
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursboolean hasCorrespondingRole(java.lang.String roleId, javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
roleId
- - System level role id or default organization's role idorganization
- The Organization
javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
java.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<CentraSiteRole> getRoles(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 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
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 occursjava.util.Collection<javax.xml.registry.infomodel.RegistryObject> getUserAssets(java.util.Collection<java.lang.String> findQualifiers) throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
CentraSiteQueryManager.findUserAssets(Collection, javax.xml.registry.infomodel.User)
boolean isGuestUser()
void activate()
void deactivate()
boolean isActive()
boolean isPrimaryContact(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException
organization
-
javax.xml.registry.JAXRException
boolean isCentraSiteAdministrator() throws com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.xml.registry.JAXRException
com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
boolean 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
java.util.Collection<javax.xml.registry.infomodel.RegistryObject> adjustImported() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |