|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceReader
The resources management service.
| Method Summary | ||
|---|---|---|
SlicingDataSet<Resource> |
getContractResources(Integer contractId,
SortDescriptor sortDescriptor,
Object filter)
Returns the resource for the specified contract. |
|
PropertySpecification |
getPropertySpecification(Resource resource,
String propertyName)
Returns property specification. |
|
|
getResource(Integer resourceId)
Returns the resource by its id. |
|
DictionaryItem |
getUnitOfMeasure(Resource resource)
Deprecated. |
|
SlicingDataSet<Resource> |
getUserRelatedResources(int userId,
SortDescriptor sortDescriptor,
String filterQuery)
Returns resources where user is participant. |
|
Collection<Resource> |
getUserResources(int userId,
Set<Integer> resourcesIds)
Returns resources belonging to the current user by their PKs. |
|
boolean |
isResourceAccepted(Resource resource)
Returns true if the resource is accepted by the partner of the specified user. |
|
boolean |
isUserInRole(Resource resource,
TenderType role,
User flowUser)
|
|
boolean |
isUserParticipant(Resource resource,
Integer currentUserId)
Returns true if the resource have the tender from the specified user. |
|
| Method Detail |
|---|
PropertySpecification getPropertySpecification(Resource resource,
String propertyName)
throws BusinessLogicException
BusinessLogicException@Deprecated DictionaryItem getUnitOfMeasure(Resource resource)
SlicingDataSet<Resource> getUserRelatedResources(int userId,
SortDescriptor sortDescriptor,
String filterQuery)
Collection<Resource> getUserResources(int userId,
Set<Integer> resourcesIds)
<T extends Resource> T getResource(Integer resourceId)
SlicingDataSet<Resource> getContractResources(Integer contractId,
SortDescriptor sortDescriptor,
Object filter)
resourcesCriteria - TODO
boolean isUserInRole(Resource resource,
TenderType role,
User flowUser)
boolean isUserParticipant(Resource resource,
Integer currentUserId)
resource - TODOboolean isResourceAccepted(Resource resource)
resource - TODO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||