|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.infoglue.cms.applications.tasktool.actions.BasicScriptController
This is the script controller interface. This is the entry point for scripts running tasks.
| Constructor Summary | |
BasicScriptController(InfoGluePrincipal infoGluePrincipal)
This is the public constructor which automatically locates the database object. |
|
| Method Summary | |
void |
beginTransaction()
Begins a transaction on the named database |
void |
commitTransaction()
Ends a transaction on the named database |
webwork.action.ActionContext |
getActionContext()
This method returns the ActionContext for the action |
ContentController |
getContentController()
This is a method to get hold of the SiteNodeVersionController. |
ContentVersionController |
getContentVersionController()
This is a method to get hold of the SiteNodeVersionController. |
org.exolab.castor.jdo.Database |
getDatabase()
This method gets the database for the script |
InfoGluePrincipal |
getInfoGluePrincipal()
Returns the InfoGluePrincipal running the task |
java.lang.Integer |
getInteger(java.lang.String value)
This method returns an Integer from a String. |
LanguageController |
getLanguageController()
This is a method to get hold of the SiteNodeVersionController. |
java.lang.Object |
getObjectWithName(java.lang.String className)
This method instansiate a new object of the given class |
java.lang.Object |
getOutputParameter(java.lang.String parameter)
Gets a parameter for output |
RepositoryController |
getRepositoryController()
This is a method to get hold of the SiteNodeController. |
javax.servlet.http.HttpServletRequest |
getRequest()
A method to set the request for this script |
ServiceBindingController |
getServiceBindingController()
This is a method to get hold of the ServiceBindingController. |
SiteNodeController |
getSiteNodeController()
This is a method to get hold of the SiteNodeController. |
SiteNodeVersionController |
getSiteNodeVersionController()
This is a method to get hold of the SiteNodeVersionController. |
boolean |
isNull(java.lang.Object object)
This method returns true if the object is null - false otherwise. |
void |
logInfo(java.lang.String info)
This is a logmethod used to debug scripts. |
void |
logInfo(java.lang.String header,
boolean info)
This is a logmethod used to debug scripts. |
void |
logInfo(java.lang.String header,
int info)
This is a logmethod used to debug scripts. |
void |
logInfo(java.lang.String header,
java.lang.Object info)
This is a logmethod used to debug scripts. |
void |
logInfo(java.lang.String header,
java.lang.String info)
This is a logmethod used to debug scripts. |
void |
rollbackTransaction()
Rollbacks a transaction on the named database |
void |
setOutputParameter(java.lang.String parameter,
java.lang.Object value)
Sets a parameter for output later |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
A method to get the request for this script |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicScriptController(InfoGluePrincipal infoGluePrincipal)
throws SystemException,
java.lang.Exception
| Method Detail |
public javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
setRequest in interface ScriptControllerpublic SiteNodeController getSiteNodeController()
public RepositoryController getRepositoryController()
public ServiceBindingController getServiceBindingController()
public SiteNodeVersionController getSiteNodeVersionController()
public ContentController getContentController()
public ContentVersionController getContentVersionController()
public LanguageController getLanguageController()
public InfoGluePrincipal getInfoGluePrincipal()
public java.lang.Integer getInteger(java.lang.String value)
public boolean isNull(java.lang.Object object)
public webwork.action.ActionContext getActionContext()
public java.lang.Object getObjectWithName(java.lang.String className)
public org.exolab.castor.jdo.Database getDatabase()
public java.lang.Object getOutputParameter(java.lang.String parameter)
public void setOutputParameter(java.lang.String parameter,
java.lang.Object value)
public void beginTransaction()
throws SystemException
beginTransaction in interface ScriptControllerSystemException
public void commitTransaction()
throws SystemException
commitTransaction in interface ScriptControllerSystemException
public void rollbackTransaction()
throws SystemException
SystemExceptionpublic void logInfo(java.lang.String info)
logInfo in interface ScriptController
public void logInfo(java.lang.String header,
java.lang.String info)
public void logInfo(java.lang.String header,
boolean info)
public void logInfo(java.lang.String header,
int info)
public void logInfo(java.lang.String header,
java.lang.Object info)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||