@Transactional(readOnly=true) public class TypesImpl extends AbstractLevel2Service implements ITypes
| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.SessionFactory |
sf |
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec| Constructor and Description |
|---|
TypesImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IEnum> |
allEnumerations(java.lang.Class<T> k) |
<T extends IEnum> |
createEnumeration(T newEnum) |
<T extends IEnum> |
deleteEnumeration(T oEnum)
deletes enumeration value specified by object
|
java.util.List<java.lang.Class<IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement
IAnnotated. |
<T extends IObject> |
getContainerTypes() |
<T extends IEnum> |
getEnumeration(java.lang.Class<T> k,
java.lang.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() |
java.lang.Class<? extends ServiceInterface> |
getServiceInterface() |
<T extends IObject> |
permissions(java.lang.Class<T> k) |
<T extends IEnum> |
resetEnumerations(java.lang.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(java.util.List<T> listEnum)
updates enumeration value specified by object
|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateServicepublic final void setSessionFactory(org.hibernate.SessionFactory sessions)
sessions - the session factorypublic final java.lang.Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface in interface SelfConfigurableService@Transactional(readOnly=false) public <T extends IEnum> T createEnumeration(T newEnum)
createEnumeration in interface ITypes@Transactional(readOnly=false) public <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.@Transactional(readOnly=false) public <T extends IEnum> void updateEnumerations(java.util.List<T> listEnum)
ITypesupdateEnumerations in interface ITypesT - The type of the enumeration. Must extend IEnumlistEnum - An enumeration collection of objects which should be searched.@Transactional(readOnly=false) 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> java.util.List<T> allEnumerations(java.lang.Class<T> k)
allEnumerations in interface ITypespublic <T extends IEnum> T getEnumeration(java.lang.Class<T> k, java.lang.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> java.util.List<java.lang.Class<T>> getEnumerationTypes()
ITypesgetEnumerationTypes in interface ITypesT - The type of the enumeration. Must extend IEnumpublic <T extends IEnum> java.util.Map<java.lang.Class<T>,java.util.List<T>> getEnumerationsWithEntries()
ITypesgetEnumerationsWithEntries in interface ITypesT - The type of the enumeration. Must extend IEnumpublic <T extends IEnum> java.util.List<T> getOriginalEnumerations()
ITypesgetOriginalEnumerations in interface ITypesT - The type of the enumeration. Must extend IEnum@Transactional(readOnly=false) public <T extends IEnum> void resetEnumerations(java.lang.Class<T> klass)
resetEnumerations in interface ITypespublic java.util.List<java.lang.Class<IAnnotated>> getAnnotationTypes()
ITypesIAnnotated. These can
be used in combination with Search.getAnnotationTypes in interface ITypesList of IAnnotated implementationspublic <T extends IObject> java.util.List<java.lang.Class<T>> getResultTypes()
public <T extends IObject> java.util.List<java.lang.Class<T>> getContainerTypes()
public <T extends IObject> java.util.List<java.lang.Class<T>> getPojoTypes()
public <T extends IObject> java.util.List<java.lang.Class<T>> getImportTypes()
public <T extends IObject> Permissions permissions(java.lang.Class<T> k)
Version: 5.4.9-ice35-b101
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.