|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.logic.AbstractLevel2Service
ome.logic.TypesImpl
@Transactional public class TypesImpl
implementation of the ITypes service interface.
Field Summary | |
---|---|
protected org.hibernate.SessionFactory |
sf
|
Fields inherited from class ome.logic.AbstractLevel2Service |
---|
iQuery, iUpdate, metadata, queryFactory, sec |
Constructor Summary | |
---|---|
TypesImpl()
|
Method Summary | ||
---|---|---|
|
allEnumerations(Class<T> k)
|
|
|
createEnumeration(T newEnum)
|
|
|
deleteEnumeration(T oEnum)
deletes enumeration value specified by object |
|
List<Class<ome.model.IAnnotated>> |
getAnnotationTypes()
Returns a list of classes which implement IAnnotated . |
|
|
getContainerTypes()
|
|
|
getEnumeration(Class<T> k,
String string)
lookup an enumeration value. |
|
|
getEnumerationsWithEntries()
Gets all metadata classes which are IEnum type with contained objects. |
|
|
getEnumerationTypes()
Gets all metadata classes which are IEnum type. |
|
|
getImportTypes()
|
|
|
getOriginalEnumerations()
Gets all original values. |
|
|
getPojoTypes()
|
|
|
getResultTypes()
|
|
Class<? extends ServiceInterface> |
getServiceInterface()
|
|
|
permissions(Class<T> k)
|
|
|
resetEnumerations(Class<T> klass)
|
|
void |
setSessionFactory(org.hibernate.SessionFactory sessions)
injector for usage by the container. |
|
|
updateEnumeration(T oEnum)
updates enumeration value specified by object |
|
|
updateEnumerations(List<T> listEnum)
updates enumeration value specified by object |
Methods inherited from class ome.logic.AbstractLevel2Service |
---|
getBeanHelper, getExtendedMetadata, getQueryFactory, getSecuritySystem, selfConfigure, setExtendedMetadata, setQueryFactory, setQueryService, setSecuritySystem, setUpdateService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient org.hibernate.SessionFactory sf
Constructor Detail |
---|
public TypesImpl()
Method Detail |
---|
public final void setSessionFactory(org.hibernate.SessionFactory sessions)
public final Class<? extends ServiceInterface> getServiceInterface()
getServiceInterface
in interface SelfConfigurableService
public <T extends ome.model.IEnum> T createEnumeration(T newEnum)
createEnumeration
in interface ITypes
public <T extends ome.model.IEnum> T updateEnumeration(T oEnum)
ITypes
updateEnumeration
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.
public <T extends ome.model.IEnum> void updateEnumerations(List<T> listEnum)
ITypes
updateEnumerations
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
listEnum
- An enumeration collection of objects which should be searched.public <T extends ome.model.IEnum> void deleteEnumeration(T oEnum)
ITypes
deleteEnumeration
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
oEnum
- An enumeration object which should be searched.public <T extends ome.model.IEnum> List<T> allEnumerations(Class<T> k)
allEnumerations
in interface ITypes
public <T extends ome.model.IEnum> T getEnumeration(Class<T> k, String string)
ITypes
IQuery
queries returning no results will through an exception.
getEnumeration
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
k
- An enumeration class which should be searched.string
- The value for which an enumeration should be found.
public <T extends ome.model.IEnum> List<Class<T>> getEnumerationTypes()
ITypes
getEnumerationTypes
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
public <T extends ome.model.IEnum> Map<Class<T>,List<T>> getEnumerationsWithEntries()
ITypes
getEnumerationsWithEntries
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
public <T extends ome.model.IEnum> List<T> getOriginalEnumerations()
ITypes
getOriginalEnumerations
in interface ITypes
T
- The type of the enumeration. Must extend IEnum
public <T extends ome.model.IEnum> void resetEnumerations(Class<T> klass)
resetEnumerations
in interface ITypes
public List<Class<ome.model.IAnnotated>> getAnnotationTypes()
ITypes
IAnnotated
. These can
be used in combination with Search
.
getAnnotationTypes
in interface ITypes
public <T extends ome.model.IObject> List<Class<T>> getResultTypes()
public <T extends ome.model.IObject> List<Class<T>> getContainerTypes()
public <T extends ome.model.IObject> List<Class<T>> getPojoTypes()
public <T extends ome.model.IObject> List<Class<T>> getImportTypes()
public <T extends ome.model.IObject> ome.model.internal.Permissions permissions(Class<T> k)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.