Hi, If you are using the OpenCMIS client API the Session object (not the repository) is the one giving you access to all high level functionalities of a remote CMIS repo.
See http://chemistry.apache.org/opencmis-cookbook.html HTH, Gab Gabriele Columbro Principal Architect, Consulting Services Alfresco Software ( http://www.alfresco.com ) M: +31 (0)627 565 103 P: +39 320 161 28 46 D: +44 (0)1628 876 654 Skype: gabrielecolumbro Blog: http://www.mindthegab.com Twitter: @mindthegabz On 30 jan. 2012, at 10:16, Sebastian Danninger <[email protected]> wrote: > Hi, > > you can see the available functions here: > > http://chemistry.apache.org/java/0.5.0/maven/apidocs/org/apache/chemistry/opencmis/client/api/Repository.html > > you can't cast the Repository into an CMIS Object. CMISObjects are the > files within your repository. > > best regards > > Sebastian > > Am 30. Januar 2012 10:08 schrieb learning coding < > [email protected]>: > >> Hi, >> As i am trying to understand CMIS, >> Please help me to get the details of Repository >> My this code is working fine >> >> for(Repository r : repositories) { >> >> System.out.println("Found repository: " + r.getName() + " repo id " + >> r.getId() >> + " " ); >> >> } >> >> But I want to get the ObjectStoredId,date of creation, modified >> by,DatabaseType >> how to get this information of Repository.?? >> >> For the CMISObjects there are the methods to get these details. >> >> So ,i tried typeCasting repository to cmisObject but there is error . that >> i cant typecast Repository to cmisObject.. >> >> Thanks & Regards >>
