org.infoglue.cms.applications.contenttool.actions
Class SearchContentAction

java.lang.Object
  extended by org.infoglue.cms.applications.common.actions.WebworkAbstractAction
      extended by org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
          extended by org.infoglue.cms.applications.contenttool.actions.SearchContentAction
All Implemented Interfaces:
java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
Direct Known Subclasses:
ReplaceContentAction

public class SearchContentAction
extends InfoGlueAbstractAction

Action class for usecase SearchContentAction. Was better before but due to wanted support for multiple databases and lack of time I had to cut down on functionality - sorry Magnus.

Author:
Magnus Güvenal, Mattias Bogeblad
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
colorScheme
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SearchContentAction()
           
 
Method Summary
 java.lang.String doBindingResult()
           
 java.lang.String doExecute()
          Subclasses implement this
 java.lang.String doInput()
          This method returns the advanced search interface to the user.
 java.lang.String doInputBinding()
          This method returns the binding search interface to the user.
 java.util.List getAvailableLanguages()
           
 java.lang.Integer getCaseSensitive()
           
 java.lang.String getContentPath(java.lang.Integer contentId)
           
 java.lang.Integer getContentTypeDefinitionId()
           
 java.util.List getContentTypeDefinitions()
           
 java.util.List getContentVersionVOList()
           
 ContentVO getContentVO(java.lang.Integer contentId)
           
 java.lang.Integer getInverseSearch()
           
 java.lang.Integer getLanguageId()
           
 LanguageVO getLanguageVO(java.lang.Integer languageId)
           
 int getMaxRows()
           
 java.lang.String getName()
           
 java.util.List getPrincipals()
           
 java.lang.String getReplaceString()
           
 java.util.List getRepositories()
           
 java.lang.Integer getRepositoryId()
           
 java.lang.String getSearchString()
           
 java.util.List getSelectedRepositoryIdList()
           
 java.lang.Integer getStateId()
           
 boolean isAdvancedEnabled()
           
 void setAdvancedEnabled(boolean advancedEnabled)
           
 void setCaseSensitive(java.lang.Integer caseSensitive)
           
 void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)
           
 void setInverseSearch(java.lang.Integer inverseSearch)
           
 void setLanguageId(java.lang.Integer languageId)
           
 void setMaxRows(int r)
           
 void setName(java.lang.String name)
           
 void setReplaceString(java.lang.String replaceString)
           
 void setRepositoryId(java.lang.Integer integer)
           
 void setSearchString(java.lang.String s)
           
 void setStateId(java.lang.Integer stateId)
           
 
Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableImageEditor, getInfoGluePrincipal, getLanguageCode, getLocale, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId
 
Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction
doDefault, 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
 

Constructor Detail

SearchContentAction

public SearchContentAction()
Method Detail

setSearchString

public void setSearchString(java.lang.String s)

getSearchString

public java.lang.String getSearchString()

setMaxRows

public void setMaxRows(int r)

getMaxRows

public int getMaxRows()

getContentVersionVOList

public java.util.List getContentVersionVOList()

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Description copied from class: WebworkAbstractAction
Subclasses implement this

Specified by:
doExecute in class WebworkAbstractAction
Throws:
java.lang.Exception

doBindingResult

public java.lang.String doBindingResult()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

doInput

public java.lang.String doInput()
                         throws java.lang.Exception
This method returns the advanced search interface to the user.

Throws:
java.lang.Exception

doInputBinding

public java.lang.String doInputBinding()
                                throws java.lang.Exception
This method returns the binding search interface to the user.

Throws:
java.lang.Exception

getContentVO

public ContentVO getContentVO(java.lang.Integer contentId)

getContentPath

public java.lang.String getContentPath(java.lang.Integer contentId)
                                throws java.lang.Exception
Throws:
java.lang.Exception

getLanguageVO

public LanguageVO getLanguageVO(java.lang.Integer languageId)

getRepositoryId

public java.lang.Integer getRepositoryId()

setRepositoryId

public void setRepositoryId(java.lang.Integer integer)

getAvailableLanguages

public java.util.List getAvailableLanguages()

getContentTypeDefinitions

public java.util.List getContentTypeDefinitions()

getRepositories

public java.util.List getRepositories()

getPrincipals

public java.util.List getPrincipals()

getReplaceString

public java.lang.String getReplaceString()

setReplaceString

public void setReplaceString(java.lang.String replaceString)

getCaseSensitive

public java.lang.Integer getCaseSensitive()

setCaseSensitive

public void setCaseSensitive(java.lang.Integer caseSensitive)

getContentTypeDefinitionId

public java.lang.Integer getContentTypeDefinitionId()

setContentTypeDefinitionId

public void setContentTypeDefinitionId(java.lang.Integer contentTypeDefinitionId)

getInverseSearch

public java.lang.Integer getInverseSearch()

setInverseSearch

public void setInverseSearch(java.lang.Integer inverseSearch)

getLanguageId

public java.lang.Integer getLanguageId()

setLanguageId

public void setLanguageId(java.lang.Integer languageId)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getStateId

public java.lang.Integer getStateId()

setStateId

public void setStateId(java.lang.Integer stateId)

isAdvancedEnabled

public boolean isAdvancedEnabled()

setAdvancedEnabled

public void setAdvancedEnabled(boolean advancedEnabled)

getSelectedRepositoryIdList

public java.util.List getSelectedRepositoryIdList()


Copyright © 2005 InfoGlue.org All Rights Reserved.