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.DITContentRule;
28  
29  import javax.naming.NamingException;
30  
31  
32  /**
33   * A schema entity change handler for DitContentRules.
34   *
35   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
36   * @version $Rev$
37   */
38  public class MetaDitContentRuleHandler extends AbstractSchemaChangeHandler
39  {
40  
41      protected MetaDitContentRuleHandler( 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(org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes, javax.naming.directory.Attributes)
50       */
51      @Override
52      protected void modify( LdapDN name, ServerEntry entry, ServerEntry targetEntry, boolean cascade ) 
53          throws NamingException
54      {
55          // TODO Auto-generated method stub
56  
57      }
58  
59  
60      /* (non-Javadoc)
61       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#add(org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
62       */
63      public void add( LdapDN name, ServerEntry entry ) throws NamingException
64      {
65          // TODO Auto-generated method stub
66  
67      }
68  
69  
70      /* (non-Javadoc)
71       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#delete(org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
72       */
73      public void delete( LdapDN name, ServerEntry entry, boolean cascade ) throws NamingException
74      {
75          // TODO Auto-generated method stub
76  
77      }
78  
79  
80      /* (non-Javadoc)
81       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(org.apache.directory.shared.ldap.name.LdapDN, org.apache.directory.shared.ldap.name.LdapDN, java.lang.String, boolean, javax.naming.directory.Attributes)
82       */
83      public void move( LdapDN oriChildName, LdapDN newParentName, Rdn newRn, boolean deleteOldRn,
84          ServerEntry entry, boolean cascade ) throws NamingException
85      {
86          // TODO Auto-generated method stub
87  
88      }
89  
90  
91      /* (non-Javadoc)
92       * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(org.apache.directory.shared.ldap.name.LdapDN, org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes)
93       */
94      public void replace( LdapDN oriChildName, LdapDN newParentName, ServerEntry entry, 
95          boolean cascade ) throws NamingException
96      {
97          // TODO Auto-generated method stub
98  
99      }
100 
101 
102     /* (non-Javadoc)
103      * @see org.apache.directory.server.core.schema.SchemaChangeHandler#rename(org.apache.directory.shared.ldap.name.LdapDN, javax.naming.directory.Attributes, java.lang.String)
104      */
105     public void rename( LdapDN name, ServerEntry entry, Rdn newRdn, boolean cascade ) throws NamingException
106     {
107         // TODO Auto-generated method stub
108 
109     }
110 
111 
112     public void add( DITContentRule dcr )
113     {
114         // TODO Auto-generated method stub
115     }
116 
117 
118     public void delete( DITContentRule dcr, boolean cascade )
119     {
120         // TODO Auto-generated method stub
121     }
122 }