|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that defines persistence-layer operations available on activity requests.
ActivityRequest
Method Summary | |
ReferenceCache |
createReferenceCacheForActivtyRequest(java.lang.Class businessInterface)
|
java.util.Set |
find(DistributedReference customerRef)
Finds all activity requests for the given customer. |
ActivityRequestDto |
findActivityRequestById(java.lang.String id)
|
java.util.Set |
findAllActivityRequestTypes()
Find all activity request types in the system |
java.util.Set |
findOpenActivityRequests()
Activity requests can be in one of two states, open or closed . |
ActivityRequestTypeDto |
persistActivityRequestType(ActivityRequestTypeDto dto)
Submit a single activity request type |
ActivityRequestDto |
read(DistributedReference ref)
Reads the Activity request for the given reference. |
ActivityRequestTypeDto |
readActivityRequestType(DistributedReference ref)
Read a single activity request type |
ActivityRequestDto |
submit(ActivityRequestDto dto)
Persists an activity request. |
Method Detail |
public ReferenceCache createReferenceCacheForActivtyRequest(java.lang.Class businessInterface) throws SystemException
SystemException
public ActivityRequestDto read(DistributedReference ref) throws SystemException
InvalidReferenceException
- if the reference cannot be resolved.
SystemException
public ActivityRequestDto submit(ActivityRequestDto dto) throws SystemException
java.lang.NullPointerException
- if dto is null.
SystemException
public java.util.Set find(DistributedReference customerRef) throws SystemException
customerRef
is null,
then returns all Activity requests for all customers.
SystemException
public java.util.Set findOpenActivityRequests() throws SystemException
open
or closed
.
This method finds all activity requests in the open
state.
SystemException
public java.util.Set findAllActivityRequestTypes() throws SystemException
SystemException
public ActivityRequestTypeDto readActivityRequestType(DistributedReference ref) throws SystemException
InvalidReferenceException
- if not found
SystemException
public ActivityRequestTypeDto persistActivityRequestType(ActivityRequestTypeDto dto) throws SystemException
SystemException
public ActivityRequestDto findActivityRequestById(java.lang.String id) throws SystemException
SystemException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |