org.apache.directory.api.ldap.codec.controls.search.persistentSearch
Class PersistentSearchGrammar

java.lang.Object
  extended by org.apache.directory.api.asn1.ber.grammar.AbstractGrammar<PersistentSearchContainer>
      extended by org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchGrammar
All Implemented Interfaces:
Grammar<PersistentSearchContainer>

public final class PersistentSearchGrammar
extends AbstractGrammar<PersistentSearchContainer>

This class implements the PSearchControl. All the actions are declared in this class. As it is a singleton, these declaration are only done once. The decoded grammar is the following : PersistenceSearch ::= SEQUENCE { changeTypes INTEGER, -- an OR combinaison of 0, 1, 2 and 4 -- changeOnly BOOLEAN, returnECs BOOLEAN } The changeTypes field is the logical OR of one or more of these values: add (1), delete (2), modify (4), modDN (8).

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
transitions
 
Method Summary
static Grammar<?> getInstance()
          This class is a singleton.
 
Methods inherited from class org.apache.directory.api.asn1.ber.grammar.AbstractGrammar
executeAction, getName, getTransition, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Grammar<?> getInstance()
This class is a singleton.

Returns:
An instance on this grammar


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