|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CustomFieldValueDao
| Nested Class Summary | |
|---|---|
static class |
CustomFieldValueDao.CustomFieldValuesPair
|
| Method Summary | |
|---|---|
void |
delete(CustomFieldValue value)
'nuff said. |
void |
deleteAll(List<Long> ids)
Delete all the CustomFieldValue, given their ids. |
void |
deleteAllForBinding(Long bindingId)
Delete all the CustomFieldValue related to a CustomFieldBinding, given its id. |
void |
deleteAllForEntities(BindableEntity entityTpe,
List<Long> entityIds)
Delete all the custom field values related to a bunch of bound entities |
void |
deleteAllForEntity(Long entityId,
BindableEntity entity)
Delete all the custom field values related to a BoundEntity, identified by its id and BindableEntity |
List<CustomFieldValue> |
findAllCustomValues(long entityId,
BindableEntity entityType)
returns the list of CustomFieldValue for the given entity, sorted according to the
order specified in their respective CustomFieldBinding. |
List<CustomFieldValue> |
findAllCustomValuesOfBinding(long customFieldBindingId)
returns all the CustomFieldValue related to a given CustomFieldBinding, sorted according to
their custom field binding order. |
List<CustomFieldValue> |
findAllCustomValuesOfBindings(List<Long> customFieldBindingIds)
returns all the CustomFieldValue related to a list of CustomFieldBinding, the resulting elements will be returned in unspecified order |
CustomFieldValue |
findById(Long id)
'nuff said. |
List<CustomFieldValueDao.CustomFieldValuesPair> |
findPairedCustomFieldValues(BindableEntity entity,
Long origEntityId,
Long copyEntityId)
Will return instances of CustomFieldValueDao.CustomFieldValuesPair, that will pair two CustomFieldValue that represents the same
CustomFieldBinding. |
void |
persist(CustomFieldValue newValue)
'nuff said. |
| Method Detail |
|---|
void persist(CustomFieldValue newValue)
newValue - void delete(CustomFieldValue value)
value - void deleteAll(List<Long> ids)
ids - void deleteAllForBinding(Long bindingId)
CustomFieldBinding, given its id.
bindingId -
void deleteAllForEntity(Long entityId,
BindableEntity entity)
entityId - entity -
void deleteAllForEntities(BindableEntity entityTpe,
List<Long> entityIds)
entityTpe - entityIds - CustomFieldValue findById(Long id)
id -
List<CustomFieldValue> findAllCustomValues(long entityId,
BindableEntity entityType)
CustomFieldValue for the given entity, sorted according to the
order specified in their respective CustomFieldBinding.
entityId - entityType -
List<CustomFieldValue> findAllCustomValuesOfBinding(long customFieldBindingId)
CustomFieldValue related to a given CustomFieldBinding, sorted according to
their custom field binding order.
customFieldBindingId -
List<CustomFieldValue> findAllCustomValuesOfBindings(List<Long> customFieldBindingIds)
customFieldBindingIds -
List<CustomFieldValueDao.CustomFieldValuesPair> findPairedCustomFieldValues(BindableEntity entity,
Long origEntityId,
Long copyEntityId)
CustomFieldValueDao.CustomFieldValuesPair, that will pair two CustomFieldValue that represents the same
CustomFieldBinding. Those two CustomFieldValue belongs to two BoundEntity as specified by the parameters.
One of them is considered as the original and the other one is the copy.
entity - origEntityId - copyEntityId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||