|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.cartridge.model.Action
public class Action
An Action represents a decision that an end user might choose to make when interacting with an Assembler application.
Examples include:
LinkBuilder
An Action contains several pieces of information. Which of these are used to produce links is determined by the Assembler application. Depending on the context within which the Action is produced and the manner in which it will be used, any of them may be null.
Constructor Summary | |
---|---|
Action()
Default constructor. |
|
Action(String label)
Constructs an Action with the specified label. |
|
Action(String label,
String siteRootPath,
String contentPath)
Constructs an Action with the specified label, site root path and content path. |
Method Summary | |
---|---|
String |
getContentPath()
|
String |
getLabel()
|
String |
getSiteRootPath()
|
void |
setContentPath(String contentPath)
Sets the path that identifies the content associated with this Action within its containing site. |
void |
setLabel(String label)
Sets the user-visible text for the application to use when constructing a link for this Action. |
void |
setSiteRootPath(String siteRootPath)
Sets the path that identifies the site root associated with this Action . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Action()
public Action(String label)
Action
with the specified label.
label
- the labelpublic Action(String label, String siteRootPath, String contentPath)
Action
with the specified label, site root path and content path.
label
- the labelsiteRootPath
- the site root pathcontentPath
- the content pathMethod Detail |
---|
public String getSiteRootPath()
Action
.public void setSiteRootPath(String siteRootPath)
Action
.
siteRootPath
- the site root pathpublic String getContentPath()
Action
.public void setContentPath(String contentPath)
contentPath
- the content pathpublic String getLabel()
Action
.public void setLabel(String label)
label
- the user-visible text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |