Package org.cyclos.impl.banking
Interface TransferStatusServiceLocal
-
- All Superinterfaces:
CRUDService<TransferStatusDTO,TransferStatusData,TransferStatusFlowVO>,CRUDServiceLocal<TransferStatus,TransferStatusDTO,TransferStatusData,TransferStatusFlowVO>,Service,TransferStatusService
public interface TransferStatusServiceLocal extends CRUDServiceLocal<TransferStatus,TransferStatusDTO,TransferStatusData,TransferStatusFlowVO>, TransferStatusService
Local interface forTransferStatusService
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_FLOWScript attribute: theTransferStatusFlowstatic StringATTR_STATUSScript attribute: the currentTransferStatusstatic StringATTR_TRANSFERScript attribute: theTransfer
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TransferStatusLog>getLog(Transfer transfer, TransferStatusFlow flow)Returns the log for the given transfer and flowList<TransferStatus>getPossibleNext(Transfer transfer, TransferStatusFlow flow)Returns the statuses which can be set as next for the given transfer / flowvoidsetInitialStatuses(Transfer transfer)Sets the initial statuses for this transfer, according to the transfer type configuration-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.banking.TransferStatusService
changeStatus, list
-
-
-
-
Field Detail
-
ATTR_TRANSFER
static final String ATTR_TRANSFER
Script attribute: theTransfer- See Also:
- Constant Field Values
-
ATTR_FLOW
static final String ATTR_FLOW
Script attribute: theTransferStatusFlow- See Also:
- Constant Field Values
-
ATTR_STATUS
static final String ATTR_STATUS
Script attribute: the currentTransferStatus- See Also:
- Constant Field Values
-
-
Method Detail
-
getLog
List<TransferStatusLog> getLog(Transfer transfer, TransferStatusFlow flow)
Returns the log for the given transfer and flow
-
getPossibleNext
List<TransferStatus> getPossibleNext(Transfer transfer, TransferStatusFlow flow)
Returns the statuses which can be set as next for the given transfer / flow
-
setInitialStatuses
void setInitialStatuses(Transfer transfer)
Sets the initial statuses for this transfer, according to the transfer type configuration
-
-