You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jaime Porras López (JIRA)" <ji...@apache.org> on 2013/05/29 13:37:20 UTC
[jira] [Updated] (CMIS-663) PermissionMapping constants should be
an enum
[ 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