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.api.schema.registries.synchronizers;
21  
22  
23  import org.apache.directory.api.ldap.model.entry.Entry;
24  import org.apache.directory.api.ldap.model.exception.LdapException;
25  import org.apache.directory.api.ldap.model.name.Dn;
26  import org.apache.directory.api.ldap.model.name.Rdn;
27  import org.apache.directory.api.ldap.model.schema.MatchingRuleUse;
28  import org.apache.directory.api.ldap.model.schema.SchemaManager;
29  import org.apache.directory.server.core.api.interceptor.context.ModifyOperationContext;
30  
31  
32  /**
33   * A schema entity change handler for DitMatchingRuleUses.
34   *
35   * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
36   */
37  public class MatchingRuleUseSynchronizer extends AbstractRegistrySynchronizer
38  {
39      /**
40       * Creates a new instance of MatchingRuleUseSynchronizer.
41       *
42       * @param schemaManager The global schemaManager
43       * @throws Exception If the initialization failed
44       */
45      protected MatchingRuleUseSynchronizer( SchemaManager schemaManager ) throws Exception
46      {
47          super( schemaManager );
48          // TODO Auto-generated constructor stub
49      }
50  
51  
52      /**
53       * {@inheritDoc}
54       */
55      @Override
56      public boolean modify( ModifyOperationContext modifyContext, Entry targetEntry,
57          boolean cascade ) throws LdapException
58      {
59          // TODO Auto-generated method stub
60          return SCHEMA_UNCHANGED;
61      }
62  
63  
64      /**
65       * {@inheritDoc}
66       */
67      public void add( Entry entry ) throws LdapException
68      {
69          // TODO Auto-generated method stub
70      }
71  
72  
73      /**
74       * {@inheritDoc}
75       */
76      public void delete( Entry entry, boolean cascade ) throws LdapException
77      {
78          // TODO Auto-generated method stub
79      }
80  
81  
82      public void moveAndRename( Dn oriChildName, Dn newParentName, Rdn newRn, boolean deleteOldRn,
83          Entry entry, boolean cascade ) throws LdapException
84      {
85          // TODO Auto-generated method stub
86      }
87  
88  
89      public void move( Dn oriChildName, Dn newParentName,
90          Entry entry, boolean cascade ) throws LdapException
91      {
92          // TODO Auto-generated method stub
93      }
94  
95  
96      /**
97       * {@inheritDoc}
98       */
99      public void rename( Entry entry, Rdn newRdn, boolean cascade ) throws LdapException
100     {
101         // TODO Auto-generated method stub
102     }
103 
104 
105     public void add( MatchingRuleUse mru ) throws LdapException
106     {
107         // TODO Auto-generated method stub
108     }
109 
110 
111     public void delete( MatchingRuleUse mru, boolean cascade ) throws LdapException
112     {
113         // TODO Auto-generated method stub
114     }
115 }