org.apache.directory.server.protocol.shared.store
Interface DirectoryServiceOperation

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ChangePassword, GetCatalog, GetPrincipal

public interface DirectoryServiceOperation
extends java.io.Serializable

Interface to support the command pattern for LDAP operations.

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

Method Summary
 java.lang.Object execute(CoreSession session, org.apache.directory.shared.ldap.name.DN baseDn)
          The command pattern execute method.
 

Method Detail

execute

java.lang.Object execute(CoreSession session,
                         org.apache.directory.shared.ldap.name.DN baseDn)
                         throws java.lang.Exception
The command pattern execute method.

Parameters:
session - The CoreSession to execute the command with
baseDn - The base DN for working with the context
Returns:
Object The result returned by the command
Throws:
java.lang.Exception - The exception thrown by the command


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.