Class SortRequestContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.codec.controls.sort.SortRequestContainer
-
- All Implemented Interfaces:
Asn1Container
,ControlContainer
public class SortRequestContainer extends AbstractContainer implements ControlContainer
Container for SortRequestControl.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description SortRequestContainer(Control control)
Creates a new instance of SortRequestContainer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
Clean the containerSortRequest
getControl()
SortKey
getCurrentKey()
void
setControl(Control control)
Set a Control Object into the container.void
setCurrentKey(SortKey currentKey)
-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.asn1.ber.Asn1Container
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
SortRequestContainer
public SortRequestContainer(Control control)
Creates a new instance of SortRequestContainer.- Parameters:
control
- the sort request control
-
-
Method Detail
-
getControl
public SortRequest getControl()
- Returns:
- the control
-
setControl
public void setControl(Control control)
Description copied from interface:ControlContainer
Set a Control Object into the container. It will be completed by the ldapDecoder.- Specified by:
setControl
in interfaceControlContainer
- Parameters:
control
- the control to set
-
clean
public void clean()
Clean the container- Overrides:
clean
in classAbstractContainer
-
getCurrentKey
public SortKey getCurrentKey()
- Returns:
- the currentKey
-
setCurrentKey
public void setCurrentKey(SortKey currentKey)
- Parameters:
currentKey
- the currentKey to set
-
-