public class DynamicActionDefinition extends ActionDefinition
accesscriteria, accesscriteriaindex, accesscriteriaisinput
Constructor and Description |
---|
DynamicActionDefinition(java.lang.String name)
creates a dynamic action definition that is not automatically generated
|
DynamicActionDefinition(java.lang.String name,
boolean generated)
creates a dynamic action definition
|
DynamicActionDefinition(java.lang.String name,
java.lang.String specification)
creates a dynamic action definition with a written specification (that will
be put in the javadoc of the auto-generated action
|
Modifier and Type | Method and Description |
---|---|
void |
addInputArgument(ArgumentContent thisargument)
adds an input argument to the action (without usage for security checks)
|
void |
addInputArgumentAsAccessCriteria(ArgumentContent thisargument)
adds an input argument that will be used for access criteria (security
check).
|
NamedList<ArgumentContent> |
getInputArguments() |
ObjectArgument |
getSecurityobjectargument()
this method returns the object argument used for security if it exists
|
ObjectIdArgument |
getSecurityobjectidargument()
this method returns the object argument id used for security if it exists
|
addBusinessRule, addOutputArgument, addOutputArgumentAsAccessCriteria, forceNoAddress, generateToFile, getAccessCriteria, getAccessCriteriaIndex, getActionsInGroup, getButtonlabel, getModule, getOutputArgument, getOutputArgumentNumber, isAccessCriteriaInput, isAddressGenerated, isAutogenerated, setButtonlabel, setModule, toString
changeName, cleanName, equals, getName
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
public DynamicActionDefinition(java.lang.String name)
name
- name of the action (that is unique for the module)public DynamicActionDefinition(java.lang.String name, boolean generated)
name
- name of the action (that is unique for the module)generated
- true if the action is generated (an action should be set to
true only if it is part of the standard actions for objects
generated by the packagepublic DynamicActionDefinition(java.lang.String name, java.lang.String specification)
name
- name of the action (that is unique for the module)specification
- specification of the action to be put in javadocpublic void addInputArgument(ArgumentContent thisargument)
thisargument
- the argument to addpublic void addInputArgumentAsAccessCriteria(ArgumentContent thisargument)
thisargument
- argument to add as security criteria.public NamedList<ArgumentContent> getInputArguments()
getInputArguments
in class ActionDefinition
public ObjectArgument getSecurityobjectargument()
ActionDefinition
getSecurityobjectargument
in class ActionDefinition
public ObjectIdArgument getSecurityobjectidargument()
ActionDefinition
getSecurityobjectidargument
in class ActionDefinition