@Transactional public class TypesImpl extends AbstractLevel2Service implements ITypes
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.SessionFactory |
sf |
iQuery, iUpdate, metadata, queryFactory, sec| Constructor and Description |
|---|
TypesImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IEnum> |
allEnumerations(Class<T> k) |
<T extends IEnum> |
createEnumeration(T newEnum) |
<T extends IEnum> |
deleteEnumeration(T oEnum)
deletes enumeration value specified by object
|
List<Class<IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement
IAnnotated. |
<T extends IObject> |
getContainerTypes() |
<T extends IEnum> |
getEnumeration(Class<T> k,
String string)
lookup an enumeration value.
|
<T extends IEnum> |
getEnumerationsWithEntries()
Gets all metadata classes which are IEnum type with contained objects.
|
<T extends IEnum> |
getEnumerationTypes()
Gets all metadata classes which are IEnum type.
|
<T extends IObject> |
getImportTypes() |
<T extends IEnum> |
getOriginalEnumerations()
Gets all original values.
|
<T extends IObject> |
getPojoTypes() |
<T extends IObject> |
getResultTypes() |
Class<? extends ServiceInterface> |
getServiceInterface() |
<T extends IObject> |
permissions(Class<T> k) |
<T extends IEnum> |
resetEnumerations(Class<T> klass) |
void |
setSessionFactory(org.hibernate.SessionFactory sessions)
injector for usage by the container.
|
<T extends IEnum> |
updateEnumeration(T oEnum)
updates enumeration value specified by object
|
<T extends IEnum> |
updateEnumerations(List<T> listEnum)
updates enumeration value specified by object
|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateServicepublic final void setSessionFactory(org.hibernate.SessionFactory sessions)
sessions - the session factorypublic final Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface in interface SelfConfigurableServicepublic <T extends IEnum> T createEnumeration(T newEnum)
createEnumeration in interface ITypespublic <T extends IEnum> T updateEnumeration(T oEnum)
ITypesupdateEnumeration in interface ITypesT - The type of the enumeration. Must extend IEnumoEnum - An enumeration object which should be searched.public <T extends IEnum> void updateEnumerations(List<T> listEnum)
ITypesupdateEnumerations in interface ITypesT - The type of the enumeration. Must extend IEnumlistEnum - An enumeration collection of objects which should be searched.public <T extends IEnum> void deleteEnumeration(T oEnum)
ITypesdeleteEnumeration in interface ITypesT - The type of the enumeration. Must extend IEnumoEnum - An enumeration object which should be searched.public <T extends IEnum> List<T> allEnumerations(Class<T> k)
allEnumerations in interface ITypespublic <T extends IEnum> T getEnumeration(Class<T> k, String string)
ITypesIQuery
queries returning no results will through an exception.getEnumeration in interface ITypesT - The type of the enumeration. Must extend IEnumk - An enumeration class which should be searched.string - The value for which an enumeration should be found.public <T extends IEnum> List<Class<T>> getEnumerationTypes()
ITypesgetEnumerationTypes in interface ITypesT - The type of the enumeration. Must extend IEnumpublic <T extends IEnum> Map<Class<T>,List<T>> getEnumerationsWithEntries()
ITypesgetEnumerationsWithEntries in interface ITypesT - The type of the enumeration. Must extend IEnumpublic <T extends IEnum> List<T> getOriginalEnumerations()
ITypesgetOriginalEnumerations in interface ITypesT - The type of the enumeration. Must extend IEnumpublic <T extends IEnum> void resetEnumerations(Class<T> klass)
resetEnumerations in interface ITypespublic List<Class<IAnnotated>> getAnnotationTypes()
ITypesIAnnotated. These can
be used in combination with Search.getAnnotationTypes in interface ITypesList of IAnnotated implementationspublic <T extends IObject> Permissions permissions(Class<T> k)
Version: 5.3.4-ice35-b69
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.