[
https://issues.apache.org/jira/browse/JCR-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765118#action_12765118
]
angela commented on JCR-2342:
-----------------------------
NOTE:
since JCR 2.0 all the node type and name constants are (or should be) part of
the interfaces in their expanded form.
this is suitable everywhere, where you pass a jcr name to an API call and you
wouldn't need the JcrConstants.
> Missing constants in JCRConstants
> ---------------------------------
>
> Key: JCR-2342
> URL: https://issues.apache.org/jira/browse/JCR-2342
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr-commons
> Affects Versions: 2.0-alpha12
> Reporter: johann sorel
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> there are also several missing constants in class JCRConstants in jackrabbit
> 2.0-alpha12.
> (All constants coming from the new types of JCR2)
> here is a small list (It's not a complete list) :
> public static final String NT_ADDRESS = "nt:address";
> public static final String MIX_CREATED = "mix:created";
> public static final String MIX_LANGUAGE = "mix:language";
> public static final String MIX_LASTMODIFIED = "mix:lastModified";
> public static final String MIX_MIMETYPE = "mix:mimeType";
> public static final String MIX_TITLE = "mix:title";
> public static final String JCR_HOST = "jcr:host";
> public static final String JCR_PROTOCOL = "jcr:protocol";
> public static final String JCR_PORT = "jcr:port";
> public static final String JCR_REPOSITORY = "jcr:repository";
> public static final String JCR_WORKSPACE = "jcr:workspace";
> public static final String JCR_ID = "jcr:id";
> public static final String JCR_CREATEDBY = "jcr:createdBy";
> public static final String JCR_LASTMODIFIEDBY = "jcr:lastModifiedBy";
> public static final String JCR_TITLE = "jcr:title";
> public static final String JCR_DESCRIPTION = "jcr:description";
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.