org.apache.ldap.server.operational
Class OperationalAttributeService

java.lang.Object
  extended byorg.apache.ldap.server.interceptor.BaseInterceptor
      extended byorg.apache.ldap.server.operational.OperationalAttributeService
All Implemented Interfaces:
Interceptor

public class OperationalAttributeService
extends BaseInterceptor

An Interceptor that adds or modifies the default attributes of entries. There are four default attributes for now;'creatorsName' , 'createTimestamp', 'modifiersName', and 'modifyTimestamp'.

Version:
$Rev: 159266 $, $Date: 2005-03-28 12:30:19 -0500 (Mon, 28 Mar 2005) $
Author:
Apache Directory Project

Constructor Summary
OperationalAttributeService()
          Creates the operational attribute management service interceptor.
 
Method Summary
 void destroy()
          Deinitializes this interceptor.
 void init(InterceptorContext ctx)
          Intializes this interceptor.
protected  void process(NextInterceptor nextInterceptor, Add call)
          Adds extra operational attributes to the entry before it is added.
protected  void process(NextInterceptor nextInterceptor, List call)
           
protected  void process(NextInterceptor nextInterceptor, Lookup call)
           
protected  void process(NextInterceptor nextInterceptor, LookupWithAttrIds call)
           
protected  void process(NextInterceptor nextInterceptor, Modify call)
           
protected  void process(NextInterceptor nextInterceptor, ModifyMany call)
           
protected  void process(NextInterceptor nextInterceptor, ModifyRN call)
           
protected  void process(NextInterceptor nextInterceptor, Move call)
           
protected  void process(NextInterceptor nextInterceptor, MoveAndModifyRN call)
           
protected  void process(NextInterceptor nextInterceptor, Search call)
           
 
Methods inherited from class org.apache.ldap.server.interceptor.BaseInterceptor
getPrincipal, process, process, process, process, process, process, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationalAttributeService

public OperationalAttributeService()
Creates the operational attribute management service interceptor.

Method Detail

init

public void init(InterceptorContext ctx)
          throws javax.naming.NamingException
Description copied from interface: Interceptor
Intializes this interceptor. This is invoked by directory service provider when this intercepter is loaded into interceptor chain.

Parameters:
ctx - the configuration properties for this interceptor
Throws:
javax.naming.NamingException - if failed to initialize this interceptor

destroy

public void destroy()
Description copied from interface: Interceptor
Deinitializes this interceptor. This is invoked by directory service provider when this intercepter is unloaded from interceptor chain.


process

protected void process(NextInterceptor nextInterceptor,
                       Add call)
                throws javax.naming.NamingException
Adds extra operational attributes to the entry before it is added.

Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       Modify call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       ModifyMany call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       ModifyRN call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       Move call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       MoveAndModifyRN call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       Lookup call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       LookupWithAttrIds call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       List call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException

process

protected void process(NextInterceptor nextInterceptor,
                       Search call)
                throws javax.naming.NamingException
Overrides:
process in class BaseInterceptor
Throws:
javax.naming.NamingException