org.apache.directory.server.core
Class DefaultOperationManager

java.lang.Object
  extended by org.apache.directory.server.core.DefaultOperationManager
All Implemented Interfaces:
OperationManager

public class DefaultOperationManager
extends java.lang.Object
implements OperationManager

The default implementation of an OperationManager.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
DefaultOperationManager(DirectoryService directoryService)
           
 
Method Summary
 void add(AddOperationContext opContext)
          
 void bind(BindOperationContext opContext)
          
 boolean compare(CompareOperationContext opContext)
          
 void delete(DeleteOperationContext opContext)
          
 org.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext opContext)
          
 ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext)
          
 org.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext opContext)
          
 boolean hasEntry(EntryOperationContext opContext)
          
 EntryFilteringCursor list(ListOperationContext opContext)
          
 java.util.Set<java.lang.String> listSuffixes(ListSuffixOperationContext opContext)
          
 ClonedServerEntry lookup(LookupOperationContext opContext)
          
 void modify(ModifyOperationContext opContext)
          
 void move(MoveOperationContext opContext)
          
 void moveAndRename(MoveAndRenameOperationContext opContext)
          
 void rename(RenameOperationContext opContext)
          
 EntryFilteringCursor search(SearchOperationContext opContext)
          
 void unbind(UnbindOperationContext opContext)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOperationManager

public DefaultOperationManager(DirectoryService directoryService)
Method Detail

add

public void add(AddOperationContext opContext)
         throws java.lang.Exception

Specified by:
add in interface OperationManager
Throws:
java.lang.Exception

bind

public void bind(BindOperationContext opContext)
          throws java.lang.Exception

Specified by:
bind in interface OperationManager
Throws:
java.lang.Exception

compare

public boolean compare(CompareOperationContext opContext)
                throws java.lang.Exception

Specified by:
compare in interface OperationManager
Throws:
java.lang.Exception

delete

public void delete(DeleteOperationContext opContext)
            throws java.lang.Exception

Specified by:
delete in interface OperationManager
Throws:
java.lang.Exception

getMatchedName

public org.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext opContext)
                                                        throws java.lang.Exception

Specified by:
getMatchedName in interface OperationManager
Throws:
java.lang.Exception

getRootDSE

public ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext)
                             throws java.lang.Exception

Specified by:
getRootDSE in interface OperationManager
Throws:
java.lang.Exception

getSuffix

public org.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext opContext)
                                                   throws java.lang.Exception

Specified by:
getSuffix in interface OperationManager
Throws:
java.lang.Exception

hasEntry

public boolean hasEntry(EntryOperationContext opContext)
                 throws java.lang.Exception

Specified by:
hasEntry in interface OperationManager
Throws:
java.lang.Exception

list

public EntryFilteringCursor list(ListOperationContext opContext)
                          throws java.lang.Exception

Specified by:
list in interface OperationManager
Throws:
java.lang.Exception

listSuffixes

public java.util.Set<java.lang.String> listSuffixes(ListSuffixOperationContext opContext)
                                             throws java.lang.Exception

Specified by:
listSuffixes in interface OperationManager
Throws:
java.lang.Exception

lookup

public ClonedServerEntry lookup(LookupOperationContext opContext)
                         throws java.lang.Exception

Specified by:
lookup in interface OperationManager
Throws:
java.lang.Exception

modify

public void modify(ModifyOperationContext opContext)
            throws java.lang.Exception

Specified by:
modify in interface OperationManager
Throws:
java.lang.Exception

move

public void move(MoveOperationContext opContext)
          throws java.lang.Exception

Specified by:
move in interface OperationManager
Throws:
java.lang.Exception

moveAndRename

public void moveAndRename(MoveAndRenameOperationContext opContext)
                   throws java.lang.Exception

Specified by:
moveAndRename in interface OperationManager
Throws:
java.lang.Exception

rename

public void rename(RenameOperationContext opContext)
            throws java.lang.Exception

Specified by:
rename in interface OperationManager
Throws:
java.lang.Exception

search

public EntryFilteringCursor search(SearchOperationContext opContext)
                            throws java.lang.Exception

Specified by:
search in interface OperationManager
Throws:
java.lang.Exception

unbind

public void unbind(UnbindOperationContext opContext)
            throws java.lang.Exception

Specified by:
unbind in interface OperationManager
Throws:
java.lang.Exception


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.