|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.OwCMISResourceObjectModel
public class OwCMISResourceObjectModel
OwCMISResourceObjectModel.
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
Field Summary | |
---|---|
protected static OwCMISACLModel |
DISCOVERED
|
protected static OwCMISACLModel |
MANAGED
|
Constructor Summary | |
---|---|
OwCMISResourceObjectModel(OwCMISResource resource_p,
OwCMISObjectClassFactory objectClassFactory_p)
|
Method Summary | |
---|---|
OwCMISACLModel |
getACLModel()
Return the ACL model of current repository. |
OwCMISObjectClass |
getObjectClass(String strClassName_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 strFullQualifiedName_p)
Get OwPropertyClass by full qualified name of property. A full qualified name of a property is a concatenation of object class name and property class name using a separator character. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final OwCMISACLModel MANAGED
protected static final OwCMISACLModel DISCOVERED
Constructor Detail |
---|
public OwCMISResourceObjectModel(OwCMISResource resource_p, OwCMISObjectClassFactory objectClassFactory_p) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
Method Detail |
---|
public OwCMISObjectClass getObjectClass(String strClassName_p) throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectModel
objectClassName_p
.
getObjectClass
in interface OwCMISObjectModel
strClassName_p
- String representing unique symbolic name
com.wewebu.ow.server.exceptions.OwException
- if object class could not be foundpublic Map<String,String> getObjectClassNames(int[] types_p, boolean excludeHiddenAndNonInstantiable_p, boolean rootOnly_p, Locale locale_p) throws com.wewebu.ow.server.exceptions.OwException
getObjectClassNames
in interface OwCMISObjectModel
types_p
- array of types or null,excludeHiddenAndNonInstantiable_p
- boolean to filter hidden or not instantiable classesrootOnly_p
- requesting only root classes
com.wewebu.ow.server.exceptions.OwException
OwRepository.getObjectClassNames(int[],boolean, boolean, OwResource)
public OwCMISPropertyClass getPropertyClass(String strFullQualifiedName_p) throws com.wewebu.ow.server.exceptions.OwException
String strFullQualifiedName = objectClassName + "." + propertyClassName;
If strFullQualifiedName_p does not contains the separator character, the CMIS base classes are searched for the property definition.
getPropertyClass
in interface OwCMISObjectModel
strFullQualifiedName_p
- String qualified property name
com.wewebu.ow.server.exceptions.OwException
- if strFullQualifiedName_p is null a OwInvalidOperationException
or if OwFieldDefinition was not found a OwObjectNotFoundException is thrown.public OwCMISVersionModel getVersionModel() throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectModel
getVersionModel
in interface OwCMISObjectModel
com.wewebu.ow.server.exceptions.OwException
OwCMISVersionModel
public OwCMISACLModel getACLModel() throws com.wewebu.ow.server.exceptions.OwException
OwCMISObjectModel
getACLModel
in interface OwCMISObjectModel
com.wewebu.ow.server.exceptions.OwException
- if could not retrieve information about possible ACL handling
com.wewebu.ow.server.exceptions.OwNotSupportedException
public OwCMISResource getResource()
OwCMISObjectModel
getResource
in interface OwCMISObjectModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |