|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyService
Service that manages transfer advice based on VO-level policies
Method Summary | |
---|---|
Cleanup |
addCleanup(Cleanup cleanup)
Adds a new cleanup request to memory |
CleanupList |
addCleanups(CleanupList cleanups)
Adds a list of cleanup requests to memory. |
Transfer |
addTransfer(Transfer transfer)
Places a new transfer in the policy knowledge session |
TransferList |
addTransfers(TransferList transfers)
Places new transfers in the policy knowledge session |
CleanupList |
getCleanups()
|
PolicySession |
getPolicySession()
|
java.util.List<Resource> |
getResources()
|
Transfer |
getTransfer(java.lang.String transferId)
|
TransferList |
getTransfers()
|
void |
removeCleanup(java.lang.String id)
Removes a cleanup from memory |
void |
removeTransfer(java.lang.String transferId)
Removes a transfer from the knowledge session. |
void |
setPolicySession(PolicySession policySession)
Sets the policy session |
Cleanup |
updateCleanup(java.lang.String cleanupId,
Cleanup newCleanup)
Updates an existing cleanup in the policy service |
CleanupList |
updateCleanups(CleanupList cleanups)
Updates a list of cleanups in the policy service. |
Transfer |
updateTransfer(java.lang.String transferId,
Transfer newTransfer)
Updates the properties on a previously created transfer |
TransferList |
updateTransfers(TransferList transfers)
Updates a list of transfers in the policy service. |
Method Detail |
---|
TransferList addTransfers(TransferList transfers)
transfers
- the new transfers to get advice from
Transfer addTransfer(Transfer transfer)
transfer
- the transfer to add
void removeTransfer(java.lang.String transferId)
transferId
- the ID of the transfer to removeTransferList getTransfers()
Transfer getTransfer(java.lang.String transferId)
transferId
- ID of an existing transfer
Transfer updateTransfer(java.lang.String transferId, Transfer newTransfer)
transferId
- the ID of the transfer to update.
PolicySession getPolicySession()
void setPolicySession(PolicySession policySession)
policySession
- the policy sessionjava.util.List<Resource> getResources()
Cleanup addCleanup(Cleanup cleanup)
cleanup
- void removeCleanup(java.lang.String id)
id
- the ID of the cleanupCleanupList getCleanups()
CleanupList addCleanups(CleanupList cleanups)
cleanups
- the list of cleanups
Cleanup updateCleanup(java.lang.String cleanupId, Cleanup newCleanup)
cleanupId
- ID of the cleanupnewCleanup
- the new cleanup to update with
TransferList updateTransfers(TransferList transfers)
transfers
- the transfers to update
CleanupList updateCleanups(CleanupList cleanups)
cleanups
- the cleanups to update
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |