public class CmisTypeDefinitionFactoryBean extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition>, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
| Constructor and Description |
|---|
CmisTypeDefinitionFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBasePropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableTypeDefinition type,
Class<?> entityClazz,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited) |
protected void |
addDocumentPropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableDocumentTypeDefinition type,
Class<?> repoClazz,
Class<?> storeClazz,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited) |
protected void |
addFolderPropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableFolderTypeDefinition type,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited) |
org.apache.chemistry.opencmis.commons.definitions.MutableDocumentTypeDefinition |
createDocumentTypeDefinition(Class<?> entityClass,
Class<?> repoClass,
Class<?> storeClass,
CmisDocument metadata,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
String parentId) |
org.apache.chemistry.opencmis.commons.definitions.MutableFolderTypeDefinition |
createFolderTypeDefinition(Class<?> entityClass,
Class<?> repoClass,
CmisFolder metadata,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
String parentId) |
org.apache.chemistry.opencmis.commons.definitions.MutablePropertyDefinition<?> |
createPropertyDefinition(String id,
String displayName,
String description,
org.apache.chemistry.opencmis.commons.enums.PropertyType datatype,
org.apache.chemistry.opencmis.commons.enums.Cardinality cardinality,
org.apache.chemistry.opencmis.commons.enums.Updatability updateability,
boolean inherited,
boolean required,
boolean queryable,
boolean orderable) |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEntityClass(Class<?> entityClass) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setRepoClass(Class<?> repoClass) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setStoreClass(Class<?> storeClass) |
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwarepublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic void setEntityClass(Class<?> entityClass)
public void setRepoClass(Class<?> repoClass)
public void setStoreClass(Class<?> storeClass)
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition>public org.apache.chemistry.opencmis.commons.definitions.MutableDocumentTypeDefinition createDocumentTypeDefinition(Class<?> entityClass, Class<?> repoClass, Class<?> storeClass, CmisDocument metadata, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion, String parentId)
protected void addBasePropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableTypeDefinition type,
Class<?> entityClazz,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited)
protected void addDocumentPropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableDocumentTypeDefinition type,
Class<?> repoClazz,
Class<?> storeClazz,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited)
public org.apache.chemistry.opencmis.commons.definitions.MutableFolderTypeDefinition createFolderTypeDefinition(Class<?> entityClass, Class<?> repoClass, CmisFolder metadata, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion, String parentId)
protected void addFolderPropertyDefinitions(org.apache.chemistry.opencmis.commons.definitions.MutableFolderTypeDefinition type,
org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion,
boolean inherited)
public org.apache.chemistry.opencmis.commons.definitions.MutablePropertyDefinition<?> createPropertyDefinition(String id, String displayName, String description, org.apache.chemistry.opencmis.commons.enums.PropertyType datatype, org.apache.chemistry.opencmis.commons.enums.Cardinality cardinality, org.apache.chemistry.opencmis.commons.enums.Updatability updateability, boolean inherited, boolean required, boolean queryable, boolean orderable)
Copyright © 2020 Paul Warren. All rights reserved.