com.wewebu.ow.server.ecmimpl.cmis
Interface OwCMISObjectModel

All Known Implementing Classes:
OwCMISResourceObjectModel

public interface OwCMISObjectModel

OwCMISObjectModel. Interface for handling and querying of meta-model information form current connected CMIS repository.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Method Summary
 OwCMISACLModel getACLModel()
          Return the ACL model of current repository.
 OwCMISObjectClass getObjectClass(String objectClassName_p)
          Returning the OwCMISObjectClass for the given objectClassName_p.
 Map<String,String> getObjectClassNames(int[] types_p, boolean excludeHiddenAndNonInstantiable_p, boolean rootOnly_p, Locale locale_p)
          This method is called by network to request the map.
 OwCMISPropertyClass getPropertyClass(String propertyClassName_p)
          Should return the corresponding property, which was requested by the given property class name.
 OwCMISResource getResource()
          Return the depending OwCMISResource which is used for the meta-model calls.
 OwCMISVersionModel getVersionModel()
          Return a handler for versioning, version and version series creation.
 

Method Detail

getPropertyClass

OwCMISPropertyClass getPropertyClass(String propertyClassName_p)
                                     throws com.wewebu.ow.server.exceptions.OwException
Should return the corresponding property, which was requested by the given property class name.

Parameters:
propertyClassName_p - String, non-null value
Returns:
OwCMISPropertyClass
Throws:
com.wewebu.ow.server.exceptions.OwException - if could not resolve/retrieve the by given name

getObjectClass

OwCMISObjectClass getObjectClass(String objectClassName_p)
                                 throws com.wewebu.ow.server.exceptions.OwException
Returning the OwCMISObjectClass for the given objectClassName_p.

Parameters:
objectClassName_p - String representing unique symbolic name
Returns:
OwCMISObjectClass
Throws:
com.wewebu.ow.server.exceptions.OwException - if object class could not be found

getObjectClassNames

Map<String,String> getObjectClassNames(int[] types_p,
                                       boolean excludeHiddenAndNonInstantiable_p,
                                       boolean rootOnly_p,
                                       Locale locale_p)
                                       throws com.wewebu.ow.server.exceptions.OwException
This method is called by network to request the map.

Parameters:
types_p - array of types or null,
excludeHiddenAndNonInstantiable_p - boolean to filter hidden or not instantiable classes
rootOnly_p - requesting only root classes
Returns:
a map of symbolic class name to display name
Throws:
com.wewebu.ow.server.exceptions.OwException
See Also:
OwRepository.getObjectClassNames(int[],boolean, boolean, OwResource)

getVersionModel

OwCMISVersionModel getVersionModel()
                                   throws com.wewebu.ow.server.exceptions.OwException
Return a handler for versioning, version and version series creation.

Returns:
OwCMISVersionModel
Throws:
com.wewebu.ow.server.exceptions.OwException
See Also:
OwCMISVersionModel

getACLModel

OwCMISACLModel getACLModel()
                           throws com.wewebu.ow.server.exceptions.OwException,
                                  com.wewebu.ow.server.exceptions.OwNotSupportedException
Return the ACL model of current repository.

Returns:
OwCMISACLModel
Throws:
com.wewebu.ow.server.exceptions.OwException - if could not retrieve information about possible ACL handling
com.wewebu.ow.server.exceptions.OwNotSupportedException

getResource

OwCMISResource getResource()
Return the depending OwCMISResource which is used for the meta-model calls.

Returns:
OwCMISResource


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.