You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/04/11 13:43:37 UTC

svn commit: r160862 - lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java

Author: michi
Date: Mon Apr 11 04:43:35 2005
New Revision: 160862

URL: http://svn.apache.org/viewcvs?view=rev&rev=160862
Log:
last modified for sitetree implementation added

Added:
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java

Added: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java?view=auto&rev=160862
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java (added)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/cms/publication/LastModified.java Mon Apr 11 04:43:35 2005
@@ -0,0 +1,30 @@
+/*
+ * Copyright  1999-2004 The Apache Software Foundation
+ *
+ *  Licensed 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.
+ *
+ */
+
+/* $Id:$ */
+package org.apache.lenya.cms.publication;
+
+/**
+ * The LastModified interface gets a timestamp of the last modification of an object. 
+ */
+public interface LastModified {
+    /**
+     * Get the last time a modification occured to this object.
+     * @return The last modification.
+     */
+    long getLastModified();
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org