public interface FileSystemManager
The FileSystemManager defines a very high level API for triggering content loading from the file system into an ATG Repository. Implementations of this interface will typically also implement FileSystemMonitor. Users requiring more precision than is offered by these methods they should use the LoaderManager API directly, possibly in conjunction with the FileSystemMonitor's methods.
FileSystemMonitor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
atg.repository.loader.JobId |
add(boolean pRecurse)
Convenience method that adds all items specified by the
current monitored paths to the Repository.
|
void |
add(java.io.File[] pPaths,
boolean[] pRecurse)
Convenience method that adds all items specified by the
provided array of paths to the Repository.
|
atg.repository.loader.JobId |
add(java.io.File pAbsolutePath,
boolean pRecurse)
Convenience method that triggers an add of the given path to the repository
|
atg.repository.loader.JobId |
delete(boolean pRecurse)
Convenience method that removes all items specified by the
current monitored paths from the Repository.
|
atg.repository.loader.JobId |
delete(boolean pRecurse,
long pLastDeleted)
Convenience method that removes all items specified by the
current monitored paths from the Repository.
|
void |
delete(java.io.File[] pPaths,
boolean[] pRecurse)
Convenience method that removes all items specified by the
provided array of paths from the Repository.
|
void |
delete(java.io.File[] pPaths,
boolean[] pRecurse,
long pLastDeleted)
Convenience method that removes all items specified by the
provided array of paths from the Repository.
|
atg.repository.loader.JobId |
delete(java.io.File pAbsolutePath,
boolean pRecurse)
Convenience method that removes all items specified by the
provided path from the Repository.
|
atg.repository.loader.JobId |
delete(java.io.File pAbsolutePath,
boolean pRecurse,
long pLastDeleted)
Convenience method that removes all items specified by the
provided path from the Repository.
|
atg.repository.loader.JobId |
update(boolean pRecurse)
Convenience method that triggers an execution using the current
value of the lastUpdated and the current monitored path.
|
atg.repository.loader.JobId |
update(boolean pRecurse,
long pLastUpdated)
Convenience method that triggers an execution using the current
value of the monitoredPath property and the specifed lastUpdated
value.
|
void |
update(java.io.File[] pPaths,
boolean[] pRecurse)
Convenience method that triggers an execution using the current
value of the lastUpdated and the specified list of
paths.
|
void |
update(java.io.File[] pPaths,
boolean[] pRecurse,
long pLastUpdated)
Convenience method that triggers an execution using the specified
list of paths and the specifed lastUpdated value.
|
atg.repository.loader.JobId |
update(java.io.File pAbsolutePath,
boolean pRecurse)
Convenience method that triggers an execution using the current
values of the lastUpdated and monitoredPath properties.
|
atg.repository.loader.JobId |
update(java.io.File pAbsolutePath,
boolean pRecurse,
long pLastUpdated)
Convenience method that triggers an execution using the current
value of the monitoredPath property and the specifed lastUpdated
value.
|
static final java.lang.String CLASS_VERSION
atg.repository.loader.JobId update(java.io.File pAbsolutePath, boolean pRecurse, long pLastUpdated) throws atg.repository.loader.LoaderException
pAbsolutePath
- a File object specifying the path to be processed
pAbsolutePath must be a child of monitoredPath.pRecurse
- boolean flag indicating if pPath should be
processed recursivelypLastUpdated
- long timestamp specifying the last update timeatg.repository.loader.LoaderException
atg.repository.loader.JobId update(java.io.File pAbsolutePath, boolean pRecurse) throws atg.repository.loader.LoaderException
pAbsolutePath
- a File object specifying the path to be processed
pAbsolutePath must be a child of monitoredPath.pRecurse
- boolean flag indicating if pPath should be
processed recursivelyatg.repository.loader.LoaderException
atg.repository.loader.JobId add(java.io.File pAbsolutePath, boolean pRecurse) throws atg.repository.loader.LoaderException
pAbsolutePath
- a File object specifying the path to be added
pAbsolutePath must be a child of monitoredPath.pRecurse
- boolean flag indicating if pPath should be
processed recursivelyatg.repository.loader.LoaderException
atg.repository.loader.JobId delete(java.io.File pAbsolutePath, boolean pRecurse, long pLastDeleted) throws atg.repository.loader.LoaderException
pAbsolutePath
- a File object specifying the path to be processed
pAbsolutePath must be a child of monitoredPath.pRecurse
- boolean flag indicating if pPath should be
processed recursivelypLastDeleted
- long timestamp specifying the last delete timeatg.repository.loader.LoaderException
atg.repository.loader.JobId delete(java.io.File pAbsolutePath, boolean pRecurse) throws atg.repository.loader.LoaderException
pAbsolutePath
- a File object specifying the path to be processed
pAbsolutePath must be a child of monitoredPath.pRecurse
- boolean flag indicating if pPath should be
processed recursivelyatg.repository.loader.LoaderException
void update(java.io.File[] pPaths, boolean[] pRecurse, long pLastUpdated) throws atg.repository.loader.LoaderException
pPaths
- an array of File objects specifying the paths to be processed.
pPaths must be children of monitoredPath.pRecurse
- corresponding array of boolean flags indicating if paths should be
processed recursivelypLastUpdated
- long timestamp specifying the last update timeatg.repository.loader.LoaderException
void update(java.io.File[] pPaths, boolean[] pRecurse) throws atg.repository.loader.LoaderException
pPaths
- an array of File objects specifying the paths to be processed.
pPaths must be children of monitoredPath.pRecurse
- corresponding array of boolean flags indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException
void add(java.io.File[] pPaths, boolean[] pRecurse) throws atg.repository.loader.LoaderException
pPaths
- an array of File objects specifying the paths to be processed.
pPaths must be children of monitoredPath.pRecurse
- corresponding array of boolean flags indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException
void delete(java.io.File[] pPaths, boolean[] pRecurse, long pLastDeleted) throws atg.repository.loader.LoaderException
pPaths
- an array of File objects specifying the paths to be processed.
pPaths must be children of monitoredPath.pRecurse
- corresponding array of boolean flags indicating if paths should be
processed recursivelypLastDeleted
- long timestamp specifying the last delete timeatg.repository.loader.LoaderException
void delete(java.io.File[] pPaths, boolean[] pRecurse) throws atg.repository.loader.LoaderException
pPaths
- an array of File objects specifying the paths to be processed.
pPaths must be children of monitoredPath.pRecurse
- corresponding array of boolean flags indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException
atg.repository.loader.JobId update(boolean pRecurse, long pLastUpdated) throws atg.repository.loader.LoaderException
pRecurse
- boolean flag indicating if paths should be
processed recursivelypLastUpdated
- long timestamp specifying the last update timeatg.repository.loader.LoaderException
atg.repository.loader.JobId update(boolean pRecurse) throws atg.repository.loader.LoaderException
pRecurse
- boolean flag indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException
atg.repository.loader.JobId add(boolean pRecurse) throws atg.repository.loader.LoaderException
pRecurse
- boolean flag indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException
atg.repository.loader.JobId delete(boolean pRecurse, long pLastDeleted) throws atg.repository.loader.LoaderException
pRecurse
- boolean flag indicating if paths should be
processed recursivelypLastDeleted
- long timestamp specifying the last delete timeatg.repository.loader.LoaderException
atg.repository.loader.JobId delete(boolean pRecurse) throws atg.repository.loader.LoaderException
pRecurse
- boolean flag indicating if paths should be
processed recursivelyatg.repository.loader.LoaderException