@groovy.transform.CompileStatic class DbResourceReference extends BaseResourceReference
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
locationPrefix |
|
protected static org.slf4j.Logger |
logger |
Fields inherited from class | Fields |
---|---|
class BaseResourceReference |
ecf, logger |
class ResourceReference |
childOfResource |
Type | Name and description |
---|---|
java.lang.String |
location |
java.lang.String |
resourceId |
Constructor and description |
---|
DbResourceReference
() |
Type Params | Return Type | Name and description |
---|---|---|
|
ResourceReference |
createNew(java.lang.String location) |
|
boolean |
delete() |
|
java.lang.String |
findDirectoryId(java.util.List<java.lang.String> pathList, boolean create) |
|
Version |
getCurrentVersion() |
|
EntityValue |
getDbResource(boolean useCache) |
|
EntityValue |
getDbResourceFile() |
|
EntityValue |
getDbResourceFileHistory(java.lang.String versionName) |
|
java.lang.String |
getDbResourceId() |
|
java.util.List<ResourceReference> |
getDirectoryEntries() |
|
boolean |
getExists() |
|
long |
getLastModified() |
|
java.lang.String |
getLocation() |
|
java.util.ArrayList<Version> |
getNextVersions(java.lang.String versionName) |
|
java.io.OutputStream |
getOutputStream() |
|
java.lang.String |
getPath() |
|
Version |
getRootVersion() |
|
long |
getSize() |
|
java.lang.String |
getText() |
|
java.lang.String |
getText(java.lang.String versionName) |
|
java.net.URL |
getUrl() |
|
Version |
getVersion(java.lang.String versionName) |
|
java.util.ArrayList<Version> |
getVersionHistory() |
|
ResourceReference |
init(java.lang.String location, ExecutionContextFactoryImpl ecf) |
|
ResourceReference |
init(java.lang.String location, EntityValue dbResource, ExecutionContextFactoryImpl ecf) |
|
boolean |
isDirectory() |
|
boolean |
isFile() |
|
ResourceReference |
makeDirectory(java.lang.String name) |
|
ResourceReference |
makeFile(java.lang.String name) |
|
protected void |
makeNextVersion(EntityValue dbrf, java.lang.Object newFileObj) |
|
Version |
makeVersion(EntityValue dbrfHistory) |
|
void |
move(java.lang.String newLocation) |
|
java.io.InputStream |
openStream() |
|
java.io.InputStream |
openStream(java.lang.String versionName) |
|
protected void |
putObject(java.lang.Object fileObj) |
|
void |
putStream(java.io.InputStream stream) |
|
void |
putText(java.lang.String text) |
|
boolean |
supportsAll() |
|
boolean |
supportsDirectory() |
|
boolean |
supportsExists() |
|
boolean |
supportsLastModified() |
|
boolean |
supportsSize() |
|
boolean |
supportsUrl() |
|
boolean |
supportsVersion() |
|
boolean |
supportsWrite() |
Groovy Documentation