Package com.alfresco.content.models
Class ActionDefinition
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class ActionDefinition
-
-
Field Summary
Fields Modifier and Type Field Description private Stringidprivate List<String>applicableTypesprivate BooleantrackStatusprivate Stringnameprivate Stringtitleprivate Stringdescriptionprivate List<ActionParameterDefinition>parameterDefinitions
-
Constructor Summary
Constructors Constructor Description ActionDefinition(String id, List<String> applicableTypes, Boolean trackStatus, String name, String title, String description, List<ActionParameterDefinition> parameterDefinitions)
-
Method Summary
Modifier and Type Method Description final StringgetId()Identifier of the action definition — used for example when executing an action final UnitsetId(@Json(name = "id") String id)Identifier of the action definition — used for example when executing an action final List<String>getApplicableTypes()QNames of the types this action applies to final UnitsetApplicableTypes(@Json(name = "applicableTypes") List<String> applicableTypes)QNames of the types this action applies to final BooleangetTrackStatus()whether the basic action definition supports action tracking or not final UnitsetTrackStatus(@Json(name = "trackStatus") Boolean trackStatus)whether the basic action definition supports action tracking or not final StringgetName()name of the action definition, e.g. final UnitsetName(@Json(name = "name") String name)name of the action definition, e.g. final StringgetTitle()title of the action definition, e.g. final UnitsetTitle(@Json(name = "title") String title)title of the action definition, e.g. final StringgetDescription()describes the action definition, e.g. final UnitsetDescription(@Json(name = "description") String description)describes the action definition, e.g. final List<ActionParameterDefinition>getParameterDefinitions()final UnitsetParameterDefinitions(@Json(name = "parameterDefinitions") List<ActionParameterDefinition> parameterDefinitions)-
-
Method Detail
-
getId
final String getId()
Identifier of the action definition — used for example when executing an action
-
setId
final Unit setId(@Json(name = "id") String id)
Identifier of the action definition — used for example when executing an action
-
getApplicableTypes
final List<String> getApplicableTypes()
QNames of the types this action applies to
-
setApplicableTypes
final Unit setApplicableTypes(@Json(name = "applicableTypes") List<String> applicableTypes)
QNames of the types this action applies to
-
getTrackStatus
final Boolean getTrackStatus()
whether the basic action definition supports action tracking or not
-
setTrackStatus
final Unit setTrackStatus(@Json(name = "trackStatus") Boolean trackStatus)
whether the basic action definition supports action tracking or not
-
setName
final Unit setName(@Json(name = "name") String name)
name of the action definition, e.g. \"move\"
-
setTitle
final Unit setTitle(@Json(name = "title") String title)
title of the action definition, e.g. \"Move\"
-
getDescription
final String getDescription()
describes the action definition, e.g. \"This will move the matched item to another space.\"
-
setDescription
final Unit setDescription(@Json(name = "description") String description)
describes the action definition, e.g. \"This will move the matched item to another space.\"
-
getParameterDefinitions
final List<ActionParameterDefinition> getParameterDefinitions()
-
setParameterDefinitions
final Unit setParameterDefinitions(@Json(name = "parameterDefinitions") List<ActionParameterDefinition> parameterDefinitions)
-
-
-
-