Interface IResourceExecutor
- All Superinterfaces:
IEngineExecutor
- All Known Implementing Classes:
AbstractResourceExecutor,AbstractScriptExecutor
public interface IResourceExecutor extends IEngineExecutor
The Resource Executor interface.
-
Method Summary
Modifier and Type Method Description StringcreateResourcePath(String root, String module)Creates the resource path.StringcreateResourcePath(String root, String module, String extension)Creates the resource path.booleanexistResource(String root, String module)Exist resource.booleanexistResource(String root, String module, String extension)Exist resource.ICollectiongetCollection(String root, String module)Gets the collection.IResourcegetResource(String root, String module)Gets the resource.IResourcegetResource(String root, String module, String extension)Gets the resource.byte[]getResourceContent(String root, String module)Gets the resource content.byte[]getResourceContent(String root, String module, String extension)Gets the resource content.
-
Method Details
-
getResourceContent
Gets the resource content.- Parameters:
root- the rootmodule- the module- Returns:
- the resource content
- Throws:
RepositoryException- the repository exception
-
getResourceContent
Gets the resource content.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- the resource content
- Throws:
RepositoryException- the repository exception
-
getCollection
Gets the collection.- Parameters:
root- the rootmodule- the module- Returns:
- the collection
- Throws:
RepositoryException- the repository exception
-
getResource
Gets the resource.- Parameters:
root- the rootmodule- the module- Returns:
- the resource
- Throws:
RepositoryException- the repository exception
-
getResource
Gets the resource.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- the resource
- Throws:
RepositoryException- the repository exception
-
existResource
Exist resource.- Parameters:
root- the rootmodule- the module- Returns:
- true, if successful
- Throws:
RepositoryException- the repository exception
-
existResource
Exist resource.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- true, if successful
- Throws:
RepositoryException- the repository exception
-
createResourcePath
Creates the resource path.- Parameters:
root- the rootmodule- the module- Returns:
- the string
-
createResourcePath
Creates the resource path.- Parameters:
root- the rootmodule- the moduleextension- the extension- Returns:
- the string
-