|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.iai.ilcd.model.dao.DataSetDao<FlowProperty,de.fzk.iai.ilcd.service.model.IFlowPropertyListVO>
de.iai.ilcd.model.dao.FlowPropertyDao
public class FlowPropertyDao
Data access object for flow properties
Constructor Summary | |
---|---|
FlowPropertyDao()
|
Method Summary | |
---|---|
protected javax.persistence.Query |
createQueryObject(org.apache.velocity.tools.generic.ValueParser params,
java.lang.String sortString,
boolean ascending,
boolean returnCount)
This method must be implemented by each dao class extending this class. |
FlowProperty |
getByUuid(java.lang.String uuid)
Get flow property by UUID. |
java.util.List<FlowProperty> |
getFlowProperties()
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getAll() . |
java.util.List<FlowProperty> |
getFlowPropertiesByClass(java.lang.String mainClass)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByClass(String) . |
java.util.List<FlowProperty> |
getFlowPropertiesByClass(java.lang.String mainClass,
java.lang.String subClass)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByClass(String,String) . |
FlowProperty |
getFlowProperty(long datasetId)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByDataSetId(long) . |
FlowProperty |
getFlowProperty(java.lang.String uuid)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use getByUuid(String) . |
FlowProperty |
getFlowPropertyById(java.lang.Long id)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByDataSetId(long) . |
FlowProperty |
getFlowPropertyById(java.lang.String id)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByDataSetId(String) . |
long |
getNumberOfFlowProperties(java.lang.String mainClass)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByClass(String) . |
long |
getNumberOfFlowProperties(java.lang.String mainClass,
java.lang.String subClass)
Deprecated. still exists for internal backwards compatibility, may be removed in future releases. Use DataSetDao.getByClass(String,String) . |
protected void |
preCheckAndPersist(FlowProperty dataSet)
Invoked at beginning of DataSetDao.checkAndPersist(DataSet, PersistType, PrintWriter) to manipulate data prior to
persisting |
Methods inherited from class de.iai.ilcd.model.dao.DataSetDao |
---|
buildClassificationJoin, buildClassificationJoin, buildClassificationWhere, buildClassificationWhere, checkAndPersist, getAccessedClass, getAll, getAllCount, getByClass, getByClass, getByDataSetId, getByDataSetId, getByUuidAndVersion, getDataSets, getJpaName, getNumberByClass, getNumberByClass, getSubClasses, getTopClasses, lsearch, lsearch, lsearch, merge, remove, search, search, search, search, search, searchResultCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlowPropertyDao()
Method Detail |
---|
protected void preCheckAndPersist(FlowProperty dataSet)
DataSetDao
DataSetDao.checkAndPersist(DataSet, PersistType, PrintWriter)
to manipulate data prior to
persisting
preCheckAndPersist
in class DataSetDao<FlowProperty,de.fzk.iai.ilcd.service.model.IFlowPropertyListVO>
dataSet
- data set to manipulateDataSetDao.checkAndPersist(DataSet, PersistType, PrintWriter)
public FlowProperty getByUuid(java.lang.String uuid)
DataSetDao
implementation because
attachUnitGroup(FlowProperty)
is called after loading.
getByUuid
in class DataSetDao<FlowProperty,de.fzk.iai.ilcd.service.model.IFlowPropertyListVO>
uuid
- the UUID string
null
if none foundprotected javax.persistence.Query createQueryObject(org.apache.velocity.tools.generic.ValueParser params, java.lang.String sortString, boolean ascending, boolean returnCount)
DataSetDao
createQueryObject
in class DataSetDao<FlowProperty,de.fzk.iai.ilcd.service.model.IFlowPropertyListVO>
params
- lsearch parametersortString
- field of result object which will be used for ordering of lsearch resultsreturnCount
- if true return count of lsearch result instead of lsearch results
public java.util.List<FlowProperty> getFlowProperties()
DataSetDao.getAll()
.
DataSetDao.getAll()
@Deprecated public FlowProperty getFlowProperty(java.lang.String uuid)
getByUuid(String)
.
getByUuid(String)
@Deprecated public FlowProperty getFlowProperty(long datasetId)
DataSetDao.getByDataSetId(long)
.
datasetId
- JPA id
DataSetDao.getByDataSetId(long)
@Deprecated public FlowProperty getFlowPropertyById(java.lang.String id)
DataSetDao.getByDataSetId(String)
.
id
- JPA id as string
DataSetDao.getByDataSetId(String)
@Deprecated public FlowProperty getFlowPropertyById(java.lang.Long id)
DataSetDao.getByDataSetId(long)
.
id
- JPA id
DataSetDao.getByDataSetId(long)
@Deprecated public java.util.List<FlowProperty> getFlowPropertiesByClass(java.lang.String mainClass)
DataSetDao.getByClass(String)
.
mainClass
- main class to get flow property by
DataSetDao.getByClass(String)
@Deprecated public long getNumberOfFlowProperties(java.lang.String mainClass)
DataSetDao.getByClass(String)
.
mainClass
- main class to get flow property by
DataSetDao.getNumberByClass(String)
@Deprecated public java.util.List<FlowProperty> getFlowPropertiesByClass(java.lang.String mainClass, java.lang.String subClass)
DataSetDao.getByClass(String,String)
.
mainClass
- main class to get flow property bysubClass
- sub class to get flow property by
DataSetDao.getByClass(String,String)
@Deprecated public long getNumberOfFlowProperties(java.lang.String mainClass, java.lang.String subClass)
DataSetDao.getByClass(String,String)
.
mainClass
- main class to get flow property bysubClass
- sub class to get flow property by
DataSetDao.getNumberByClass(String,String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |