[Yanel-commits] rev 41258 -
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util
michi at wyona.com
michi at wyona.com
Mon Feb 2 11:00:47 CET 2009
Author: michi
Date: 2009-02-02 11:00:47 +0100 (Mon, 02 Feb 2009)
New Revision: 41258
Added:
public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/VersioningUtil.java
Log:
versioning util started
Added: public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/VersioningUtil.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/VersioningUtil.java (rev 0)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/core/util/VersioningUtil.java 2009-02-02 10:00:47 UTC (rev 41258)
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2009 Wyona
+ *
+ * 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.wyona.org/licenses/APACHE-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.wyona.yanel.core.util;
+
+import org.wyona.yanel.core.Resource;
+import org.wyona.yanel.core.api.attributes.ModifiableV2;
+import org.wyona.yanel.core.api.attributes.VersionableV2;
+import org.wyona.yanel.core.attributes.versionable.RevisionInformation;
+
+import org.apache.log4j.Logger;
+
+/**
+ *
+ */
+public class VersioningUtil {
+
+ private static Logger log = Logger.getLogger(VersioningUtil.class);
+
+ /**
+ * @param resource Resource which shall be rolled back
+ * @param revisionName Revision name to which shall be rolled back
+ */
+ public static void rollBack(Resource resource, String revisionName) {
+ log.error("DEBUG: Implementation not finished yet!");
+ }
+}
More information about the Yanel-commits
mailing list