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 org.apache.directory.server.core.entry.ServerEntry;
24  import org.apache.directory.server.schema.registries.Registries;
25  import org.apache.directory.shared.ldap.name.LdapDN;
26  import org.apache.directory.shared.ldap.name.Rdn;
27  import org.apache.directory.shared.ldap.schema.DITStructureRule;
28  
29  import javax.naming.NamingException;
30  
31  
32  /**
33   * A schema entity change handler for DitStructureRules.
34   *
35   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
36   * @version $Rev$
37   */
38  public class MetaDitStructureRuleHandler extends AbstractSchemaChangeHandler
39  {
40  
41      protected MetaDitStructureRuleHandler( 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, 
87       * org.apache.directory.shared.ldap.name.LdapDN, 
88       * java.lang.String, boolean, javax.naming.directory.Attributes)
89       */
90      public void move( LdapDN oriChildName, LdapDN newParentName, Rdn newRn, boolean deleteOldRn,
91          ServerEntry entry, boolean cascade ) throws NamingException
92      {
93          // TODO Auto-generated method stub
94  
95      }
96  
97  
98      /* (non-Javadoc)
99       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(
100      * org.apache.directory.shared.ldap.name.LdapDN, 
101      * org.apache.directory.shared.ldap.name.LdapDN, 
102      * javax.naming.directory.Attributes)
103      */
104     public void replace( LdapDN oriChildName, LdapDN newParentName, ServerEntry entry, 
105         boolean cascade ) throws NamingException
106     {
107         // TODO Auto-generated method stub
108 
109     }
110 
111 
112     /* (non-Javadoc)
113      * @see org.apache.directory.server.core.schema.SchemaChangeHandler#rename(
114      * org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes, java.lang.String)
115      */
116     public void rename( LdapDN name, ServerEntry entry, Rdn newRdn, boolean cascade ) throws NamingException
117     {
118         // TODO Auto-generated method stub
119 
120     }
121 
122 
123     public void add( DITStructureRule dsr )
124     {
125         // TODO Auto-generated method stub
126     }
127 
128 
129     public void delete( DITStructureRule dsr, boolean cascade )
130     {
131         // TODO Auto-generated method stub
132     }
133 }