| Modifier and Type | Method and Description | 
|---|---|
static Repository | 
FPUtil.getJCMSMainRepository()
Gives the main repository for JCMS upload files. 
 | 
Repository | 
ProcessingEvent.getRepository()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
FPUtil.getFileShortName(java.io.File file,
                Repository repository)  | 
static void | 
FileProcessorReplicaMessageManager.sendActionMsg(FileProcessorAction action,
             Repository repository,
             java.lang.String[] filesShortName,
             java.lang.Class<? extends FileActionComponent> actionComponentClass)  | 
| Constructor and Description | 
|---|
DirectoryScanner(Repository repository)
Build a new DirectoryScanner for the specified repository. 
 | 
FileProcessorAlarmListener(Repository repository)  | 
FileProcessorPostponedAlarmListener(Repository repository)  | 
ProcessingEvent(Repository repository,
               FileActionComponent component,
               java.io.File file,
               ProcessingType type,
               ProcessingData.Type processingDataType)
Create a new Action with information that never change 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Repository | 
ProcessingData.getRepository()
Retrieve the repository concerned by this Processing 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
FileProcessorManager.queueContains(Repository repository,
             FileActionComponent.Operation operation,
             java.io.File file)
Check if the queue contains a ProcessingData matching the specified parameters. 
 | 
| Constructor and Description | 
|---|
ProcessingData(Repository repository,
              DirectoryScanner scanner)  | 
ProcessingData(Repository repository,
              java.io.File file,
              FileActionComponent.Operation operation)  | 
ProcessingData(Repository repository,
              java.util.Set<java.io.File> fileSet,
              FileActionComponent.Operation operation)  | 
| Modifier and Type | Method and Description | 
|---|---|
Repository | 
RepositoryManager.getRepository(java.lang.String id)
Gives the RepositoryConfiguration mapped with this id. 
 | 
Repository | 
RepositoryManager.removeRepository(java.lang.String id)
Stops, removes and returns the repository mapped to this id off from the manager. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Collection<Repository> | 
RepositoryManager.getRepositories()
Gives the collection of RepositoryConfiguration registered in the manager. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
RepositoryManager.addRepository(Repository configuration)
A new repository is added to the manager, except if :
 
   it is null; 
   the id is alreadey used for another configuration; 
   the conditions are not verified. 
 | 
static java.lang.String | 
Repository.applySubstitutions(java.lang.String abstractFileName,
                  Repository repository)
Returns a String constructed from the abstractFileName in parameter where :
 
     
<realpath> is replaced by the absolute real path of the webapp 
    <uploadpath> is replaced by the absolute real path of the upload/ directory in the webapp 
    <webinfpath> is replaced by the absolute real path of the WEB-INF/ directory in the webapp 
    <datapath> is replaced by the absolute real path of the WEB-INF/data/ directory in the webapp 
    <repositoryid> is replaced by the id of the repository 
    <junit> is replaced by the -junit string 
  | 
java.lang.String | 
RepositoryIndexer.getExternalURL(java.io.File file,
              javax.servlet.http.HttpServletRequest request,
              Repository repository)
Gives an URL to access to files externally, given the file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
JCMSUploadIndexer.getExternalURL(java.io.File file,
              javax.servlet.http.HttpServletRequest request,
              Repository repository)  | 
| Modifier and Type | Method and Description | 
|---|---|
Repository | 
FileProcessorAdminHandler.getRepository()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Collection<Repository> | 
FileProcessorAdminHandler.getAvailableRepositories()
Gives a collection of all the repositories stored in the RepositoryManager. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
FileProcessorAction.process(boolean first,
       Repository repository,
       java.lang.String[] filesShortName,
       java.lang.Class<? extends FileActionComponent> actionComponentClass)
Process the action. 
 | 
Copyright © 2001-2018 Jalios SA. All Rights Reserved.