Package com.iplanet.am.sdk.common
Interface IComplianceServices
-
- All Known Implementing Classes:
ComplianceServicesImpl
,ComplianceServicesImpl
public interface IComplianceServices
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDeletedObjectFilter(int objectType)
Returns the search filter to be used for searching deleted objects.boolean
isAncestorOrgDeleted(SSOToken token, String dn, int profileType)
Returns true if any of the Organizations upto the base DN are marked deleted.void
verifyAndDeleteObject(SSOToken token, String profileDN)
Verify if the object in question is marked for deletion, in which case it is deleted.
-
-
-
Method Detail
-
isAncestorOrgDeleted
boolean isAncestorOrgDeleted(SSOToken token, String dn, int profileType) throws AMException
Returns true if any of the Organizations upto the base DN are marked deleted.- Parameters:
token
- User's single sign on tokendn
-DN
of 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
void verifyAndDeleteObject(SSOToken token, String profileDN) throws AMException
Verify if the object in question is marked for deletion, in which case it is deleted. Otherwise, it just marks the object for deletion.- Parameters:
token
- User's single sign on tokenprofileDN
-DN
of entry- Throws:
AMException
- if an error occurs while trying to perform the operation.
-
getDeletedObjectFilter
String getDeletedObjectFilter(int objectType) throws AMException, SSOException
Returns 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- 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
-
-