|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.octetstring.vde.chain.VirtualServicesInterface
public class VirtualServicesInterface
The VirtualServicesInterface (VSI) is used to allow plugins to be able to call into OVD to perform various operations. This is the preferred way to access OVD, as it guarantees consistent data by always using a chain that begins after the current plugin. For instance, if plugin1, plugin2 and plugin3 are in a chain a call from plugin1 will go through plugin2 and plugin3, while a call from plugin2 will only go through plugin3 and a call to plugin3 will not go through the chain at all. In this way a plugin can call into OVD without worring about data consistency or recursion.
Method Summary | |
---|---|
void |
add(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result) Moves Through the "add" operation's chain |
void |
add(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result, Plugin begin) Moves Through the "add" operation's chain |
void |
bind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result) Moves through the "bind" operation's chain |
void |
bind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result, Plugin begin) Moves through the "bind" operation's chain |
void |
delete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results) Moves through the "delete" operation's chain |
void |
delete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results, Plugin begin) Moves through the "delete" operation's chain |
void |
get(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Int8 scope, Filter filter, Bool typesOnly, java.util.Vector<DirectoryString> attributes, com.octetstring.vde.chain.ChainVector result) Moves through the "get" operation's chain |
void |
get(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Int8 scope, Filter filter, Bool typesOnly, java.util.Vector<DirectoryString> attributes, com.octetstring.vde.chain.ChainVector result, Plugin begin) Moves through the "get" operation's chain |
AdapterServiceInterface |
getASI() Returns an instance of Adapter Service Interface or ASI |
Entry |
getByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base) Moves through the "get" operation's chain |
Entry |
getByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Plugin begin) Moves through the "get" operation's chain |
GlobalServicesInterface |
getGSI() Returns an instance of Global Services Interface or GSI |
void |
modify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries) Moves through the "modify" operation's chain |
void |
modify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries, Plugin begin) Moves through the "modify" operation's chain |
void |
rename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, Bool removeOldRdn, Int8 results) Moves through the "rename" operation's chain |
void |
rename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, Bool removeOldRdn, Int8 results, Plugin begin) Moves through the "rename" operation's chain |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public AdapterServiceInterface getASI()
public GlobalServicesInterface getGSI()
public void add(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result) throws DirectorySchemaViolation, DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsentry
- The entry being addedresult
- The result of the addDirectorySchemaViolation
DirectoryException
ChainException
public void add(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result, Plugin begin) throws DirectoryException, DirectorySchemaViolation, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsentry
- The entry being addedresult
- The result of the addbegin
- The plugin in the chain which will begin the chainDirectoryException
DirectorySchemaViolation
ChainException
public void bind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsdn
- The DN for the userpassword
- The user's passwordresult
- The result of the bindDirectoryException
ChainException
public void bind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsdn
- The DN for the userpassword
- The user's passwordresult
- The result of the bindbegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
public void delete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The current user's credentialsobject
- The object to deleteresults
- The results of the operationDirectoryException
ChainException
public void delete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The current user's credentialsobject
- The object to deleteresults
- The result code of the operationbegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
public void get(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Int8 scope, Filter filter, Bool typesOnly, java.util.Vector<DirectoryString> attributes, com.octetstring.vde.chain.ChainVector result) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsbase
- The base of the searchscope
- The scope of the searchfilter
- The search's filtertypesOnly
- Should entry contain valuesattributes
- List of attributesresult
- Final resultsDirectoryException
ChainException
public void get(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Int8 scope, Filter filter, Bool typesOnly, java.util.Vector<DirectoryString> attributes, com.octetstring.vde.chain.ChainVector result, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsbase
- The base of the searchscope
- The scope of the searchfilter
- The search's filtertypesOnly
- Should entry contain valuesattributes
- List of attributesresult
- Final resultsbegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
public void modify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currnet user's credentialsname
- The name of the object being modifiedchangeEntries
- Group of EntryChange ObjectsDirectoryException
ChainException
public void modify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currnet user's credentialsname
- The name of the object being modifiedchangeEntries
- Group of EntryChange Objectsbegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
public void rename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, Bool removeOldRdn, Int8 results) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- User's credentialsoldName
- The old name of the entrynewName
- The new name of the entrynewSuffix
- The new suffix of the entryremoveOldRdn
- Determine if the old RDN is to be removedresults
- The results of the renameDirectoryException
ChainException
public void rename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, Bool removeOldRdn, Int8 results, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- User's credentialsoldName
- The old name of the entrynewName
- The new name of the entrynewSuffix
- The new suffix of the entryremoveOldRdn
- Determine if the old RDN is to be removedresults
- The results of the renamebegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
public Entry getByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsbase
- The base of the searchDirectoryException
ChainException
public Entry getByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base, Plugin begin) throws DirectoryException, ChainException
request
- The current LDAP transaction informationcreds
- The currently bound user's credentialsbase
- The base of the searchbegin
- The plugin in the chain which will begin the chainDirectoryException
ChainException
|
OracleVirtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |