|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Repository
This interface defines the methods needed by a Repository implementation. The Repository represents anywhere that workflows, or data files may be stored. A repository can be a network file share, a WebDAV repository, or any other file system. Last edited by $Author: sowen70 $
| Method Summary | |
|---|---|
void |
delete(org.apache.commons.vfs.FileObject[] filelist)
This method deletes a list of files from the repository. |
java.lang.String |
getBaseURL()
This method sets the base URL for the repository. |
java.lang.String |
getName()
This method gets the name of the Repository. |
org.apache.commons.vfs.FileObject |
getRoot()
This method returns the FileObject corresponding to the baseURL. |
void |
publish(org.apache.commons.vfs.FileObject[] filelist,
org.apache.commons.vfs.FileObject startingDir)
This method publishes a list of files, to selected directory. |
org.apache.commons.vfs.FileObject[] |
searchByFileName(org.apache.commons.vfs.FileObject startingDir,
java.lang.String regex,
boolean srchRecursively)
This method searches the repository for a file whose |
org.apache.commons.vfs.FileObject[] |
searchByWorkFlowAuthor(org.apache.commons.vfs.FileObject startingDir,
java.lang.String authorName,
boolean srchRecursively)
This method searches for workflows whose author is specified by a |
org.apache.commons.vfs.FileObject[] |
searchByWorkFlowDescription(org.apache.commons.vfs.FileObject startingDir,
java.lang.String regex,
boolean srchRecursively)
|
void |
setBaseURL(java.lang.String baseURL)
This method sets the base URL for the repository |
void |
setName(java.lang.String name)
This method sets the name of the Repository. |
| Method Detail |
|---|
java.lang.String getBaseURL()
void setBaseURL(java.lang.String baseURL)
baseURL - org.apache.commons.vfs.FileObject getRoot()
java.lang.String getName()
void setName(java.lang.String name)
name -
org.apache.commons.vfs.FileObject[] searchByFileName(org.apache.commons.vfs.FileObject startingDir,
java.lang.String regex,
boolean srchRecursively)
startingDir - The directory from which to start the search. This should
default to "/" the root directory.regex - A regular expression that can be applied to each file.srchRecursively - Indicates whether subdirectories should also be searched for
files that match the regular expression
org.apache.commons.vfs.FileObject[] searchByWorkFlowDescription(org.apache.commons.vfs.FileObject startingDir,
java.lang.String regex,
boolean srchRecursively)
startingDir - The directory from which to start the search. This should
default to "/" the root directory.regex - A regular expression that can be applied to each file.srchRecursively - Indicates whether subdirectories should also be searched for
files that match the regular expression
org.apache.commons.vfs.FileObject[] searchByWorkFlowAuthor(org.apache.commons.vfs.FileObject startingDir,
java.lang.String authorName,
boolean srchRecursively)
startingDir - The directory from which to start the search. This should
default to "/" the root directory.regex - A regular expression that can be applied to each file.srchRecursively - Indicates whether subdirectories should also be searched for
files that match the regular expression
void publish(org.apache.commons.vfs.FileObject[] filelist,
org.apache.commons.vfs.FileObject startingDir)
throws PublicationException
filelist - The list of files to be written.startingDir - The directory in which to deposit the files. This directory is
relative to the repository root directory.
PublicationException
void delete(org.apache.commons.vfs.FileObject[] filelist)
throws PublicationException
filelist -
PublicationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||