@Service public class RelationService extends org.egov.infstr.services.PersistenceService<Relation,Integer> implements EntityTypeService
| Constructor and Description |
|---|
RelationService() |
RelationService(Class<Relation> type) |
| Modifier and Type | Method and Description |
|---|---|
List<EntityType> |
filterActiveEntities(String filterKey,
int maxRecords,
Integer accountDetailTypeId)
Returns the list of active entities filtered using the given filter key.
|
List<EntityType> |
getAllActiveEntities() |
List<EntityType> |
getAllActiveEntities(Integer accountDetailTypeId)
since it is mapped to only one AccountDetailType -creditor it ignores the input parameter
|
List |
getAssetCodesForProjectCode(Integer accountdetailkey)
Returns the list of Asset Codes linked to accountdetailkey (projectCodeId).
|
List<Relation> |
getEntitiesById(List<Long> idsList) |
List<Relation> |
validateEntityForRTGS(List<Long> idsList) |
addFilterCriteriaForObject, addIndexparams, applyAuditing, applyAuditing, create, delete, find, find, findAll, findAll, findAllBy, findAllByNamedQuery, findByExample, findById, findById, findByIdWithJoinFetch, findByNamedQuery, findPageBy, findPageByNamedQuery, getNamedQuery, getSearchSession, getSession, getType, indexEntity, load, merge, persist, search, search, update, validate, validateModelpublic List<EntityType> getAllActiveEntities(Integer accountDetailTypeId)
getAllActiveEntities in interface EntityTypeServicepublic List<EntityType> filterActiveEntities(String filterKey, int maxRecords, Integer accountDetailTypeId)
EntityTypeServicefilterActiveEntities in interface EntityTypeServicefilterKey - The filter keymaxRecords - Maximum number of records to be returned. If this is passed as
-1, the method should return all the records.accountDetailTypeId - The account detail type idpublic List getAssetCodesForProjectCode(Integer accountdetailkey) throws org.egov.infra.validation.exception.ValidationException
EntityTypeServicegetAssetCodesForProjectCode in interface EntityTypeServiceorg.egov.infra.validation.exception.ValidationExceptionpublic List<EntityType> getAllActiveEntities()
public List<Relation> validateEntityForRTGS(List<Long> idsList) throws org.egov.infra.validation.exception.ValidationException
validateEntityForRTGS in interface EntityTypeServiceorg.egov.infra.validation.exception.ValidationException - returns only those which are invalid for RTGSPaymentpublic List<Relation> getEntitiesById(List<Long> idsList) throws org.egov.infra.validation.exception.ValidationException
getEntitiesById in interface EntityTypeServiceorg.egov.infra.validation.exception.ValidationException - will return entities for the given ids which are same as accountdetailkeyidCopyright © 2015–2016 eGovernments Foundation. All rights reserved.