You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2011/01/27 05:21:23 UTC
svn commit: r1063983 -
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java
Author: akarasulu
Date: Thu Jan 27 04:21:23 2011
New Revision: 1063983
URL: http://svn.apache.org/viewvc?rev=1063983&view=rev
Log:
extracted interfacce for subentries control
Added:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java
Added: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java?rev=1063983&view=auto
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java (added)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/search/controls/subentries/Subentries.java Thu Jan 27 04:21:23 2011
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.directory.shared.ldap.codec.search.controls.subentries;
+
+
+import org.apache.directory.shared.ldap.model.message.Control;
+
+
+/**
+ * A searchRequest control : Subentries
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public interface Subentries extends Control
+{
+ /** Ths control OID */
+ String OID = "1.3.6.1.4.1.4203.1.10.1";
+
+ /**
+ * Check if the subEntry is visible
+ *
+ * @return true or false.
+ */
+ boolean isVisible();
+
+ /**
+ * Set the visibility flag
+ *
+ * @param visibility The visibility flag : true or false
+ */
+ void setVisibility( boolean visibility );
+}