[jira] [Commented] (CMIS-276) Check methods definitions conformance to the spec

2011-06-12 Thread Richard McKnight (JIRA)

[ 
https://issues.apache.org/jira/browse/CMIS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048422#comment-13048422
 ] 

Richard McKnight commented on CMIS-276:
---

Have made all changes that will not break existing code (changed input variable 
names).
Will fix createFolder and createDocument in PHPCMIS-0.2 (possibly with a 
wrapper).
Also need to look at setContentStream.

For now, the outputs do not conform to the spec -- this will be fixed (possibly 
with a wrapper) in PHPCMIS-0.2

> Check methods definitions conformance to the spec
> -
>
> Key: CMIS-276
> URL: https://issues.apache.org/jira/browse/CMIS-276
> Project: Chemistry
>  Issue Type: Task
>  Components: cmis-phplib
>Reporter: Patrice Collardez
>Assignee: Richard McKnight
>Priority: Minor
>
> If backward compatibility is needed, add some wrapper methods around current 
> ones.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CMIS-276) Check methods definitions conformance to the spec

2011-06-12 Thread Richard McKnight (JIRA)

[ 
https://issues.apache.org/jira/browse/CMIS-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048415#comment-13048415
 ] 

Richard McKnight commented on CMIS-276:
---

For now the following convention will be followed.
1. repositoryId is implied
2. All required inputs will be arguments to the methods
3. In general -- optional inputs will be put into a hash map -- there are some 
exceptions.
  -- getTypeChildren and getTypeDescendants will have typeId (which is optional 
explicitly listed as an argument).

For PHPCMIS-0.1 only the implemented methods will be validated.
Also -- we are not creating 7 different services -- all of the methods will be 
implemented as methods of the CMISService class

createDocument and createFolder need to be refactored this is concerning 
because it may break other implementations.

There are a number of methods that specify objectId while the spec calls for 
folderId -- these will be renovated.



> Check methods definitions conformance to the spec
> -
>
> Key: CMIS-276
> URL: https://issues.apache.org/jira/browse/CMIS-276
> Project: Chemistry
>  Issue Type: Task
>  Components: cmis-phplib
>Reporter: Patrice Collardez
>Assignee: Richard McKnight
>Priority: Minor
>
> If backward compatibility is needed, add some wrapper methods around current 
> ones.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira