You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by learning coding <le...@gmail.com> on 2012/01/20 11:49:22 UTC

How to get details of repository.

Hi,
As i am trying to understand CMIS,
Please help me to get the details of Repository
My this code 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 this details.

So ,i tried typeCasting repository to cmisObject but there is error . that
i cant typecast Repository to cmisObject..

Thanks & Regards

How to get details of repository.

Posted by learning coding <le...@gmail.com>.
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 this details.

So ,i tried typeCasting repository to cmisObject but there is error . that
i cant typecast Repository to cmisObject..

Thanks & Regards