Package ome.logic
Class TypesImpl
- java.lang.Object
-
- ome.logic.AbstractLevel2Service
-
- ome.logic.TypesImpl
-
- All Implemented Interfaces:
ome.api.ITypes
,ome.api.ServiceInterface
,ome.system.SelfConfigurableService
@Transactional(readOnly=true) public class TypesImpl extends AbstractLevel2Service implements ome.api.ITypes
implementation of the ITypes service interface.- Since:
- OMERO 3.0
-
-
Field Summary
Fields Modifier and Type Field Description protected org.hibernate.SessionFactory
sf
-
Fields inherited from class ome.logic.AbstractLevel2Service
iQuery, iUpdate, metadata, queryFactory, readOnlyStatus, sec
-
-
Constructor Summary
Constructors Constructor Description TypesImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ome.model.IEnum>
java.util.List<T>allEnumerations(java.lang.Class<T> k)
<T extends ome.model.IEnum>
TcreateEnumeration(T newEnum)
<T extends ome.model.IEnum>
voiddeleteEnumeration(T oEnum)
java.util.List<java.lang.Class<ome.model.IAnnotated>>
getAnnotationTypes()
<T extends ome.model.IObject>
java.util.List<java.lang.Class<T>>getContainerTypes()
<T extends ome.model.IEnum>
TgetEnumeration(java.lang.Class<T> k, java.lang.String string)
<T extends ome.model.IEnum>
java.util.Map<java.lang.Class<T>,java.util.List<T>>getEnumerationsWithEntries()
<T extends ome.model.IEnum>
java.util.List<java.lang.Class<T>>getEnumerationTypes()
<T extends ome.model.IObject>
java.util.List<java.lang.Class<T>>getImportTypes()
<T extends ome.model.IEnum>
java.util.List<T>getOriginalEnumerations()
<T extends ome.model.IObject>
java.util.List<java.lang.Class<T>>getPojoTypes()
<T extends ome.model.IObject>
java.util.List<java.lang.Class<T>>getResultTypes()
java.lang.Class<? extends ome.api.ServiceInterface>
getServiceInterface()
<T extends ome.model.IObject>
ome.model.internal.Permissionspermissions(java.lang.Class<T> k)
<T extends ome.model.IEnum>
voidresetEnumerations(java.lang.Class<T> klass)
void
setSessionFactory(org.hibernate.SessionFactory sessions)
injector for usage by the container.<T extends ome.model.IEnum>
TupdateEnumeration(T oEnum)
<T extends ome.model.IEnum>
voidupdateEnumerations(java.util.List<T> listEnum)
-
Methods inherited from class ome.logic.AbstractLevel2Service
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setReadOnlyStatus, setSecuritySystem, setUpdateService
-
-
-
-
Method Detail
-
setSessionFactory
public final void setSessionFactory(org.hibernate.SessionFactory sessions)
injector for usage by the container. Not for general use- Parameters:
sessions
- the session factory
-
getServiceInterface
public final java.lang.Class<? extends ome.api.ServiceInterface> getServiceInterface()
- Specified by:
getServiceInterface
in interfaceome.system.SelfConfigurableService
-
createEnumeration
@Transactional(readOnly=false) public <T extends ome.model.IEnum> T createEnumeration(T newEnum)
- Specified by:
createEnumeration
in interfaceome.api.ITypes
-
updateEnumeration
@Transactional(readOnly=false) public <T extends ome.model.IEnum> T updateEnumeration(T oEnum)
- Specified by:
updateEnumeration
in interfaceome.api.ITypes
-
updateEnumerations
@Transactional(readOnly=false) public <T extends ome.model.IEnum> void updateEnumerations(java.util.List<T> listEnum)
- Specified by:
updateEnumerations
in interfaceome.api.ITypes
-
deleteEnumeration
@Transactional(readOnly=false) public <T extends ome.model.IEnum> void deleteEnumeration(T oEnum)
- Specified by:
deleteEnumeration
in interfaceome.api.ITypes
-
allEnumerations
public <T extends ome.model.IEnum> java.util.List<T> allEnumerations(java.lang.Class<T> k)
- Specified by:
allEnumerations
in interfaceome.api.ITypes
-
getEnumeration
public <T extends ome.model.IEnum> T getEnumeration(java.lang.Class<T> k, java.lang.String string)
- Specified by:
getEnumeration
in interfaceome.api.ITypes
-
getEnumerationTypes
public <T extends ome.model.IEnum> java.util.List<java.lang.Class<T>> getEnumerationTypes()
- Specified by:
getEnumerationTypes
in interfaceome.api.ITypes
-
getEnumerationsWithEntries
public <T extends ome.model.IEnum> java.util.Map<java.lang.Class<T>,java.util.List<T>> getEnumerationsWithEntries()
- Specified by:
getEnumerationsWithEntries
in interfaceome.api.ITypes
-
getOriginalEnumerations
public <T extends ome.model.IEnum> java.util.List<T> getOriginalEnumerations()
- Specified by:
getOriginalEnumerations
in interfaceome.api.ITypes
-
resetEnumerations
@Transactional(readOnly=false) public <T extends ome.model.IEnum> void resetEnumerations(java.lang.Class<T> klass)
- Specified by:
resetEnumerations
in interfaceome.api.ITypes
-
getAnnotationTypes
public java.util.List<java.lang.Class<ome.model.IAnnotated>> getAnnotationTypes()
- Specified by:
getAnnotationTypes
in interfaceome.api.ITypes
-
getResultTypes
public <T extends ome.model.IObject> java.util.List<java.lang.Class<T>> getResultTypes()
-
getContainerTypes
public <T extends ome.model.IObject> java.util.List<java.lang.Class<T>> getContainerTypes()
-
getPojoTypes
public <T extends ome.model.IObject> java.util.List<java.lang.Class<T>> getPojoTypes()
-
getImportTypes
public <T extends ome.model.IObject> java.util.List<java.lang.Class<T>> getImportTypes()
-
permissions
public <T extends ome.model.IObject> ome.model.internal.Permissions permissions(java.lang.Class<T> k)
-
-