|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.spieleck.pcs.http.ServiceInfo
This objects represents information about a Service provided by the ControllerServlet. If the ServiceInfo is set to dynamicView = true, then the Controller is allowed to use the stylesheet specified by the ActionResult instead of the default.
Constructor Summary | |
ServiceInfo()
Creates a new instance of ServiceInfo |
|
ServiceInfo(java.lang.String name,
java.lang.String actionName,
java.lang.String stylesheet)
Creates a ServiceInfo with the given settings |
|
ServiceInfo(java.lang.String name,
java.lang.String actionName,
java.lang.String stylesheet,
boolean dynamicView)
Creates a ServiceInfo with the given settings |
Method Summary | |
Action |
getAction()
returns an instance of the Action connected to this Service |
protected java.lang.String |
getActionName()
returns the class name of the Action connected to this Service |
java.lang.String |
getAuthChecker()
Getter for property authChecker. |
java.lang.String |
getName()
gets the name of this Service |
java.lang.String |
getStylesheet()
Getter for property stylesheet. |
boolean |
isDynamicView()
Getter for property dynamicView. |
protected void |
setActionName(java.lang.String actionName)
sets the class name of the Action of this Service |
void |
setAuthChecker(java.lang.String authChecker)
Setter for property authChecker. |
void |
setDynamicView(boolean dynamicView)
Setter for property dynamicView. |
void |
setName(java.lang.String name)
sets the name of this Service |
void |
setStylesheet(java.lang.String stylesheet)
Setter for property stylesheet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceInfo()
public ServiceInfo(java.lang.String name, java.lang.String actionName, java.lang.String stylesheet)
public ServiceInfo(java.lang.String name, java.lang.String actionName, java.lang.String stylesheet, boolean dynamicView)
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value of property name.protected java.lang.String getActionName()
protected void setActionName(java.lang.String actionName)
action
- New value of property action.public Action getAction() throws ControllerException
public java.lang.String getStylesheet()
public void setStylesheet(java.lang.String stylesheet)
stylesheet
- New value of property stylesheet.public java.lang.String getAuthChecker()
public void setAuthChecker(java.lang.String authChecker)
authChecker
- New value of property authChecker.public boolean isDynamicView()
public void setDynamicView(boolean dynamicView)
dynamicView
- New value of property dynamicView.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |