001 /* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 * 019 */ 020 package org.apache.directory.server.core.schema.registries.synchronizers; 021 022 023 import javax.naming.NamingException; 024 025 import org.apache.directory.server.core.interceptor.context.ModifyOperationContext; 026 import org.apache.directory.shared.ldap.entry.ServerEntry; 027 import org.apache.directory.shared.ldap.name.DN; 028 import org.apache.directory.shared.ldap.name.RDN; 029 import org.apache.directory.shared.ldap.schema.MatchingRuleUse; 030 import org.apache.directory.shared.ldap.schema.SchemaManager; 031 032 033 /** 034 * A schema entity change handler for DitMatchingRuleUses. 035 * 036 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 037 * @version $Rev$ 038 */ 039 public class MatchingRuleUseSynchronizer extends AbstractRegistrySynchronizer 040 { 041 /** 042 * Creates a new instance of MatchingRuleUseSynchronizer. 043 * 044 * @param schemaManager The global schemaManager 045 * @throws Exception If the initialization failed 046 */ 047 protected MatchingRuleUseSynchronizer( SchemaManager schemaManager ) throws Exception 048 { 049 super( schemaManager ); 050 // TODO Auto-generated constructor stub 051 } 052 053 054 /** 055 * {@inheritDoc} 056 */ 057 @Override 058 public boolean modify( ModifyOperationContext opContext, ServerEntry targetEntry, 059 boolean cascade ) throws NamingException 060 { 061 // TODO Auto-generated method stub 062 return SCHEMA_UNCHANGED; 063 } 064 065 066 /** 067 * {@inheritDoc} 068 */ 069 public void add( ServerEntry entry ) throws NamingException 070 { 071 // TODO Auto-generated method stub 072 } 073 074 075 /** 076 * {@inheritDoc} 077 */ 078 public void delete( ServerEntry entry, boolean cascade ) throws NamingException 079 { 080 // TODO Auto-generated method stub 081 } 082 083 084 public void moveAndRename( DN oriChildName, DN newParentName, RDN newRn, boolean deleteOldRn, 085 ServerEntry entry, boolean cascade ) throws NamingException 086 { 087 // TODO Auto-generated method stub 088 } 089 090 091 public void move( DN oriChildName, DN newParentName, 092 ServerEntry entry, boolean cascade ) throws NamingException 093 { 094 // TODO Auto-generated method stub 095 } 096 097 098 /** 099 * {@inheritDoc} 100 */ 101 public void rename( ServerEntry entry, RDN newRdn, boolean cascade ) throws NamingException 102 { 103 // TODO Auto-generated method stub 104 } 105 106 107 public void add( MatchingRuleUse mru ) throws NamingException 108 { 109 // TODO Auto-generated method stub 110 } 111 112 113 public void delete( MatchingRuleUse mru, boolean cascade ) throws NamingException 114 { 115 // TODO Auto-generated method stub 116 } 117 }