|
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.GlobalServicesInterface
public final class GlobalServicesInterface
Interface for plug-in writers to call in for extra operations on a global level. Calls to this interface are run through all global plugins and are run through the router and adapter systems. Obtain handle to singleton using getInstance() method.
Method Summary | |
---|---|
void |
addACLPlugin() |
static void |
addAcls() |
static GlobalServicesInterface |
getInstance() |
static void |
init() |
static void |
removeAcls() |
static void |
reset() |
void |
runAdd(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result) Runs the "add" operation's chain |
void |
runBind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result) Runs the "bind" operation's chain |
void |
runDelete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results) Moves through the "delete" operation's chain |
void |
runGet(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) Runs the "get" operation's chain |
Entry |
runGetByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base) |
void |
runModify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries) Runs the "modify" operation's chain |
void |
runPostSearchComplete(java.util.HashMap<java.lang.Object,java.lang.Object> request, ChainEntrySet entrySet, int start) Run after all entries are returned |
void |
runPostSearchEntry(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, java.util.Vector<DirectoryString> returnAttribs, Filter filter, Int8 scope, DirectoryString base, Entry entry, ChainEntrySet entrySet, int start) Run on each entry after a "get" is performed |
void |
runRename(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString oldName, DirectoryString newName, DirectoryString newSuffix, Bool removeOldRdn, Int8 results) Runs the "rename" operation's chain |
void |
stopGSI() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init()
public static GlobalServicesInterface getInstance()
public void runAdd(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, Entry entry, Int8 result) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runAdd
in interface com.octetstring.vde.chain.RunChain
creds
- The currently bound user's credentialsentry
- The entry being addedresult
- The result of the addDirectoryException
ChainException
public void runBind(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString dn, BinarySyntax password, Bool result) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runBind
in interface com.octetstring.vde.chain.RunChain
dn
- The DN for the userpassword
- The user's passwordresult
- The result of the bindDirectoryException
ChainException
public void runDelete(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString object, Int8 results) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runDelete
in interface com.octetstring.vde.chain.RunChain
creds
- The current user's credentialsobject
- The object to deleteDirectoryException
ChainException
public void runGet(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
com.octetstring.vde.chain.RunChain
runGet
in interface com.octetstring.vde.chain.RunChain
base
- 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 runModify(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString name, java.util.Vector<EntryChange> changeEntries) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runModify
in interface com.octetstring.vde.chain.RunChain
creds
- The currnet user's credentialsname
- The name of the object being modifiedchangeEntries
- Group of EntryChange ObjectsDirectoryException
ChainException
public void runRename(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
com.octetstring.vde.chain.RunChain
runRename
in interface com.octetstring.vde.chain.RunChain
creds
- 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 runPostSearchEntry(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, java.util.Vector<DirectoryString> returnAttribs, Filter filter, Int8 scope, DirectoryString base, Entry entry, ChainEntrySet entrySet, int start) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runPostSearchEntry
in interface com.octetstring.vde.chain.RunChain
creds
- The current user's credentialsentry
- The current entryDirectoryException
ChainException
public void runPostSearchComplete(java.util.HashMap<java.lang.Object,java.lang.Object> request, ChainEntrySet entrySet, int start) throws DirectoryException, ChainException
com.octetstring.vde.chain.RunChain
runPostSearchComplete
in interface com.octetstring.vde.chain.RunChain
DirectoryException
ChainException
public Entry runGetByDn(java.util.HashMap<java.lang.Object,java.lang.Object> request, Credentials creds, DirectoryString base) throws DirectoryException, ChainException
runGetByDn
in interface com.octetstring.vde.chain.RunChain
DirectoryException
ChainException
public void addACLPlugin() throws ChainException
ChainException
public static void addAcls() throws ChainException
ChainException
public static void removeAcls()
public void stopGSI()
public static void reset()
|
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 |