BASE_PATH, SERVICE_NAME
Constructor and Description |
---|
DIMCMInfoImpl() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getFiles(javax.ws.rs.core.HttpHeaders h,
javax.ws.rs.core.UriInfo uriInfo,
java.lang.String projSpec,
java.lang.String directory,
boolean recursive,
boolean withFiles,
int level,
java.lang.String search,
int count,
int page,
boolean useCache)
Get the file/ directory listing.
|
public javax.ws.rs.core.Response getFiles(javax.ws.rs.core.HttpHeaders h, javax.ws.rs.core.UriInfo uriInfo, java.lang.String projSpec, java.lang.String directory, boolean recursive, boolean withFiles, int level, java.lang.String search, int count, int page, boolean useCache) throws org.apache.jcs.access.exception.CacheException
DIMCMInfo
getFiles
in interface DIMCMInfo
h
- the param http headersuriInfo
- request url infodirectory
- The directory to list.withFiles
- Whether or not to include files in the listing. Default is true.level
- Include subdirectories down to a given depth. Default is 1.search
- Additional "Glob search pattern" for the file/ directory name. I.e. '*.log'count
- How many items to return with one call. Default is 50.page
- Paging support. Default is 1.useCache
- whether or not to use cache. Defaults to true.org.apache.jcs.access.exception.CacheException