View Javadoc

1   /*
2    *  Licensed to the Apache Software Foundation (ASF) under one
3    *  or more contributor license agreements.  See the NOTICE file
4    *  distributed with this work for additional information
5    *  regarding copyright ownership.  The ASF licenses this file
6    *  to you under the Apache License, Version 2.0 (the
7    *  "License"); you may not use this file except in compliance
8    *  with the License.  You may obtain a copy of the License at
9    *  
10   *    http://www.apache.org/licenses/LICENSE-2.0
11   *  
12   *  Unless required by applicable law or agreed to in writing,
13   *  software distributed under the License is distributed on an
14   *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   *  KIND, either express or implied.  See the License for the
16   *  specific language governing permissions and limitations
17   *  under the License. 
18   *  
19   */
20  package org.apache.directory.server.core.schema;
21  
22  
23  import javax.naming.NamingException;
24  
25  import org.apache.directory.server.core.entry.ServerEntry;
26  import org.apache.directory.server.schema.registries.Registries;
27  import org.apache.directory.shared.ldap.name.LdapDN;
28  import org.apache.directory.shared.ldap.name.Rdn;
29  import org.apache.directory.shared.ldap.schema.NameForm;
30  
31  
32  /**
33   * A schema entity change handler for NameForms.
34   *
35   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
36   * @version $Rev$
37   */
38  public class MetaNameFormHandler extends AbstractSchemaChangeHandler
39  {
40  
41      protected MetaNameFormHandler( Registries targetRegistries, PartitionSchemaLoader loader ) throws Exception
42      {
43          super( targetRegistries, loader );
44          // TODO Auto-generated constructor stub
45      }
46  
47  
48      /* (non-Javadoc)
49       * @see org.apache.directory.server.core.schema.AbstractSchemaChangeHandler#modify(
50       * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes, 
51       * javax.naming.directory.Attributes)
52       */
53      @Override
54      protected void modify( LdapDN name, ServerEntry entry, ServerEntry targetEntry, 
55          boolean cascade ) throws NamingException
56      {
57          // TODO Auto-generated method stub
58  
59      }
60  
61  
62      /* (non-Javadoc)
63       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#add(
64       * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
65       */
66      public void add( LdapDN name, ServerEntry entry ) throws NamingException
67      {
68          // TODO Auto-generated method stub
69  
70      }
71  
72  
73      /* (non-Javadoc)
74       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#delete(
75       * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
76       */
77      public void delete( LdapDN name, ServerEntry entry, boolean cascade ) throws NamingException
78      {
79          // TODO Auto-generated method stub
80  
81      }
82  
83  
84      /* (non-Javadoc)
85       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(
86       * org.apache.directory.shared.ldap.name.LdapDN, org.apache.directory.shared.ldap.name.LdapDN, 
87       * Rdn, boolean, javax.naming.directory.Attributes)
88       */
89      public void move( LdapDN oriChildName, LdapDN newParentName, Rdn newRn,
90          boolean deleteOldRn, ServerEntry entry, boolean cascade ) throws NamingException
91      {
92          // TODO Auto-generated method stub
93  
94      }
95  
96  
97      /* (non-Javadoc)
98       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(
99       * org.apache.directory.shared.ldap.name.LdapDN, 
100      * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
101      */
102     public void replace( LdapDN oriChildName, LdapDN newParentName, ServerEntry entry, 
103         boolean cascade ) throws NamingException
104     {
105         // TODO Auto-generated method stub
106 
107     }
108 
109 
110     /* (non-Javadoc)
111      * @see org.apache.directory.server.core.schema.SchemaChangeHandler#rename(
112      * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes, Rdn, boolean)
113      */
114     public void rename( LdapDN name, ServerEntry entry, Rdn newRdn, boolean cascade ) throws NamingException
115     {
116         // TODO Auto-generated method stub
117 
118     }
119 
120 
121     public void add( NameForm nf )
122     {
123         // TODO Auto-generated method stub
124     }
125 
126 
127     public void delete( NameForm nf, boolean cascade )
128     {
129         // TODO Auto-generated method stub
130     }
131 }