SearchOperationWrapper.java revision 12fcd990eec557d1e8ff37ad5852444ff96a30f5
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
* add the following below this CDDL HEADER, with the fields enclosed
* by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Portions Copyright 2007 Sun Microsystems, Inc.
*/
/**
* This class will be extended by sub-classes to enhance the
* functionnality of the SearchOperationBasis.
*/
public abstract class SearchOperationWrapper extends OperationWrapper
implements SearchOperation
{
// The wrapped operation.
private SearchOperation search;
/**
* Creates a new search operation based on the provided search operation.
*
* @param search The search operation to wrap
*/
{
super(search);
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
return search.getAttributes();
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
public DereferencePolicy getDerefPolicy()
{
return search.getDerefPolicy();
}
/**
* {@inheritDoc}
*/
public int getEntriesSent()
{
return search.getEntriesSent();
}
/**
* {@inheritDoc}
*/
public SearchFilter getFilter()
{
}
/**
* {@inheritDoc}
*/
public ByteString getRawBaseDN()
{
return search.getRawBaseDN();
}
/**
* {@inheritDoc}
*/
public RawFilter getRawFilter()
{
return search.getRawFilter();
}
/**
* {@inheritDoc}
*/
public int getReferencesSent()
{
return search.getReferencesSent();
}
/**
* {@inheritDoc}
*/
public SearchScope getScope()
{
}
/**
* {@inheritDoc}
*/
public int getSizeLimit()
{
return search.getSizeLimit();
}
/**
* {@inheritDoc}
*/
public int getTimeLimit()
{
return search.getTimeLimit();
}
/**
* {@inheritDoc}
*/
public boolean getTypesOnly()
{
return search.getTypesOnly();
}
/**
* {@inheritDoc}
*/
public void sendSearchResultDone()
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
public void setSizeLimit(int sizeLimit)
{
}
/**
* {@inheritDoc}
*/
public void setTimeLimit(int timeLimit)
{
}
/**
* {@inheritDoc}
*/
public void setTypesOnly(boolean typesOnly)
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
public boolean isReturnLDAPSubentries()
{
return search.isReturnLDAPSubentries();
}
/**
* {@inheritDoc}
*/
public void setReturnLDAPSubentries(boolean returnLDAPSubentries)
{
}
/**
* {@inheritDoc}
*/
{
return search.getMatchedValuesControl();
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
public boolean isIncludeUsableControl()
{
return search.isIncludeUsableControl();
}
/**
* {@inheritDoc}
*/
public void setIncludeUsableControl(boolean includeUsableControl)
{
}
/**
* {@inheritDoc}
*/
{
}
/**
* {@inheritDoc}
*/
public PersistentSearch getPersistentSearch()
{
return search.getPersistentSearch();
}
/**
* {@inheritDoc}
*/
public Long getTimeLimitExpiration()
{
return search.getTimeLimitExpiration();
}
/**
* {@inheritDoc}
*/
public boolean isClientAcceptsReferrals()
{
return search.isClientAcceptsReferrals();
}
/**
* {@inheritDoc}
*/
public void setClientAcceptsReferrals(boolean clientAcceptReferrals)
{
}
/**
* {@inheritDoc}
*/
public void incrementEntriesSent()
{
}
/**
* {@inheritDoc}
*/
public void incrementReferencesSent()
{
}
/**
* {@inheritDoc}
*/
public boolean isSendResponse()
{
return search.isSendResponse();
}
/**
* {@inheritDoc}
*/
public void setSendResponse(boolean sendResponse)
{
}
/**
* {@inheritDoc}
*/
public boolean isRealAttributesOnly(){
return search.isRealAttributesOnly();
}
/**
* {@inheritDoc}
*/
public void setRealAttributesOnly(boolean realAttributesOnly){
}
/**
* {@inheritDoc}
*/
public boolean isVirtualAttributesOnly(){
return search.isVirtualAttributesOnly();
}
/**
* {@inheritDoc}
*/
public void setVirtualAttributesOnly(boolean virtualAttributesOnly){
}
/**
* {@inheritDoc}
* @throws DirectoryException
*/
throws DirectoryException
{
}
/**
* {@inheritDoc}
* @throws DirectoryException
*/
throws DirectoryException
{
}
/**
* {@inheritDoc}
*/
public DN getProxiedAuthorizationDN()
{
return search.getProxiedAuthorizationDN();
}
/**
* {@inheritDoc}
*/
}
}