|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
public abstract class InfoGlueAbstractAction
| Field Summary | |
|---|---|
protected java.lang.String |
colorScheme
|
| Fields inherited from interface webwork.action.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
InfoGlueAbstractAction()
|
|
| Method Summary | |
|---|---|
void |
beginTransaction(org.exolab.castor.jdo.Database db)
Begins a transaction on the supplied database |
void |
closeDatabase(org.exolab.castor.jdo.Database db)
Close the database |
void |
closeTransaction(org.exolab.castor.jdo.Database db)
Rollbacks a transaction on the named database |
void |
commitTransaction(org.exolab.castor.jdo.Database db)
Ends a transaction on the named database |
java.lang.String |
encode(java.lang.String value)
|
java.lang.String |
getAllowPublicationEventFilter()
|
java.security.Principal |
getAnonymousPrincipal()
|
java.lang.String |
getCMSBaseUrl()
|
java.lang.String |
getColorScheme()
|
java.lang.String |
getComponentRendererAction()
|
java.lang.String |
getComponentRendererUrl()
|
java.lang.String |
getCurrentURL()
This method returns the current url. |
java.lang.String |
getDisableImageEditor()
|
java.security.Principal |
getInfoGluePrincipal(java.lang.String userName)
|
java.lang.String |
getLanguageCode()
|
java.util.Locale |
getLocale()
|
java.lang.String |
getLogoutURL()
This method returns the logout url. |
java.lang.String |
getOriginalFullURL()
|
protected java.lang.String |
getParameter(java.lang.String parameterName)
Get a parameter (could possibly be an array) from the ActionContext (hides Servlet implementation) |
java.util.Map |
getPrincipalPropertyHashValues(java.lang.String propertyName,
boolean escapeSpecialCharacters)
Getting a property for a Principal - used for personalisation. |
java.lang.String |
getPrincipalPropertyValue(java.lang.String propertyName,
boolean escapeSpecialCharacters)
This method returns a propertyValue for the logged in user. |
java.lang.String |
getPrincipalPropertyValue(java.lang.String propertyName,
boolean escapeSpecialCharacters,
boolean findLargestValue)
This method returns a propertyValue for the logged in user. |
int |
getSessionTimeout()
This method returns the session timeout value. |
protected java.lang.String |
getSingleParameter(java.lang.String parameterName)
Get a single parameter from the ActionContext (hides Servlet implementation) |
InfoGlueAbstractAction |
getThis()
This method lets the velocity template get hold of all actions inheriting. |
java.lang.Integer |
getToolId()
|
java.util.List |
getToolLocales()
Gets a list of tool languages |
java.lang.String |
getURLBase()
This method returns the actions url base. |
java.lang.String |
getUserName()
Get the username for the currently logged in user |
boolean |
hasAccessTo(java.lang.String interceptionPointName)
Used by the view pages to determine if the current user has sufficient access rights to perform the action specific by the interception point name. |
boolean |
hasAccessTo(java.lang.String interceptionPointName,
java.lang.String extraParameter)
Used by the view pages to determine if the current user has sufficient access rights to perform the action specific by the interception point name. |
void |
rollbackTransaction(org.exolab.castor.jdo.Database db)
Rollbacks a transaction on the named database |
void |
setColorScheme(java.lang.String colorScheme)
|
void |
setLanguageCode(java.lang.String languageCode)
|
void |
setToolId(java.lang.Integer toolId)
|
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
|---|
doDefault, doExecute, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String colorScheme
| Constructor Detail |
|---|
public InfoGlueAbstractAction()
| Method Detail |
|---|
public InfoGlueAbstractAction getThis()
public java.lang.String getLogoutURL()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getURLBase()
public java.lang.String getCurrentURL()
public java.lang.String getOriginalFullURL()
public int getSessionTimeout()
public java.util.List getToolLocales()
public java.lang.String getPrincipalPropertyValue(java.lang.String propertyName,
boolean escapeSpecialCharacters)
public java.lang.String getPrincipalPropertyValue(java.lang.String propertyName,
boolean escapeSpecialCharacters,
boolean findLargestValue)
public java.util.Map getPrincipalPropertyHashValues(java.lang.String propertyName,
boolean escapeSpecialCharacters)
public java.security.Principal getAnonymousPrincipal()
throws SystemException
SystemException
public java.security.Principal getInfoGluePrincipal(java.lang.String userName)
throws SystemException
SystemExceptionpublic boolean hasAccessTo(java.lang.String interceptionPointName)
interceptionPointName - THe Name of the interception point to check access rights
public boolean hasAccessTo(java.lang.String interceptionPointName,
java.lang.String extraParameter)
interceptionPointName - THe Name of the interception point to check access rights
public java.lang.String getUserName()
protected final java.lang.String getSingleParameter(java.lang.String parameterName)
protected final java.lang.String getParameter(java.lang.String parameterName)
public java.lang.String getColorScheme()
public void setColorScheme(java.lang.String colorScheme)
public java.lang.String encode(java.lang.String value)
public java.lang.String getComponentRendererUrl()
public java.lang.String getComponentRendererAction()
public java.lang.String getCMSBaseUrl()
public java.lang.String getDisableImageEditor()
public java.lang.String getAllowPublicationEventFilter()
public java.util.Locale getLocale()
public java.lang.Integer getToolId()
public java.lang.String getLanguageCode()
public void setLanguageCode(java.lang.String languageCode)
public void setToolId(java.lang.Integer toolId)
public void beginTransaction(org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public void closeTransaction(org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public void commitTransaction(org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public void rollbackTransaction(org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
public void closeDatabase(org.exolab.castor.jdo.Database db)
throws SystemException
SystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||