public class SMSJAXRPCObjectImpl extends Object implements SMSObjectIF, SMSObjectListener
ADD, DELETE, MODIFY
Constructor and Description |
---|
SMSJAXRPCObjectImpl() |
Modifier and Type | Method and Description |
---|---|
void |
allObjectsChanged()
This callback notifies the listener that all object should be marked as
"changed" or "dirty".
|
void |
checkForLocal() |
void |
create(String tokenID,
String objName,
Map attributes)
Creates an entry in the persistent store.
|
void |
delete(String tokenID,
String objName)
Delete the entry in the datastore.
|
void |
deRegisterNotificationURL(String id) |
boolean |
entryExists(String tokenID,
String objName)
Checks if the provided DN exists.
|
String |
getAMSdkBaseDN()
Returns the root suffix (i.e., amsdkbase DN) for the UMS objects.
|
String |
getRootSuffix()
Returns the root suffix (i.e., base DN) for the SMS objects.
|
void |
modify(String tokenID,
String objName,
String mods)
Modifies the attributes to the object.
|
void |
notifyObjectChanged(String name,
int type)
Processes object changed events from other severs
|
void |
objectChanged(String name,
int type)
This callback method is called by the EventService when the Directory
Server triggers a PersistentSearch notification
|
Set |
objectsChanged(int time) |
Map |
read(String tokenID,
String objName)
Returns the attribute names and values of the provided object using the
identity of the provided SSO Token
|
String |
registerNotificationURL(String url) |
Set |
schemaSubEntries(String tokenID,
String dn,
String filter,
String sidFilter,
int numOfEntries,
boolean sortResults,
boolean ao)
Returns the sub-entries matching the schema id.
|
Set |
search(String tokenID,
String startDN,
String filter)
Searchs the data store for objects that match the filter
|
Set |
search2(String tokenID,
String startDN,
String filter,
int numOfEntries,
int timeLimit,
boolean sortResults,
boolean ascendingOrder)
Searchs the data store for objects that match the filter
|
Set |
search3(String tokenID,
String startDN,
String filter,
int numOfEntries,
int timeLimit,
boolean sortResults,
boolean ascendingOrder,
Set excludes)
Searches the data store for objects that match the filter with an exclude set
|
Set |
searchOrganizationNames(String tokenID,
String dn,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder,
String serviceName,
String attrName,
Set values)
Returns the organization names.
|
Set |
searchSubOrgNames(String tokenID,
String dn,
String filter,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder,
boolean recursive)
Returns the suborganization names.
|
Set |
subEntries(String tokenID,
String dn,
String filter,
int numOfEntries,
boolean sortResults,
boolean ascendingOrder)
Returns the sub-entries.
|
boolean |
validateServiceAttributes(String token,
String validatorClass,
Set values)
Validates service configuration attributes.
|
public void checkForLocal()
checkForLocal
in interface SMSObjectIF
public Map read(String tokenID, String objName) throws SMSException, SSOException, RemoteException
read
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public void create(String tokenID, String objName, Map attributes) throws SMSException, SSOException, RemoteException
create
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public void modify(String tokenID, String objName, String mods) throws SMSException, SSOException, RemoteException
modify
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public void delete(String tokenID, String objName) throws SMSException, SSOException, RemoteException
delete
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public Set searchSubOrgNames(String tokenID, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder, boolean recursive) throws SMSException, SSOException
numOfEntries
identifies the number of entries to return, if code>0 returns
all the entries.searchSubOrgNames
in interface SMSObjectIF
SMSException
SSOException
public Set searchOrganizationNames(String tokenID, String dn, int numOfEntries, boolean sortResults, boolean ascendingOrder, String serviceName, String attrName, Set values) throws SMSException, SSOException
numOfEntries
identifies the number of entries to return, if 0
returns
all the entries.searchOrganizationNames
in interface SMSObjectIF
SMSException
SSOException
public Set subEntries(String tokenID, String dn, String filter, int numOfEntries, boolean sortResults, boolean ascendingOrder) throws SMSException, SSOException
numOfEntries
identifies the
number of entries to return, if 0
returns all the entries.subEntries
in interface SMSObjectIF
SMSException
SSOException
public Set schemaSubEntries(String tokenID, String dn, String filter, String sidFilter, int numOfEntries, boolean sortResults, boolean ao) throws SMSException, SSOException
numOfEntries
identifies the number of entries to return,
if 0
returns all the entries.schemaSubEntries
in interface SMSObjectIF
SMSException
SSOException
public Set search(String tokenID, String startDN, String filter) throws SMSException, SSOException, RemoteException
search
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public Set search2(String tokenID, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder) throws SMSException, SSOException, RemoteException
search2
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public Set search3(String tokenID, String startDN, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set excludes) throws SMSException, SSOException, RemoteException
search3
in interface SMSObjectIF
SMSException
SSOException
RemoteException
public boolean entryExists(String tokenID, String objName) throws SSOException, RemoteException
entryExists
in interface SMSObjectIF
SSOException
RemoteException
public String getRootSuffix() throws RemoteException
getRootSuffix
in interface SMSObjectIF
RemoteException
public String getAMSdkBaseDN() throws RemoteException
getAMSdkBaseDN
in interface SMSObjectIF
RemoteException
public boolean validateServiceAttributes(String token, String validatorClass, Set values) throws SMSException, SSOException, RemoteException
validateServiceAttributes
in interface SMSObjectIF
token
- Single Sign On token.validatorClass
- validator class name.values
- Values to be validated.true
of values are valid.SMSException
- if value is not valid.SSOException
- if single sign on token is in valid.RemoteException
- if remote method cannot be invoked.public Set objectsChanged(int time) throws RemoteException
objectsChanged
in interface SMSObjectIF
RemoteException
public void objectChanged(String name, int type)
SMSObjectListener
objectChanged
in interface SMSObjectListener
public void allObjectsChanged()
SMSObjectListener
allObjectsChanged
in interface SMSObjectListener
public String registerNotificationURL(String url) throws RemoteException
registerNotificationURL
in interface SMSObjectIF
RemoteException
public void deRegisterNotificationURL(String id) throws RemoteException
deRegisterNotificationURL
in interface SMSObjectIF
RemoteException
public void notifyObjectChanged(String name, int type) throws RemoteException
notifyObjectChanged
in interface SMSObjectIF
name
- DN of the object changedtype
- change typeRemoteException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.