it.sistematica.isharedoc.action.iservice
Class IndexAction

java.lang.Object
  extended by it.sistematica.isharedoc.action.BaseAction
      extended by it.sistematica.isharedoc.action.iservice.IndexAction
All Implemented Interfaces:
org.apache.struts2.interceptor.ParameterAware, org.apache.struts2.interceptor.ServletRequestAware, org.apache.struts2.interceptor.SessionAware

@Controller(value="iserviceIndexAction")
public class IndexAction
extends BaseAction


Nested Class Summary
 
Nested classes/interfaces inherited from class it.sistematica.isharedoc.action.BaseAction
BaseAction.TrimMode
 
Field Summary
(package private)  org.springframework.context.ApplicationContext applicationContext
           
(package private)  it.neverworks.util.Configuration configuration
           
(package private)  it.neverworks.data.EntityManager entities
           
(package private)  IndexService indexService
           
(package private)  SearchService searchService
           
(package private)  it.neverworks.application.service.UserInfo userInfo
           
 
Fields inherited from class it.sistematica.isharedoc.action.BaseAction
cloudManager, jsonResult, parameters, redirectURL, request, resultCode, resultMessage, search, session
 
Constructor Summary
IndexAction()
           
 
Method Summary
 java.lang.String edit()
           
 java.lang.String getBaseDirectory()
           
 java.lang.String getContentDisposition()
           
 java.lang.String getContentType()
           
 Partition getCurrentPartition()
           
 java.lang.String getCurrentPartitionId()
           
 java.lang.String getCurrentPartitionName()
           
 java.io.InputStream getExportStream()
           
 IndexManager getIndex()
           
 boolean getIndexingEnabled()
           
 java.util.Map<java.lang.String,IndexManager> getIndices()
           
 SearchService.Results getQueryResults()
           
 java.lang.String mainPanel()
           
 void prepare()
           
 java.lang.String query()
           
 
Methods inherited from class it.sistematica.isharedoc.action.BaseAction
dateFormat, escapeHTML, escapeJavascript, escapeXml, execute, getCancelMessage, getExceptionStack, getFileId, getFileName, getJsonResult, getParameters, getRedirectURL, getRequestId, getResultCode, getResultMessage, getSearch, getServletRequest, getSession, getTaskLink, prepareCloudFile, prepareEntity, prepareEntity, prepareEntityUsingString, prepareEntityUsingString, prepareExport, prepareExport, setFileId, setFileName, setParameters, setServletRequest, setSession, trimToLength, trimToLength, unescapeHTML, unescapeJavascript, unescapeXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entities

it.neverworks.data.EntityManager entities

applicationContext

org.springframework.context.ApplicationContext applicationContext

indexService

IndexService indexService

searchService

SearchService searchService

configuration

it.neverworks.util.Configuration configuration

userInfo

it.neverworks.application.service.UserInfo userInfo
Constructor Detail

IndexAction

public IndexAction()
Method Detail

mainPanel

@Secured(value={"ROLE_ADMINISTRATOR","ROLE_SUPERVISOR"})
public java.lang.String mainPanel()

edit

@Secured(value={"ROLE_ADMINISTRATOR","ROLE_SUPERVISOR"})
public java.lang.String edit()

prepare

public void prepare()

query

public java.lang.String query()

getBaseDirectory

public java.lang.String getBaseDirectory()

getIndexingEnabled

public boolean getIndexingEnabled()

getCurrentPartitionId

public java.lang.String getCurrentPartitionId()

getCurrentPartitionName

public java.lang.String getCurrentPartitionName()

getIndices

public java.util.Map<java.lang.String,IndexManager> getIndices()

getCurrentPartition

public Partition getCurrentPartition()

getIndex

public IndexManager getIndex()

getQueryResults

public SearchService.Results getQueryResults()

getContentType

public java.lang.String getContentType()

getContentDisposition

public java.lang.String getContentDisposition()

getExportStream

public java.io.InputStream getExportStream()