Interface IRepository
- All Superinterfaces:
IRepositoryExporter,IRepositoryImporter,IRepositoryReader,IRepositorySearch,IRepositoryWriter
public interface IRepository extends IRepositoryReader, IRepositoryWriter, IRepositoryImporter, IRepositoryExporter, IRepositorySearch
This interface represents a Repository. It allows for querying, modifying and
navigating through collections and resources.
-
Field Summary
Fields Modifier and Type Field Description static StringDIRIGIBLE_REPOSITORY_CACHE_ENABLEDThe Constant DIRIGIBLE_REPOSITORY_CACHE_ENABLED.static StringDIRIGIBLE_REPOSITORY_CACHE_SIZE_LIMIT_IN_MEGABYTESThe Constant DIRIGIBLE_REPOSITORY_CACHE_SIZE_LIMIT_IN_MEGABYTES.static StringDIRIGIBLE_REPOSITORY_CACHE_TIME_LIMIT_IN_MINUTESThe Constant DIRIGIBLE_REPOSITORY_CACHE_TIME_LIMIT_IN_MINUTES.static StringDIRIGIBLE_REPOSITORY_PROVIDERThe Constant DIRIGIBLE_REPOSITORY_PROVIDER.static StringDIRIGIBLE_REPOSITORY_PROVIDER_DATABASEThe Constant DIRIGIBLE_REPOSITORY_PROVIDER_DATABASE.static StringDIRIGIBLE_REPOSITORY_PROVIDER_LOCALThe Constant DIRIGIBLE_REPOSITORY_PROVIDER_LOCAL.static StringSEPARATORThe Constant SEPARATOR.static CharsetUTF8The Constant UTF8. -
Method Summary
Modifier and Type Method Description default StringgetInternalResourcePath(String resourcePath)Gets the internal resource path.longgetLastModified()Gets the most recent time when the repository gets changed.StringgetParameter(String key)Gets the internal named parameter value.default StringgetRepositoryPath()Gets the repository path.Methods inherited from interface org.eclipse.dirigible.repository.api.IRepositoryExporter
exportZip, exportZipMethods inherited from interface org.eclipse.dirigible.repository.api.IRepositoryImporter
importZip, importZip, importZip, importZip, importZip, importZipMethods inherited from interface org.eclipse.dirigible.repository.api.IRepositoryReader
getAllResourcePaths, getCollection, getResource, getRoot, hasCollection, hasResource, initializeMethods inherited from interface org.eclipse.dirigible.repository.api.IRepositorySearch
find, searchName, searchName, searchPath, searchRefresh, searchTextMethods inherited from interface org.eclipse.dirigible.repository.api.IRepositoryWriter
createCollection, createResource, createResource, createResource, createResource, deleteLinkedPath, dispose, isLinkedPath, isLinkingPathsSupported, linkPath, removeCollection, removeResource
-
Field Details
-
SEPARATOR
The Constant SEPARATOR.- See Also:
- Constant Field Values
-
UTF8
The Constant UTF8. -
DIRIGIBLE_REPOSITORY_PROVIDER
The Constant DIRIGIBLE_REPOSITORY_PROVIDER.- See Also:
- Constant Field Values
-
DIRIGIBLE_REPOSITORY_PROVIDER_LOCAL
The Constant DIRIGIBLE_REPOSITORY_PROVIDER_LOCAL.- See Also:
- Constant Field Values
-
DIRIGIBLE_REPOSITORY_PROVIDER_DATABASE
The Constant DIRIGIBLE_REPOSITORY_PROVIDER_DATABASE.- See Also:
- Constant Field Values
-
DIRIGIBLE_REPOSITORY_CACHE_ENABLED
The Constant DIRIGIBLE_REPOSITORY_CACHE_ENABLED.- See Also:
- Constant Field Values
-
DIRIGIBLE_REPOSITORY_CACHE_TIME_LIMIT_IN_MINUTES
The Constant DIRIGIBLE_REPOSITORY_CACHE_TIME_LIMIT_IN_MINUTES.- See Also:
- Constant Field Values
-
DIRIGIBLE_REPOSITORY_CACHE_SIZE_LIMIT_IN_MEGABYTES
The Constant DIRIGIBLE_REPOSITORY_CACHE_SIZE_LIMIT_IN_MEGABYTES.- See Also:
- Constant Field Values
-
-
Method Details
-
getParameter
Gets the internal named parameter value.- Parameters:
key- the key- Returns:
- the parameter
-
getLastModified
long getLastModified()Gets the most recent time when the repository gets changed.- Returns:
- the last modified
-
getInternalResourcePath
Gets the internal resource path.- Parameters:
resourcePath- the resource path- Returns:
- the internal resource path
-
getRepositoryPath
Gets the repository path.- Returns:
- the repository path
-