Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D8631046C for ; Wed, 31 Jul 2013 09:58:58 +0000 (UTC) Received: (qmail 78853 invoked by uid 500); 31 Jul 2013 09:58:58 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 78744 invoked by uid 500); 31 Jul 2013 09:58:57 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 78736 invoked by uid 99); 31 Jul 2013 09:58:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 09:58:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 09:58:50 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8BE7F2388980 for ; Wed, 31 Jul 2013 09:58:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r872079 - in /websites/staging/directory/trunk/content: ./ api/user-guide/6-ldap-data-structures.html api/user-guide/6.1-administrative-point.html api/user-guide/6.4-attribute-type.html Date: Wed, 31 Jul 2013 09:58:28 -0000 To: commits@directory.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130731095828.8BE7F2388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed Jul 31 09:58:28 2013 New Revision: 872079 Log: Staging update by buildbot for directory Added: websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html Modified: websites/staging/directory/trunk/content/ (props changed) websites/staging/directory/trunk/content/api/user-guide/6-ldap-data-structures.html websites/staging/directory/trunk/content/api/user-guide/6.1-administrative-point.html Propchange: websites/staging/directory/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Wed Jul 31 09:58:28 2013 @@ -1 +1 @@ -1508775 +1508792 Modified: websites/staging/directory/trunk/content/api/user-guide/6-ldap-data-structures.html ============================================================================== --- websites/staging/directory/trunk/content/api/user-guide/6-ldap-data-structures.html (original) +++ websites/staging/directory/trunk/content/api/user-guide/6-ldap-data-structures.html Wed Jul 31 09:58:28 2013 @@ -140,8 +140,8 @@

6 - LDAP Data Structures (...)

Contents

    -
  • 6.1 - AdministrativePoint (...)
  • -
  • 6.2 - AdministrativeRole (e)
  • +
  • 6.1 - AdministrativePoint
  • +
  • 6.2 - AdministrativeRole
  • 6.3 - Attribute
  • 6.4 - AttributeType (...)
  • 6.5 - Ava
  • Modified: websites/staging/directory/trunk/content/api/user-guide/6.1-administrative-point.html ============================================================================== --- websites/staging/directory/trunk/content/api/user-guide/6.1-administrative-point.html (original) +++ websites/staging/directory/trunk/content/api/user-guide/6.1-administrative-point.html Wed Jul 31 09:58:28 2013 @@ -142,7 +142,7 @@ Those classes are currently only used by the server. It will be available on the client side later on. -

    And AdministrativePoint is an entry in the DIT which is associated with some AdministrativeArea. In ApacheDS we support 4 different kind of roles : +

    An AdministrativePoint is an entry in the DIT which is associated with some AdministrativeArea. In ApacheDS we support 4 different kind of roles : * ACI * Collective Attributes * SubSchema Added: websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html ============================================================================== --- websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html (added) +++ websites/staging/directory/trunk/content/api/user-guide/6.4-attribute-type.html Wed Jul 31 09:58:28 2013 @@ -0,0 +1,271 @@ + + + + + 6.4 - AttributeType — Apache Directory + + + + + + + + + + + + +

    + +
    +
    + + + +
    +
    + + + + + +

    6.4 - AttributeType

    +
    +Those classes are currently only used by the server. It will be available on the client side later on. +
    + +

    The AttributeType is one of the most important schema element. It describes what can be stored into an Entry, its syntax, and the various rules that are to be followed when searching for an associated value.

    +

    AttributeType are immutable objects, created from the schema, and never changed. One can add a new AttributeType, or delete itfrom the schema, but once it's added to the schema, it can't be modified.

    +

    Usually, we just use them.

    +

    Description

    +

    An AttributeType contains the following informations :

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ValueDescriptionoptional
    OIDAn unique Oid for the AttributeTypeno
    NAMEsome names, the fist one being considered as the short name.yes
    DESCRA textual description describing the AttributeType role.yes
    OBSOLETEA flag indicating if the AttributeType is deprecatedyes
    SUPThe AttributeType it inherit fromyes (If SYNTAX is null, can't be null)
    EQUALITYThe EQUALITY MatchingRuleyes (if null, and if SUP is not null, takes its SUP's value)
    ORDERINGThe ORDERING MatchingRuleyes (if null, and if SUP is not null, takes its SUP's value)
    SUBSTRThe SUBSTR MatchingRuleyes (if null, and if SUP is not null, takes its SUP's value)
    SYNTAXThe Syntax to followyes (If SUP is null, can't be null)
    SINGLE-VALUETells that the AttributeType does not allow more than one valueyes
    COLLECTIVEDefine a collective attribute. The AttributeType USAGE must be userApplicationsyes
    NO-USER-MODIFICATIONTells that the values can't be modified by the user. The AttributeType USAGE must be operationalyes
    USAGEThe kind of AttributeType : one of {userApplications, directoryOperation, directoryOperation, directoryOperation}yes
    extensionsServer specific parametersyes
    +

    An AttributeType has some default elements : it's not OBSOLETE, has no SUP, is not SINGLE-VALUE, is not COLLECTIVE, can be modified by the user, and has an userApplications USAGE.

    +

    You can check some of those elements using the following methods :

    +
    * isAncestorOf( AttrbuteType ) : tells if the current _AttributeType_ is the ancestor of another one
    +* isCollective() : tells if the current _AttributeType_ is a collective attribute
    +* isDescendantOf( AttributeType ) : tells if the current _AttributeType_ inherits from another one
    +* isOperational() : tells if the current _AttributeType_ is an Operational Attribute
    +* isSingleValued() : tells if the current _AttributeType_ does not allow more than one value
    +* isUser() : tells if the current _AttributeType_ is a User Application _AttributeType_
    +* isUserModifiable() : tells if the _Attributes_ usng this _AttributeType_ can be modified on the server
    +
    + + + + + +
    +
    +
    + +
    + + \ No newline at end of file