public class SActionRef extends Named
Modifier and Type | Field and Description |
---|---|
protected NamedList<SActionDataLoc> |
actiondata |
protected NamedList<SNullActionInputDataRef> |
nullactiondata |
Modifier | Constructor and Description |
---|---|
protected |
SActionRef(java.lang.String name,
java.lang.String module,
int inputargumentindex)
creates an action reference
|
Modifier and Type | Method and Description |
---|---|
protected void |
addActionBusinessData(SActionDataLoc dataelt)
adds action business data
|
SActionData |
generatePotentialActionDataForSecurity(SPageData pagedata)
generates the potential action data to check for security.
|
ActionExecution |
getAction()
gets the provided action execution
|
SActionDataLoc<?> |
getActionData(java.lang.String name)
gets the action data loc for the attribute with the given name
|
java.lang.String |
getModule() |
protected void |
setNullActionBusinessData(SNullActionInputDataRef nullactioninput)
adds a null action business data
|
void |
writeAttributesInOrder(MessageWriter writer)
writes the attribute in the order specified
|
void |
writeToCML(MessageWriter writer)
writes a reference to an action inside the widget
|
changeName, cleanName, equals, getName
protected NamedList<SActionDataLoc> actiondata
protected NamedList<SNullActionInputDataRef> nullactiondata
protected SActionRef(java.lang.String name, java.lang.String module, int inputargumentindex)
name
- name of the action (unique for the module)module
- name of the module (unique)inputargumentindex
- 0 or more if there exists an inputargument index,
-1 if there is no input security argumentpublic java.lang.String getModule()
protected void addActionBusinessData(SActionDataLoc dataelt)
dataelt
- location of the action business data on the pageprotected void setNullActionBusinessData(SNullActionInputDataRef nullactioninput)
nullactioninput
- a null action business datapublic SActionData generatePotentialActionDataForSecurity(SPageData pagedata)
pagedata
- pagedatapublic void writeAttributesInOrder(MessageWriter writer) throws java.io.IOException
writer
- message writerjava.io.IOException
- if any error is encountered writing the messagepublic void writeToCML(MessageWriter writer) throws java.io.IOException
writer
- message writerjava.io.IOException
- if any transmission error is encounteredpublic ActionExecution getAction()
public SActionDataLoc<?> getActionData(java.lang.String name)
name
- name of the attribute