Package com.aquima.web.service.dap
Class StartProjectServiceParameters
java.lang.Object
com.aquima.web.service.dap.StartProjectServiceParameters
This class is responsible for parsing and validating the parameters required by StartProjectService.
- Since:
- 9.8
- Author:
- Voicu Moldovan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStartProjectServiceParameters
(com.aquima.interactions.portal.IServiceContext context) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of action to be performed: open the project in the same tab, in a new tab or just execute the project in the background without a UI.com.aquima.interactions.portal.ITypedParameterValue[]
getData()
Retrieves the String value of the service parameterShortcutAttribute
.Retrieves the String value of the service parameterShortcutName
.boolean
hasData()
Checks weather the optional service parameterData
was filled or not.boolean
Checks if the service parameterShortcutAttribute
was specified.boolean
Checks if the service parameterShortcutName
was specified.
-
Field Details
-
Constructor Details
-
Method Details
-
hasShortcutName
public boolean hasShortcutName()Checks if the service parameterShortcutName
was specified.- Returns:
true
if the parameterShortcutName
was specified,false
otherwise.
-
getShortcutName
Retrieves the String value of the service parameterShortcutName
. Before calling this method, it is recommended to check theShortcutName
value first by calling hasShortcutName() method.- Returns:
- The actual value. It might be
null
.
-
hasShortcutAttribute
public boolean hasShortcutAttribute()Checks if the service parameterShortcutAttribute
was specified.- Returns:
true
if the parameterShortcutAttribute
was specified,false
otherwise.
-
getShortcutAttribute
Retrieves the String value of the service parameterShortcutAttribute
. Before calling this method, it is recommended to check theShortcutAttribute
value first by calling hasShortcutAttribute() method.- Returns:
- The actual value. It might be
null
.
-
getActionName
Returns the name of action to be performed: open the project in the same tab, in a new tab or just execute the project in the background without a UI.- Returns:
- the name of the action to be performed
-
hasData
public boolean hasData()Checks weather the optional service parameterData
was filled or not.- Returns:
true
if the parameterData
was set,false
otherwise.
-
getData
public com.aquima.interactions.portal.ITypedParameterValue[] getData()- Returns:
- Data parameter as array of ITypedParameterValue.
-