Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.schema.ejb
Class TypeProviderBean

java.lang.Object
  extended by org.nuxeo.ecm.core.schema.ejb.TypeProviderBean
All Implemented Interfaces:
TypeProviderLocal, TypeProvider

public class TypeProviderBean
extends Object
implements TypeProviderLocal

Author:
Bogdan Stefanescu

Constructor Summary
TypeProviderBean()
           
 
Method Summary
 DocumentType getDocumentType(String docType)
          Gets a document type.
 DocumentType[] getDocumentTypes()
          Gets the list of document types.
 CompositeType getFacet(String name)
          Gets a facet.
 CompositeType[] getFacets()
          Gets the list of facets.
 Schema getSchema(String schema)
          Gets a schema.
 Schema[] getSchemas()
          Gets the list of schemas.
 Type getType(String name)
          Gets a property type.
 Type getType(String schema, String name)
          Low level generic type lookup.
 Type[] getTypes()
          Gets the list of property types.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeProviderBean

public TypeProviderBean()
Method Detail

getType

public Type getType(String name)
Description copied from interface: TypeProvider
Gets a property type.

Specified by:
getType in interface TypeProvider

getType

public Type getType(String schema,
                    String name)
Description copied from interface: TypeProvider
Low level generic type lookup.

Specified by:
getType in interface TypeProvider

getSchema

public Schema getSchema(String schema)
Description copied from interface: TypeProvider
Gets a schema.

Specified by:
getSchema in interface TypeProvider

getDocumentType

public DocumentType getDocumentType(String docType)
Description copied from interface: TypeProvider
Gets a document type.

Specified by:
getDocumentType in interface TypeProvider

getSchemas

public Schema[] getSchemas()
Description copied from interface: TypeProvider
Gets the list of schemas.

Specified by:
getSchemas in interface TypeProvider

getTypes

public Type[] getTypes()
Description copied from interface: TypeProvider
Gets the list of property types.

Specified by:
getTypes in interface TypeProvider

getDocumentTypes

public DocumentType[] getDocumentTypes()
Description copied from interface: TypeProvider
Gets the list of document types.

Specified by:
getDocumentTypes in interface TypeProvider

getFacet

public CompositeType getFacet(String name)
Description copied from interface: TypeProvider
Gets a facet.

Specified by:
getFacet in interface TypeProvider

getFacets

public CompositeType[] getFacets()
Description copied from interface: TypeProvider
Gets the list of facets.

Specified by:
getFacets in interface TypeProvider

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.