Package com.iplanet.am.sdk.remote
Class ComplianceServicesImpl
- java.lang.Object
-
- com.iplanet.am.sdk.remote.ComplianceServicesImpl
-
- All Implemented Interfaces:
IComplianceServices
public class ComplianceServicesImpl extends Object implements IComplianceServices
-
-
Constructor Summary
Constructors Constructor Description ComplianceServicesImpl(SOAPClient soapClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeletedObjectFilter(int objectType)Returns the search filter to be used for searching deleted objects.booleanisAncestorOrgDeleted(SSOToken token, String dn, int profileType)Returns true if any of the Organizations upto the base DN are marked deleted.voidverifyAndDeleteObject(SSOToken token, String profileDN)Verify if the object in question is marked for deletion, in which case it is deleted.
-
-
-
Constructor Detail
-
ComplianceServicesImpl
public ComplianceServicesImpl(SOAPClient soapClient)
-
-
Method Detail
-
isAncestorOrgDeleted
public boolean isAncestorOrgDeleted(SSOToken token, String dn, int profileType) throws AMException
Description copied from interface:IComplianceServicesReturns true if any of the Organizations upto the base DN are marked deleted.- Specified by:
isAncestorOrgDeletedin interfaceIComplianceServices- Parameters:
token- User's single sign on tokendn-DNof entryprofileType- Integer representing the object type- Returns:
- True or false
- Throws:
AMException- if an error occurs while trying to determine if the ancestor Organization was deleted.
-
verifyAndDeleteObject
public void verifyAndDeleteObject(SSOToken token, String profileDN) throws AMException
Description copied from interface:IComplianceServicesVerify if the object in question is marked for deletion, in which case it is deleted. Otherwise, it just marks the object for deletion.- Specified by:
verifyAndDeleteObjectin interfaceIComplianceServices- Parameters:
token- User's single sign on tokenprofileDN-DNof entry- Throws:
AMException- if an error occurs while trying to perform the operation.
-
getDeletedObjectFilter
public String getDeletedObjectFilter(int objectType) throws AMException, SSOException
Description copied from interface:IComplianceServicesReturns the search filter to be used for searching deleted objects. For example, for searching deleted users, the search filter is(&(objectclass=inetOrgPerson)(inetUserStatus=deleted)). The search filters are configured in the Admin Console service- Specified by:
getDeletedObjectFilterin interfaceIComplianceServices- Parameters:
objectType- Integer representing the object type- Returns:
- Search filter @ throws AMException if an error occurs while trying to perform the operation.
- Throws:
SSOException- if the user's single sign on token is invalidAMException
-
-