jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r761282 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java
Date Thu, 02 Apr 2009 13:13:58 GMT
Author: jukka
Date: Thu Apr  2 13:13:57 2009
New Revision: 761282

URL: http://svn.apache.org/viewvc?rev=761282&view=rev
Log:
JCR-1565: JSR 283 lifecycle management

Added lifecycle name constants as defined in JSR 283 PFD.

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java?rev=761282&r1=761281&r2=761282&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameConstants.java
Thu Apr  2 13:13:57 2009
@@ -311,6 +311,25 @@
      */
     public static final Name JCR_REQUIREDPRIMARYTYPES = FACTORY.create(Name.NS_JCR_URI, "requiredPrimaryTypes");
 
+
+    //-------------------------------< lifecycle related item name constants >
+
+    /**
+     * <code>jcr:lifecyclePolicy</code>: This property is a reference to
+     * another node that contains lifecycle policy information.
+     * @since JCR 2.0
+     */
+    public static final Name JCR_LIFECYCLE_POLICY =
+        FACTORY.create(Name.NS_JCR_URI, "lifecyclePolicy");
+
+    /**
+     * <code>jcr:currentLifecycleState</code>: This property is a string
+     * identifying the current lifecycle state of this node.
+     * @since JCR 2.0
+     */
+    public static final Name JCR_CURRENT_LIFECYCLE_STATE =
+        FACTORY.create(Name.NS_JCR_URI, "currentLifecycleState");
+
     //-------------------------------------------< node type name constants >---
     /**
      * nt:unstructured
@@ -401,6 +420,12 @@
      */
     public static final Name NT_CHILDNODEDEFINITION = FACTORY.create(Name.NS_NT_URI, "childNodeDefinition");
 
+    /**
+     * <code>mix:lifecycle</code>
+     * @since JCR 2.0
+     */
+    public static final Name MIX_LIFECYCLE =
+        FACTORY.create(Name.NS_MIX_URI, "lifecycle");
 
     //--------------------------------------------------------------------------
     /**



Mime
View raw message