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] [Created] (CMIS-663) PermissionMapping constants should be
an enum
Jaime Porras López created CMIS-663:
---------------------------------------
Summary: 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
Reporter: Jaime Porras López
Priority: Minor
Fix For: OpenCMIS 0.9.0 beta 1
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