org.apache.directory.shared.ldap.message
Interface MutableControl

All Superinterfaces:
javax.naming.ldap.Control, java.io.Serializable
All Known Implementing Classes:
AbstractMutableControlImpl, CascadeControl, EntryChangeControl, ManageDsaITControl, PersistentSearchControl, SubentriesControl

public interface MutableControl
extends javax.naming.ldap.Control

Protocol request and response altering control interface. Any number of controls may be associated with a protocol message.

Version:
$Rev: 569235 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from interface javax.naming.ldap.Control
CRITICAL, NONCRITICAL
 
Method Summary
 void setCritical(boolean isCritical)
          Sets the criticil flag which determines whether or not this control is critical for the correct operation of a request or response message.
 void setID(java.lang.String oid)
          Sets the OID of the Control to identify the control type.
 
Methods inherited from interface javax.naming.ldap.Control
getEncodedValue, getID, isCritical
 

Method Detail

setID

void setID(java.lang.String oid)
Sets the OID of the Control to identify the control type.

Parameters:
oid - the OID of this Control.

setCritical

void setCritical(boolean isCritical)
Sets the criticil flag which determines whether or not this control is critical for the correct operation of a request or response message. The default for this value should be false.

Parameters:
isCritical - true if the control is critical false otherwise.


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