org.xcmis.spi
Class QueryNameTypeManager
java.lang.Object
org.xcmis.spi.DelegatedTypeManager
org.xcmis.spi.QueryNameTypeManager
- All Implemented Interfaces:
- TypeManager
public class QueryNameTypeManager
- extends DelegatedTypeManager
A wrapper for TypeManager implementation that make possible to get TypeDefinition by queryName attribute.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryNameTypeManager
public QueryNameTypeManager(TypeManager typeManager)
getTypeDefinitionByQueryName
public TypeDefinition getTypeDefinitionByQueryName(String queryName,
boolean includePropertyDefinition)
throws TypeNotFoundException
- Get TypeDefinition by queryName of type.
- Parameters:
queryName - queryName attribute of type definitionincludePropertyDefinition - if true property definition
should be included
- Returns:
- type definition
- Throws:
TypeNotFoundException - if type queryName does not exist
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.