You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/07/22 05:24:57 UTC

svn commit: r678625 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java

Author: akarasulu
Date: Mon Jul 21 20:24:56 2008
New Revision: 678625

URL: http://svn.apache.org/viewvc?rev=678625&view=rev
Log:
forgot this with last big commit

Added:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java   (with props)

Added: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java?rev=678625&view=auto
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java (added)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java Mon Jul 21 20:24:56 2008
@@ -0,0 +1,64 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.server.core.interceptor.context;
+
+
+import org.apache.directory.server.core.CoreSession;
+import org.apache.directory.server.core.changelog.ChangeLogEvent;
+import org.apache.directory.shared.ldap.name.LdapDN;
+
+
+/**
+ * An abstract base class used by all change inducing operations.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public abstract class AbstractChangeOperationContext extends AbstractOperationContext implements ChangeOperationContext
+{
+    private ChangeLogEvent changeLogEvent;
+    
+    
+    public AbstractChangeOperationContext( CoreSession session )
+    {
+        super( session );
+    }
+
+    
+    public AbstractChangeOperationContext( CoreSession session, LdapDN dn )
+    {
+        super( session, dn );
+    }
+
+    
+    /**
+     * @see org.apache.directory.server.core.interceptor.context.ChangeOperationContext#getChangeLogEvent()
+     */
+    public ChangeLogEvent getChangeLogEvent()
+    {
+        return changeLogEvent;
+    }
+    
+    
+    public void setChangeLogEvent( ChangeLogEvent changeLogEvent )
+    {
+        this.changeLogEvent = changeLogEvent;
+    }
+}

Propchange: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/AbstractChangeOperationContext.java
------------------------------------------------------------------------------
    svn:eol-style = native