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.DITContentRule; 030 import org.apache.directory.shared.ldap.schema.SchemaManager; 031 032 033 /** 034 * A schema entity change handler for DitContentRules. 035 * 036 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a> 037 * @version $Rev$ 038 */ 039 public class DitContentRuleSynchronizer extends AbstractRegistrySynchronizer 040 { 041 042 /** 043 * Creates a new instance of DitContentRuleSynchronizer. 044 * 045 * @param schemaManager The global schemaManager 046 * @throws Exception If the initialization failed 047 */ 048 protected DitContentRuleSynchronizer( SchemaManager schemaManager ) throws Exception 049 { 050 super( schemaManager ); 051 // TODO Auto-generated constructor stub 052 } 053 054 055 /** 056 * {@inheritDoc} 057 */ 058 @Override 059 public boolean modify( ModifyOperationContext opContext, ServerEntry targetEntry, boolean cascade ) 060 throws NamingException 061 { 062 // TODO Auto-generated method stub 063 return SCHEMA_UNCHANGED; 064 } 065 066 067 /** 068 * {@inheritDoc} 069 */ 070 public void add( ServerEntry entry ) throws NamingException 071 { 072 // TODO Auto-generated method stub 073 } 074 075 076 /** 077 * {@inheritDoc} 078 */ 079 public void delete( ServerEntry entry, boolean cascade ) throws NamingException 080 { 081 // TODO Auto-generated method stub 082 } 083 084 085 /* (non-Javadoc) 086 * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(org.apache.directory.shared.ldap.name.DN, org.apache.directory.shared.ldap.name.DN, java.lang.String, boolean, javax.naming.directory.Attributes) 087 */ 088 public void moveAndRename( DN oriChildName, DN newParentName, RDN newRn, boolean deleteOldRn, 089 ServerEntry entry, boolean cascade ) throws NamingException 090 { 091 // TODO Auto-generated method stub 092 } 093 094 095 /* (non-Javadoc) 096 * @see org.apache.directory.server.core.schema.SchemaChangeHandler#move(org.apache.directory.shared.ldap.name.DN, org.apache.directory.shared.ldap.name.DN, javax.naming.directory.Attributes) 097 */ 098 public void move( DN oriChildName, DN newParentName, ServerEntry entry, 099 boolean cascade ) throws NamingException 100 { 101 // TODO Auto-generated method stub 102 } 103 104 105 /** 106 * {@inheritDoc} 107 */ 108 public void rename( ServerEntry entry, RDN newRdn, boolean cascade ) throws NamingException 109 { 110 // TODO Auto-generated method stub 111 } 112 113 114 public void add( DITContentRule dcr ) 115 { 116 // TODO Auto-generated method stub 117 } 118 119 120 public void delete( DITContentRule dcr, boolean cascade ) 121 { 122 // TODO Auto-generated method stub 123 } 124 }