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) |
Constructor and Description |
---|
DirectoryScanner(Repository repository)
Build a new DirectoryScanner for the specified repository.
|
FileProcessorAlarmListener(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
|
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
<jcmsuploadindexpath> is replaced by the absolute real path of the WEB-INF/data/lucene/FilesIndex/ 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.
|
Copyright © 2001-2010 Jalios SA. All Rights Reserved.