Class FileProcessorAdminHandler

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants

    public class FileProcessorAdminHandler
    extends JcmsFormHandler
    FormHandler that provides informations shown in FileProcessor admin page. Executes the actions if needed.
    Version:
    $Revision: 112713 $
    • Field Detail

      • op

        protected boolean op
      • opStop

        protected boolean opStop
      • opStart

        protected boolean opStart
      • opGlobalBlacklist

        protected boolean opGlobalBlacklist
      • opPartialBlacklist

        protected boolean opPartialBlacklist
      • opUnBlacklist

        protected boolean opUnBlacklist
      • opExecuteNextAlarmNow

        protected boolean opExecuteNextAlarmNow
      • opSubmitAgain

        protected boolean opSubmitAgain
      • opReProcessNonBlackListedFiles

        protected boolean opReProcessNonBlackListedFiles
      • TABINDEX_EXTENSIONS_AND_PROCESSORS

        public static final int TABINDEX_EXTENSIONS_AND_PROCESSORS
        See Also:
        Constant Field Values
      • TABINDEX_PROCESSING_EVENT

        public static final int TABINDEX_PROCESSING_EVENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileProcessorAdminHandler

        public FileProcessorAdminHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class JcmsFormHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • getAvailableRepositories

        public java.util.Collection<Repository> getAvailableRepositories()
        Gives a collection of all the repositories stored in the RepositoryManager.
        Returns:
        Collection of Repository
      • setActionComponentClassName

        public void setActionComponentClassName​(java.lang.String actionComponentClassName)
      • setFileShortName

        public void setFileShortName​(java.lang.String[] filesShortName)
      • getAvailableFilesShortName

        public java.lang.String[] getAvailableFilesShortName()
      • setOpStart

        public void setOpStart​(java.lang.String v)
      • setOpStop

        public void setOpStop​(java.lang.String v)
      • setOpExecuteNextAlarmNow

        public void setOpExecuteNextAlarmNow​(java.lang.String v)
      • setOpGlobalBlacklist

        public void setOpGlobalBlacklist​(java.lang.String v)
      • setOpPartialBlacklist

        public void setOpPartialBlacklist​(java.lang.String v)
      • setOpUnBlacklist

        public void setOpUnBlacklist​(java.lang.String v)
      • setOpSubmitAgain

        public void setOpSubmitAgain​(java.lang.String v)
      • setOpReProcessNonBlackListedFiles

        public void setOpReProcessNonBlackListedFiles​(java.lang.String v)
      • getAvailableRepositoryId

        public java.lang.String getAvailableRepositoryId()
      • getRepositoryId

        public java.lang.String getRepositoryId()
      • setRepositoryId

        public void setRepositoryId​(java.lang.String repositoryId)
      • getRepository

        public Repository getRepository()
      • getAvailableIndexerClass

        public java.lang.String getAvailableIndexerClass()
      • setIndexerClass

        public void setIndexerClass​(java.lang.String indexerClass)
      • getAvailableName

        public java.lang.String getAvailableName()
      • setName

        public void setName​(java.lang.String name)
      • getAvailableAlarmMgrName

        public java.lang.String getAvailableAlarmMgrName()
      • setAlarmMgrName

        public void setAlarmMgrName​(java.lang.String alarmMgrName)
      • getAvailableBaseDirectory

        public java.lang.String getAvailableBaseDirectory()
      • setBaseDirectory

        public void setBaseDirectory​(java.lang.String baseDirectory)
      • getAvailableLuceneIndex

        public java.lang.String getAvailableLuceneIndex()
      • setLuceneIndex

        public void setLuceneIndex​(java.lang.String luceneIndex)
      • getAvailablePostponedSchedulePeriod

        public int getAvailablePostponedSchedulePeriod()
      • setPostponedSchedulePeriod

        public void setPostponedSchedulePeriod​(java.lang.String schedulePeriodString)
      • getAvailablePostponedScheduleCron

        public java.lang.String getAvailablePostponedScheduleCron()
      • setPostponedScheduleCron

        public void setPostponedScheduleCron​(java.lang.String scheduleCron)
      • getAvailableSchedulePeriod

        public int getAvailableSchedulePeriod()
      • setSchedulePeriod

        public void setSchedulePeriod​(java.lang.String schedulePeriodString)
      • getAvailableScheduleCron

        public java.lang.String getAvailableScheduleCron()
      • setScheduleCron

        public void setScheduleCron​(java.lang.String scheduleCron)
      • getAvailableExcludedDirRegExp

        public java.lang.String getAvailableExcludedDirRegExp()
      • setExcludedDirRegExp

        public void setExcludedDirRegExp​(java.lang.String excludedDirRegExp)
      • getAvailableProcessingLimitDuration

        public int getAvailableProcessingLimitDuration()
      • setProcessingLimitDuration

        public void setProcessingLimitDuration​(java.lang.String processingLimitDurationString)
      • getMainTab

        public int getMainTab()
      • setMainTab

        public void setMainTab​(int mainTab)
      • getText

        public java.lang.String getText()
      • setText

        public void setText​(java.lang.String text)
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public void setStatus​(java.lang.String status)
      • getRedirectUrl

        public java.lang.String getRedirectUrl()
      • sendRedirect

        public void sendRedirect()
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getActionComponent

        public java.lang.String getActionComponent()
      • setActionComponent

        public void setActionComponent​(java.lang.String actionComponent)