|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.apps.policy.RecertificationPolicyMO
public class RecertificationPolicyMO
Managed object representing a recertification policy.
Constructor Summary | |
---|---|
RecertificationPolicyMO(PlatformContext platform,
javax.security.auth.Subject subject,
DistinguishedName name)
Constructs the managed object with a platform context, a subject, and the distinguished name of the object to manage. |
Method Summary | |
---|---|
void |
execute()
Runs or executes the recertification policy manually. |
OrganizationalContainerMO |
getContainer()
Returns the current parent container of this policy. |
RecertificationPolicy |
getData()
Returns a current snapshot of the recertification policy. |
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the recertification policy. |
OrganizationalContainerMO |
getOrganization()
Returns the organization that the policy is contained within. |
boolean |
isDeletable()
Returns true if this object can be deleted by the authenticated subject, false otherwise. |
boolean |
isExecutable()
Returns true if the authenticated subject has permission to execute or modify this recertification policy. |
boolean |
isUpdatable()
Returns true if this object can be modified or updated by the authenticated subject, false otherwise. |
void |
remove()
Removes the recertification policy object from the provisioning platform. |
void |
update(RecertificationPolicy newPolicy)
Updates the recertification policy object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecertificationPolicyMO(PlatformContext platform, javax.security.auth.Subject subject, DistinguishedName name)
platform
- PlatformContext holding the platform connection information.subject
- Subject representing the authenticated caller.name
- DistinguishedName of the policy.Method Detail |
---|
public DistinguishedName getDistinguishedName()
public RecertificationPolicy getData() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
ApplicationException
- Thrown if it is unable to retrieve data.public void update(RecertificationPolicy newPolicy) throws java.rmi.RemoteException, AuthorizationException, ApplicationException
policy
- Policy value object with changes to make.
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
AuthorizationException
- Thrown if the client is unauthorized to change the policy.
ApplicationException
- Thrown if it is unable to submit the request. This might
occur if another client removes the policy prior to the
call. This exception is also thrown when
RecertificatioPolicyMO contains a null DistinguishedName.public void remove() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
AuthorizationException
- Thrown if the client is unauthorized to remove the policy.
ApplicationException
- Thrown if it is unable to submit the request. This might occur
if another client removes the policy prior to the call.
This exception is also thrown when RecertificationPolicyMO
contains a null DistinguishedName.public void execute() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
AuthorizationException
- Thrown if the client is unauthorized to execute the
policy.
ApplicationException
- Thrown if it is unable to retrieve this object.public OrganizationalContainerMO getContainer() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
AuthorizationException
- Thrown if the client is unauthorized to view the container
of the policy.
ApplicationException
- Thrown if it is unable to retrieve the container of the policy.public OrganizationalContainerMO getOrganization() throws java.rmi.RemoteException, AuthorizationException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
AuthorizationException
- Thrown if the client is unauthorized to view the container
of the policy.
com.ibm.itim.apps.exception.AppProcessingException
- Thrown if it is unable to retrieve the organization.
ApplicationException
public boolean isDeletable() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
ApplicationException
- Thrown if it is unable to retrieve this object.public boolean isUpdatable() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
ApplicationException
- Thrown if it is unable to update this object.public boolean isExecutable() throws java.rmi.RemoteException, ApplicationException
java.rmi.RemoteException
- Thrown if it is unable to communicate with the platform.
ApplicationException
- Thrown if it is unable to execute the policy.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |