Search in sources :

Example 1 with MTypeManagerDAO

use of com.pogeyan.cmis.api.data.services.MTypeManagerDAO in project copper-cms by PogeyanOSS.

the class CmisTypeCacheService method getPropertyDefinition.

@Override
public PropertyDefinition<?> getPropertyDefinition(String propId) {
    MTypeManagerDAO typeMorphiaDAO = DatabaseServiceFactory.getInstance(repositoryId).getObjectService(repositoryId, MTypeManagerDAO.class);
    Map<String, PropertyDefinition<?>> property = typeMorphiaDAO.getAllPropertyById(propId);
    return property.get(propId);
}
Also used : MTypeManagerDAO(com.pogeyan.cmis.api.data.services.MTypeManagerDAO) PropertyDefinition(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition)

Aggregations

MTypeManagerDAO (com.pogeyan.cmis.api.data.services.MTypeManagerDAO)1 PropertyDefinition (org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition)1