public interface ProtocolActionService
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActionsAllowed(ProtocolBase protocol)
This method is to get a list of protocol actions that can be performed based on
this protocol's status or submission status and user's permission
|
boolean |
isActionAllowed(String actionTypeCode,
ProtocolBase protocol)
This method is to check if this protocol action can be performed based on protocol status or submission status
and also check if the user is authorized to perform this action.
|
boolean |
isActionOpenForFollowup(String protocolActionTypeCode,
ProtocolBase protocol)
Determines whether the given action in the protocol should be opened, based on whether it is a followup action.
|
boolean |
isProtocolPersonnel(ProtocolBase protocol)
Determines whether the logged in user is ProtocolBase Personnel
|
void |
resetProtocolStatus(ProtocolActionBase protocolActionBo,
ProtocolBase protocol)
This method is to undo the protocol status or submission status update.
|
void |
updateProtocolStatus(ProtocolActionBase protocolActionBo,
ProtocolBase protocol)
This method is to update protocol status or submission status after the action is submitted.
|
List<String> getActionsAllowed(ProtocolBase protocol)
protocol - void updateProtocolStatus(ProtocolActionBase protocolActionBo, ProtocolBase protocol)
protocolActionBo - protocol - void resetProtocolStatus(ProtocolActionBase protocolActionBo, ProtocolBase protocol)
protocolActionBo - protocol - boolean isActionAllowed(String actionTypeCode, ProtocolBase protocol)
actionTypeCode - protocol - boolean isActionOpenForFollowup(String protocolActionTypeCode, ProtocolBase protocol)
protocolActionTypeCode - The code for the protocol actionprotocol - The ProtocolBaseboolean isProtocolPersonnel(ProtocolBase protocol)
protocol - The ProtocolBaseCopyright © 2013 The Kuali Foundation. All Rights Reserved.