org.apache.directory.api.ldap.model.message.controls
Class PersistentSearchImpl

java.lang.Object
  extended by org.apache.directory.api.ldap.model.message.controls.AbstractControl
      extended by org.apache.directory.api.ldap.model.message.controls.PersistentSearchImpl
All Implemented Interfaces:
Control, PersistentSearch

public class PersistentSearchImpl
extends AbstractControl
implements PersistentSearch

A persistence search object

Author:
Apache Directory Project

Field Summary
 
Fields inherited from interface org.apache.directory.api.ldap.model.message.controls.PersistentSearch
CHANGE_TYPES_MAX, CHANGE_TYPES_MIN, OID
 
Constructor Summary
PersistentSearchImpl()
          Default constructor
 
Method Summary
 void enableNotification(ChangeType changeType)
           
 int getChangeTypes()
           
 boolean isChangesOnly()
           
 boolean isNotificationEnabled(ChangeType changeType)
           
 boolean isReturnECs()
           
 void setChangesOnly(boolean changesOnly)
           
 void setChangeTypes(int changeTypes)
           
 void setReturnECs(boolean returnECs)
           
 String toString()
          Return a String representing this PSearchControl.
 
Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl
equals, getOid, hashCode, isCritical, setCritical
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
 

Constructor Detail

PersistentSearchImpl

public PersistentSearchImpl()
Default constructor

Method Detail

setChangesOnly

public void setChangesOnly(boolean changesOnly)
Specified by:
setChangesOnly in interface PersistentSearch

isChangesOnly

public boolean isChangesOnly()
Specified by:
isChangesOnly in interface PersistentSearch

setReturnECs

public void setReturnECs(boolean returnECs)
Specified by:
setReturnECs in interface PersistentSearch

isReturnECs

public boolean isReturnECs()
Specified by:
isReturnECs in interface PersistentSearch

setChangeTypes

public void setChangeTypes(int changeTypes)
Specified by:
setChangeTypes in interface PersistentSearch

getChangeTypes

public int getChangeTypes()
Specified by:
getChangeTypes in interface PersistentSearch

isNotificationEnabled

public boolean isNotificationEnabled(ChangeType changeType)
Specified by:
isNotificationEnabled in interface PersistentSearch

enableNotification

public void enableNotification(ChangeType changeType)
Specified by:
enableNotification in interface PersistentSearch

toString

public String toString()
Return a String representing this PSearchControl.

Overrides:
toString in class AbstractControl


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