Class Action
java.lang.Object
org.alfresco.rest.api.model.rules.Action
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Action.Builder
builder()
boolean
static Action
Converts service POJO action to REST model action.int
hashCode()
void
setActionDefinitionId
(String actionDefinitionId) void
setParams
(Map<String, Serializable> params) static Action
toCompositeAction
(List<Action> actions) Convert the REST model objects to composite action service POJO.toServiceModel
(NodeRef nodeRef) Convert the REST model object to the equivalent service POJO.toString()
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
from
Converts service POJO action to REST model action. -
toServiceModel
Convert the REST model object to the equivalent service POJO.- Parameters:
nodeRef
- The node reference.- Returns:
- The action service POJO.
-
toCompositeAction
Convert the REST model objects to composite action service POJO.- Parameters:
actions
- List of actions.- Returns:
- The composite action service POJO.
-
getActionDefinitionId
-
setActionDefinitionId
-
getParams
-
setParams
-
toString
-
equals
-
hashCode
public int hashCode() -
builder
-