org.infoglue.cms.applications.workflowtool.function
Class LanguageProvider

java.lang.Object
  extended by org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
      extended by org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
          extended by org.infoglue.cms.applications.workflowtool.function.LanguageProvider
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider

public class LanguageProvider
extends InfoglueFunction


Field Summary
static java.lang.String ARGUMENT_SCOPE_ARGUMENT
           
static java.lang.String LANGUAGE_CODE_ARGUMENT
           
static java.lang.String LANGUAGE_ID_IDENTIFIER
           
static java.lang.String LANGUAGE_PARAMETER
           
static java.lang.String LANGUAGE_PROPERTYSET_KEY
           
 
Fields inherited from class org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
LOCALE_PARAMETER, PRINCIPAL_PARAMETER
 
Fields inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
ERROR_PROPERTYSET_PREFIX, FUNCTION_STATUS_PROPERTYSET_KEY, UTF8_ENCODING, WORKFLOW_PROPERTYSET_PREFIX
 
Constructor Summary
LanguageProvider()
           
 
Method Summary
protected  void execute()
          Executes this function.
 LanguageVO getAnyLanguage()
           
 LanguageVO getLanguageWithCode(java.lang.String code)
           
 LanguageVO getLanguageWithID(java.lang.String languageId)
           
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.function.InfoglueFunction
execute, getLocale, getPrincipal, getRequestParameter, initialize, setFunctionStatus
 
Methods inherited from class org.infoglue.cms.applications.workflowtool.util.InfoglueWorkflowBase
argumentExists, getArgument, getArgument, getDatabase, getParameter, getParameter, getParameter, getParameters, getParameterStringValue, getPropertySet, getPropertySetDataString, getPropertySetString, getVariableFromMaps, parameterExists, propertySetContains, removeFromPropertySet, removeFromPropertySet, setParameter, setPropertySetDataString, setPropertySetString, storeContext, throwException, throwException, translate, translateVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LANGUAGE_PARAMETER

public static final java.lang.String LANGUAGE_PARAMETER
See Also:
Constant Field Values

LANGUAGE_PROPERTYSET_KEY

public static final java.lang.String LANGUAGE_PROPERTYSET_KEY
See Also:
Constant Field Values

LANGUAGE_CODE_ARGUMENT

public static final java.lang.String LANGUAGE_CODE_ARGUMENT
See Also:
Constant Field Values

ARGUMENT_SCOPE_ARGUMENT

public static final java.lang.String ARGUMENT_SCOPE_ARGUMENT
See Also:
Constant Field Values

LANGUAGE_ID_IDENTIFIER

public static final java.lang.String LANGUAGE_ID_IDENTIFIER
See Also:
Constant Field Values
Constructor Detail

LanguageProvider

public LanguageProvider()
Method Detail

execute

protected void execute()
                throws com.opensymphony.workflow.WorkflowException
Description copied from class: InfoglueFunction
Executes this function.

Specified by:
execute in class InfoglueFunction
Throws:
com.opensymphony.workflow.WorkflowException - if an error occurs during the execution.

getAnyLanguage

public LanguageVO getAnyLanguage()
                          throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException

getLanguageWithID

public LanguageVO getLanguageWithID(java.lang.String languageId)
                             throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException

getLanguageWithCode

public LanguageVO getLanguageWithCode(java.lang.String code)
                               throws com.opensymphony.workflow.WorkflowException
Throws:
com.opensymphony.workflow.WorkflowException


Copyright © 2005 InfoGlue.org All Rights Reserved.