chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaime Porras López (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CMIS-663) PermissionMapping constants should be an enum
Date Wed, 29 May 2013 11:37:20 GMT

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

Jaime Porras López updated CMIS-663:
------------------------------------

        Fix Version/s:     (was: OpenCMIS 0.9.0 beta 1)
    Affects Version/s: OpenCMIS 0.9.0 beta 1
    
> PermissionMapping constants should be an enum
> ---------------------------------------------
>
>                 Key: CMIS-663
>                 URL: https://issues.apache.org/jira/browse/CMIS-663
>             Project: Chemistry
>          Issue Type: Wish
>          Components: opencmis-commons
>    Affects Versions: OpenCMIS 0.8.0, OpenCMIS 0.9.0 beta 1
>            Reporter: Jaime Porras López
>            Priority: Minor
>
> Permission mapping keys are declared as constant String in the org.apache.chemistry.opencmis.commons.data.PermissionMapping
interface. 
> It would be better to have an enum (similarly to the actions enum org.apache.chemistry.opencmis.commons.enums.Action).
In this way you can iterate easily through all the keys and have more checks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message