|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.scape_project.watch.dao.AbstractDO<PropertyValue>
eu.scape_project.watch.dao.PropertyValueDAO
public final class PropertyValueDAO
PropertyValue
Data Access Object.
Method Summary | |
---|---|
int |
count(String bindings)
Count the results of a query for PropertyValue . |
PropertyValue |
findByEntityAndName(String entityName,
String propertyName)
Find PropertyValue by the related Entity and
Property . |
static PropertyValueDAO |
getInstance()
Get singleton instance. |
Collection<PropertyValue> |
listWithEntity(String entityName,
int start,
int max)
List all property values of a specific Entity . |
Collection<PropertyValue> |
listWithEntityAndProperty(String entityName,
String entityType,
String propertyName,
int start,
int max)
List all property values of a specific Entity and Property . |
Collection<PropertyValue> |
listWithProperty(String entityType,
String propertyName,
int start,
int max)
List all property values of a Property independently of the
Entity . |
List<PropertyValue> |
query(String bindings,
int start,
int max)
Query for PropertyValue . |
Methods inherited from class eu.scape_project.watch.dao.AbstractDO |
---|
addDOListener, count, delete, delete, findById, fireOnRemoved, fireOnUpdated, query, removeDOListener, save, save |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PropertyValueDAO getInstance()
public PropertyValue findByEntityAndName(String entityName, String propertyName)
PropertyValue
by the related Entity
and
Property
.
entityName
- The name of the related Entity
propertyName
- The name of the related Property
PropertyValue
or null
if not foundpublic List<PropertyValue> query(String bindings, int start, int max)
PropertyValue
.
bindings
- The query bindings, see
AbstractDO.query(Class, String, int, int)
start
- The index of the first item to retrievemax
- The maximum number of items to retrieve
PropertyValue
filtered by the above constraintsAbstractDO.query(Class, String, int, int)
public int count(String bindings)
PropertyValue
.
bindings
- The query bindings, see AbstractDO.count(Class, String)
public Collection<PropertyValue> listWithEntity(String entityName, int start, int max)
Entity
.
entityName
- The name of the Entity
start
- The index of the first item to retrievemax
- The maximum number of items to retrieve
PropertyValue
filtered by the above constraintspublic Collection<PropertyValue> listWithEntityAndProperty(String entityName, String entityType, String propertyName, int start, int max)
Entity
and Property
.
entityName
- The name of the Entity
.entityType
- The name of the EntityType
to which the Property
belongs topropertyName
- The name of the Property
.start
- The index of the first item to retrievemax
- The maximum number of items to retrieve
PropertyValue
filtered by the above constraintspublic Collection<PropertyValue> listWithProperty(String entityType, String propertyName, int start, int max)
Property
independently of the
Entity
.
entityType
- The name of the EntityType
to which the Property
belongs topropertyName
- The name of the Property
.start
- The index of the first item to retrievemax
- The maximum number of items to retrieve
PropertyValue
filtered by the above constraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |