You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Gregory Melahn (JIRA)" <ji...@apache.org> on 2012/05/23 20:00:42 UTC

[jira] [Created] (CMIS-534) customizing the generation of atom ids

Gregory Melahn created CMIS-534:
-----------------------------------

             Summary: customizing the generation of atom ids
                 Key: CMIS-534
                 URL: https://issues.apache.org/jira/browse/CMIS-534
             Project: Chemistry
          Issue Type: Improvement
            Reporter: Gregory Melahn
            Priority: Minor


Is there a way to generate atom:id's using one's own mechanism instead of them looking like ... <atom:id>http://chemistry.apache.org/L0F2YWlsYWJsZS9tZWxhaG5AdXMuaWJtLmNvbS9QYWNrYWdl</atom:id> 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CMIS-534) customizing the generation of atom ids

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281775#comment-13281775 ] 

Florian Müller commented on CMIS-534:
-------------------------------------

No because the atom:id is not relevant for CMIS. It just has to be unique.
At the moment it's simply the objectId base64 encoded.

But it would be possible to add this to the ObjectInfo interface.
                
> customizing the generation of atom ids
> --------------------------------------
>
>                 Key: CMIS-534
>                 URL: https://issues.apache.org/jira/browse/CMIS-534
>             Project: Chemistry
>          Issue Type: Improvement
>            Reporter: Gregory Melahn
>            Priority: Minor
>
> Is there a way to generate atom:id's using one's own mechanism instead of them looking like ... <atom:id>http://chemistry.apache.org/L0F2YWlsYWJsZS9tZWxhaG5AdXMuaWJtLmNvbS9QYWNrYWdl</atom:id> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (CMIS-534) customizing the generation of atom ids

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller reassigned CMIS-534:
-----------------------------------

    Assignee: Florian Müller
    
> customizing the generation of atom ids
> --------------------------------------
>
>                 Key: CMIS-534
>                 URL: https://issues.apache.org/jira/browse/CMIS-534
>             Project: Chemistry
>          Issue Type: Improvement
>            Reporter: Gregory Melahn
>            Assignee: Florian Müller
>            Priority: Minor
>
> Is there a way to generate atom:id's using one's own mechanism instead of them looking like ... <atom:id>http://chemistry.apache.org/L0F2YWlsYWJsZS9tZWxhaG5AdXMuaWJtLmNvbS9QYWNrYWdl</atom:id> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CMIS-534) customizing the generation of atom ids

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281886#comment-13281886 ] 

Florian Müller commented on CMIS-534:
-------------------------------------

The {{ObjectInfo}} interface has an new method: {{getAtomId()}}
If it returns a non-null value, OpenCMIS uses it as atom:id. Otherwise OpenCMIS generates an id.
                
> customizing the generation of atom ids
> --------------------------------------
>
>                 Key: CMIS-534
>                 URL: https://issues.apache.org/jira/browse/CMIS-534
>             Project: Chemistry
>          Issue Type: Improvement
>            Reporter: Gregory Melahn
>            Assignee: Florian Müller
>            Priority: Minor
>
> Is there a way to generate atom:id's using one's own mechanism instead of them looking like ... <atom:id>http://chemistry.apache.org/L0F2YWlsYWJsZS9tZWxhaG5AdXMuaWJtLmNvbS9QYWNrYWdl</atom:id> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira