|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.csp.tm.internal.repository.hibernate.HibernateBoundEntityDao
@Repository public class HibernateBoundEntityDao
| Constructor Summary | |
|---|---|
HibernateBoundEntityDao()
|
|
| Method Summary | |
|---|---|
List<BoundEntity> |
findAllForBinding(CustomFieldBinding customFieldBinding)
given a CustomFieldBinding, returns all the existing entities subject to that binding; namely all the {@link BindableEntity} that belongs to the project of that binding. |
BoundEntity |
findBoundEntity(CustomFieldValue customFieldValue)
given a CustomFieldValue id, returns the BoundEntity instance it is related to. |
BoundEntity |
findBoundEntity(Long boundEntityId,
BindableEntity entityType)
Will retrieve a BoundEntity according to its ID and type. |
boolean |
hasCustomField(Long boundEntityId,
BindableEntity entityType)
Tells whether the given bound entity has custom fields or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateBoundEntityDao()
| Method Detail |
|---|
public List<BoundEntity> findAllForBinding(CustomFieldBinding customFieldBinding)
BoundEntityDao
findAllForBinding in interface BoundEntityDaopublic BoundEntity findBoundEntity(CustomFieldValue customFieldValue)
BoundEntityDaoCustomFieldValue id, returns the BoundEntity instance it is related to.
findBoundEntity in interface BoundEntityDao
public BoundEntity findBoundEntity(Long boundEntityId,
BindableEntity entityType)
BoundEntityDaoBoundEntity according to its ID and type.
findBoundEntity in interface BoundEntityDao
public boolean hasCustomField(Long boundEntityId,
BindableEntity entityType)
BoundEntityDao
hasCustomField in interface BoundEntityDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||