You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2009/01/28 10:52:59 UTC

[jira] Resolved: (JCR-1957) Move common validation checks to a single place

     [ https://issues.apache.org/jira/browse/JCR-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-1957.
-------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

> Move common validation checks to a single place
> -----------------------------------------------
>
>                 Key: JCR-1957
>                 URL: https://issues.apache.org/jira/browse/JCR-1957
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> check for effective locks, nodes being checked-in, protection of item definitions etc. are abundant throughout jackrabbit-core. now that in addition retention and holds will be added and need to be checked as well, i suggest to move those checks to a common utility class and pass item and a list of checks to be performed.
> batcheditemoperations already provides a similar pattern for the operations on item states.
> i therefore suggest to move the flags to its base (ItemValidator) and add the utility methods needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.