Interface IUnifiedRepository
-
public interface IUnifiedRepository
Entry point into the unified repository. The finest grained object that can be read and written to this repository is aRepositoryFile
.- Author:
- mlowery
-
-
Field Summary
Fields Modifier and Type Field Description static String
SYSTEM_FOLDER
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description boolean
canUnlockFile(Serializable fileId)
Returnstrue
if the current user can unlock the file.void
copyFile(Serializable fileId, String destAbsPath, String versionMessage)
Copies file.RepositoryFile
createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, String versionMessage)
Creates a file.RepositoryFile
createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, RepositoryFileAcl acl, String versionMessage)
Creates a file.RepositoryFile
createFolder(Serializable parFolderId, RepositoryFile file, String versionMessage)
Creates a folder.RepositoryFile
createFolder(Serializable parentFolderId, RepositoryFile file, RepositoryFileAcl acl, String versionMessage)
Creates a folder.void
deleteFile(Serializable fileId, boolean permanent, String versionMessage)
Deletes a file.void
deleteFile(Serializable fileId, String versionMessage)
Deletes a file in a recoverable manner.void
deleteFileAtVersion(Serializable fileId, Serializable versionId)
Permanently deletes a specific version of a file.void
deleteLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
RepositoryFileAcl
getAcl(Serializable fileId)
Returns ACL for file.default List<RepositoryFile>
getAllDeletedFiles()
Gets all deleted files.List<Locale>
getAvailableLocalesForFile(RepositoryFile repositoryFile)
List<Locale>
getAvailableLocalesForFileById(Serializable fileId)
List<Locale>
getAvailableLocalesForFileByPath(String relPath)
List<RepositoryFile>
getChildren(Serializable folderId)
Deprecated.List<RepositoryFile>
getChildren(Serializable folderId, String filter)
Deprecated.List<RepositoryFile>
getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
Deprecated.List<RepositoryFile>
getChildren(RepositoryRequest repositoryRequest)
Returns the children according to the specifications of the RepositoryRequest object<T extends IRepositoryFileData>
TgetDataAtVersionForExecute(Serializable fileId, Serializable versionId, Class<T> dataClass)
Gets data at given version for read.<T extends IRepositoryFileData>
TgetDataAtVersionForRead(Serializable fileId, Serializable versionId, Class<T> dataClass)
Gets data at given version for read.<T extends IRepositoryFileData>
TgetDataForExecute(Serializable fileId, Class<T> dataClass)
Gets data at base version for execute.<T extends IRepositoryFileData>
List<T>getDataForExecuteInBatch(List<RepositoryFile> files, Class<T> dataClass)
Gets the data for multipleRepositoryFile
s for execute.<T extends IRepositoryFileData>
TgetDataForRead(Serializable fileId, Class<T> dataClass)
Gets data at base version for read.<T extends IRepositoryFileData>
List<T>getDataForReadInBatch(List<RepositoryFile> files, Class<T> dataClass)
Gets the data for multipleRepositoryFile
s for read.List<RepositoryFile>
getDeletedFiles()
Gets all deleted files for the current user.List<RepositoryFile>
getDeletedFiles(String origParentFolderPath)
Gets all deleted files for the current user in this folder.List<RepositoryFile>
getDeletedFiles(String origParentFolderPath, String filter)
Gets all deleted files for the current user in this folder.List<RepositoryFileAce>
getEffectiveAces(Serializable fileId)
Returns the list of access control entries (ACEs) that will be used to make an access control decision.List<RepositoryFileAce>
getEffectiveAces(Serializable fileId, boolean forceEntriesInheriting)
Returns the list of access control entries (ACEs) that will be used to make an access control decision.RepositoryFile
getFile(String path)
Gets file.RepositoryFile
getFile(String path, boolean loadLocaleMaps)
Same asgetFile(String)
except that ifloadMaps
istrue
, the maps for localized strings will be loaded as well.RepositoryFile
getFile(String path, boolean loadLocaleMaps, IPentahoLocale locale)
Retrieves a file at its given versionRepositoryFile
getFile(String path, IPentahoLocale locale)
LikegetFile(String, boolean)
except that the maps which are pulled back are slimmed down to only contain the localized stringsRepositoryFile
getFileAtVersion(Serializable fileId, Serializable versionId)
Gets file as it was at the given version.RepositoryFile
getFileById(Serializable fileId)
Gets file.RepositoryFile
getFileById(Serializable fileId, boolean loadLocaleMaps)
Same asgetFile(String)
except that ifloadMaps
istrue
, the maps for localized strings will be loaded as well.RepositoryFile
getFileById(Serializable fileId, boolean loadLocaleMaps, IPentahoLocale locale)
Retrieves a file at its given version by its idRepositoryFile
getFileById(Serializable fileId, IPentahoLocale locale)
Same asgetFile(String, IPentahoLocale)
except that theSerializable
file id is requiredMap<String,Serializable>
getFileMetadata(Serializable fileId)
Gets a metadata for the given fileidProperties
getLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
Properties
getLocalePropertiesForFileById(Serializable fileId, String locale)
Properties
getLocalePropertiesForFileByPath(String relPath, String locale)
List<RepositoryFile>
getReferrers(Serializable fileId)
Get a list ofRepositoryFile
s that reference the RepositoryFile identified by fileId.List<Character>
getReservedChars()
Returns a list of characters which cannot be used in file/folder names.RepositoryFileTree
getTree(String path, int depth, String filter, boolean showHidden)
Deprecated.RepositoryFileTree
getTree(RepositoryRequest repositoryRequest)
Gets a tree rooted at path.List<VersionSummary>
getVersionSummaries(Serializable fileId)
Returns a list of version summary instances.VersionSummary
getVersionSummary(Serializable fileId, Serializable versionId)
Returns a version summary for the given file id and version id.List<VersionSummary>
getVersionSummaryInBatch(List<RepositoryFile> files)
Returns a version summary for everyRepositoryFile
provided.boolean
hasAccess(String path, EnumSet<RepositoryFilePermission> permissions)
Returnstrue
if user has all permissions given.void
lockFile(Serializable fileId, String message)
Locks a file.void
moveFile(Serializable fileId, String destAbsPath, String versionMessage)
Moves and/or renames file.void
restoreFileAtVersion(Serializable fileId, Serializable versionId, String versionMessage)
Makes a file, as it was at the given version, the latest version.void
setFileMetadata(Serializable fileId, Map<String,Serializable> metadataMap)
Sets a metadata object for the given fileidvoid
setLocalePropertiesForFile(RepositoryFile repoFile, String locale, Properties properties)
void
setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
void
setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
void
undeleteFile(Serializable fileId, String versionMessage)
Recovers a deleted file if it was not permanently deleted.void
unlockFile(Serializable fileId)
Unlocks a file.RepositoryFileAcl
updateAcl(RepositoryFileAcl acl)
Updates an ACL.RepositoryFile
updateFile(RepositoryFile file, IRepositoryFileData data, String versionMessage)
Updates a file and/or the data of a file.RepositoryFile
updateFolder(RepositoryFile folder, String versionMessage)
Updates a file and/or the data of a file.
-
-
-
Field Detail
-
SYSTEM_FOLDER
static final String SYSTEM_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFile
RepositoryFile getFile(String path)
Gets file. Use this method to test for file existence too.- Parameters:
path
- path to file- Returns:
- file or
null
if the file does not exist or access is denied
-
getTree
@Deprecated RepositoryFileTree getTree(String path, int depth, String filter, boolean showHidden)
Deprecated.- Parameters:
path
- path to filedepth
- 0 fetches just file at path; positive integer n fetches node at path plus n levels of children; negative integer fetches all childrenfilter
- filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of these; filter does not apply to root node. Filter segments can also filter the results to just Files or Folders by passing in one of the following: ( FILES | FOLDERS | [default] FILES_FOLDERS )showHidden
- is a boolean which identify whether to include the hidden files/folders in the list or not- Returns:
- file or
null
if the file does not exist or access is denied
-
getTree
RepositoryFileTree getTree(RepositoryRequest repositoryRequest)
Gets a tree rooted at path.- Parameters:
repositoryRequest
- Contains the information necessary to process the request. See theRepositoryRequest
class.- Returns:
- file or
null
if the file does not exist or access is denied
-
getFileAtVersion
RepositoryFile getFileAtVersion(Serializable fileId, Serializable versionId)
Gets file as it was at the given version.- Parameters:
fileId
- file idversionId
- version id- Returns:
- file at version
-
getFileById
RepositoryFile getFileById(Serializable fileId)
Gets file. Use this method to test for file existence too.- Parameters:
fileId
- file id- Returns:
- file or
null
if the file does not exist or access is denied
-
getFile
RepositoryFile getFile(String path, boolean loadLocaleMaps)
Same asgetFile(String)
except that ifloadMaps
istrue
, the maps for localized strings will be loaded as well. (Normally these are not loaded.) Usetrue
in editing tools that can show the maps for editing purposes.- Parameters:
path
- path to fileloadLocaleMaps
-true
to load localized string maps- Returns:
- file or
null
if the file does not exist or access is denied
-
getFileById
RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps)
Same asgetFile(String)
except that ifloadMaps
istrue
, the maps for localized strings will be loaded as well. (Normally these are not loaded.) Usetrue
in editing tools that can show the maps for editing purposes.- Parameters:
fileId
- file idloadLocaleMaps
-true
to load localized string maps- Returns:
- file or
null
if the file does not exist or access is denied
-
getFile
RepositoryFile getFile(String path, IPentahoLocale locale)
LikegetFile(String, boolean)
except that the maps which are pulled back are slimmed down to only contain the localized strings- Parameters:
path
-String
of the path to the filelocale
-IPentahoLocale
which the user wishes to have contained in the map- Returns:
RepositoryFile
-
getFileById
RepositoryFile getFileById(Serializable fileId, IPentahoLocale locale)
Same asgetFile(String, IPentahoLocale)
except that theSerializable
file id is required- Parameters:
fileId
-Serializable
file Id of the filelocale
-IPentahoLocale
which the user wishes to have contained in the map- Returns:
- file or
null
if the file does not exist or access is denied
-
getFile
RepositoryFile getFile(String path, boolean loadLocaleMaps, IPentahoLocale locale)
Retrieves a file at its given version- Parameters:
path
-String
full path to fileloadLocaleMaps
- boolean - to determine whether to load the locale maplocale
-IPentahoLocale
locale to retrieve forRepositoryFile
- Returns:
RepositoryFile
-
getFileById
RepositoryFile getFileById(Serializable fileId, boolean loadLocaleMaps, IPentahoLocale locale)
Retrieves a file at its given version by its id- Parameters:
fileId
-Serializable
file idloadLocaleMaps
- boolean - to determine whether to load the locale maplocale
-IPentahoLocale
locale to retrieve forRepositoryFile
- Returns:
- file or
null
if the file does not exist or access is denied
-
getDataForRead
<T extends IRepositoryFileData> T getDataForRead(Serializable fileId, Class<T> dataClass)
Gets data at base version for read.- Parameters:
fileId
- file iddataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
getDataAtVersionForRead
<T extends IRepositoryFileData> T getDataAtVersionForRead(Serializable fileId, Serializable versionId, Class<T> dataClass)
Gets data at given version for read.- Parameters:
fileId
- file idversionId
- version iddataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
getDataForExecute
<T extends IRepositoryFileData> T getDataForExecute(Serializable fileId, Class<T> dataClass)
Gets data at base version for execute.- Parameters:
fileId
- file iddataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
getDataAtVersionForExecute
<T extends IRepositoryFileData> T getDataAtVersionForExecute(Serializable fileId, Serializable versionId, Class<T> dataClass)
Gets data at given version for read.- Parameters:
fileId
- file idversionId
- version iddataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
getDataForReadInBatch
<T extends IRepositoryFileData> List<T> getDataForReadInBatch(List<RepositoryFile> files, Class<T> dataClass)
Gets the data for multipleRepositoryFile
s for read. EachRepositoryFile
may or may not contain a version number. If a version number is omitted it is assumed the latest data for theRepositoryFile
is being requested.- Type Parameters:
T
- Type ofIRepositoryFileData
- Parameters:
files
- Repository files to fetch data for. OnlyRepositoryFile.getId()
andRepositoryFile.getVersionId()
are used to identifyIRepositoryFileData
objects to return.dataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
getDataForExecuteInBatch
<T extends IRepositoryFileData> List<T> getDataForExecuteInBatch(List<RepositoryFile> files, Class<T> dataClass)
Gets the data for multipleRepositoryFile
s for execute. EachRepositoryFile
may or may not contain a version number. If a version number is omitted it is assumed the latest data for theRepositoryFile
is being requested.- Type Parameters:
T
- Type ofIRepositoryFileData
- Parameters:
files
- Repository files to fetch data for. OnlyRepositoryFile.getId()
andRepositoryFile.getVersionId()
are used to identifyIRepositoryFileData
objects to return.dataClass
- class that implementsIRepositoryFileData
- Returns:
- data
-
createFile
RepositoryFile createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, String versionMessage)
Creates a file.- Parameters:
parentFolderId
- parent folder idfile
- file to createdata
- file dataversionMessage
- optional version comment to be applied to parentFolder- Returns:
- file that is equal to given file except with id populated
-
createFile
RepositoryFile createFile(Serializable parentFolderId, RepositoryFile file, IRepositoryFileData data, RepositoryFileAcl acl, String versionMessage)
Creates a file.- Parameters:
parentFolderId
- parent folder idfile
- file to createdata
- file dataacl
- file aclversionMessage
- optional version comment to be applied to parentFolder- Returns:
- file that is equal to given file except with id populated
-
createFolder
RepositoryFile createFolder(Serializable parFolderId, RepositoryFile file, String versionMessage)
Creates a folder.- Parameters:
parFolderId
- parent folder idfile
- file to createversionMessage
- optional version comment to be applied to parentFolder- Returns:
- file that is equal to given file except with id populated
-
createFolder
RepositoryFile createFolder(Serializable parentFolderId, RepositoryFile file, RepositoryFileAcl acl, String versionMessage)
Creates a folder.- Parameters:
parentFolderId
- parent folder idfile
- file to createacl
- file aclversionMessage
- optional version comment to be applied to parentFolder- Returns:
- file that is equal to given file except with id populated
-
updateFolder
RepositoryFile updateFolder(RepositoryFile folder, String versionMessage)
Updates a file and/or the data of a file.- Parameters:
folder
- updated folder (not a file); must have non-null idversionMessage
- (optional) version comment- Returns:
- updated folder (possibly with new version number)
-
getChildren
@Deprecated List<RepositoryFile> getChildren(Serializable folderId)
Deprecated.- Parameters:
folderId
- id of folder whose children to fetch- Returns:
- list of children (never
null
)
-
getChildren
@Deprecated List<RepositoryFile> getChildren(Serializable folderId, String filter)
Deprecated.- Parameters:
folderId
- id of folder whose children to fetchfilter
- filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of these- Returns:
- list of children (never
null
)
-
getChildren
@Deprecated List<RepositoryFile> getChildren(Serializable folderId, String filter, Boolean showHiddenFiles)
Deprecated.- Parameters:
folderId
- id of folder whose children to fetchfilter
- filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of theseshowHiddenFiles
- flag determines whether to return the hidden files in he response or not- Returns:
- list of children (never
null
)
-
getChildren
List<RepositoryFile> getChildren(RepositoryRequest repositoryRequest)
Returns the children according to the specifications of the RepositoryRequest object- Parameters:
repositoryRequest
- See {@link RepositoryRequest) class- Returns:
- list of children (never
null
)
-
updateFile
RepositoryFile updateFile(RepositoryFile file, IRepositoryFileData data, String versionMessage)
Updates a file and/or the data of a file.- Parameters:
file
- updated file (not a folder); must have non-null iddata
- updated dataversionMessage
- (optional) version comment- Returns:
- updated file (possibly with new version number)
-
deleteFile
void deleteFile(Serializable fileId, boolean permanent, String versionMessage)
Deletes a file.- Parameters:
fileId
- file idpermanent
- iftrue
, once file is deleted, it cannot be undeletedversionMessage
- optional version comment
-
deleteFile
void deleteFile(Serializable fileId, String versionMessage)
Deletes a file in a recoverable manner.- Parameters:
fileId
- file idversionMessage
- optional version comment
-
moveFile
void moveFile(Serializable fileId, String destAbsPath, String versionMessage)
Moves and/or renames file. Folders are recursive. Throws exception on collision (merging does not occur).- Parameters:
fileId
- id of file or folder to move and/or renamedestAbsPath
- path to destination; if only moving then destAbsPath will be an existing folderversionMessage
- optional version comment to be applied to source and destination parent folders
-
copyFile
void copyFile(Serializable fileId, String destAbsPath, String versionMessage)
Copies file. Folders are recursive. Throws exception on collision (merging does not occur).- Parameters:
fileId
- id of file or folder to copydestAbsPath
- path to destination; if only copying (without name change) then destAbsPath will be an existing folderversionMessage
- optional version comment to be applied to destination parent folder
-
undeleteFile
void undeleteFile(Serializable fileId, String versionMessage)
Recovers a deleted file if it was not permanently deleted. File is recovered to its original folder.- Parameters:
fileId
- deleted file idversionMessage
- optional version comment to be applied to original parent folder
-
getDeletedFiles
List<RepositoryFile> getDeletedFiles(String origParentFolderPath)
Gets all deleted files for the current user in this folder.- Parameters:
origParentFolderPath
- path to original parent folder- Returns:
- list of deleted files
-
getDeletedFiles
List<RepositoryFile> getDeletedFiles(String origParentFolderPath, String filter)
Gets all deleted files for the current user in this folder.- Parameters:
origParentFolderPath
- path to original parent folderfilter
- filter may be a full name or a partial name with one or more wildcard characters ("*"), or a disjunction (using the "|" character to represent logical OR) of these- Returns:
- list of deleted files
-
getDeletedFiles
List<RepositoryFile> getDeletedFiles()
Gets all deleted files for the current user. This is the "recycle bin" view.- Returns:
- list of deleted files
-
getAllDeletedFiles
default List<RepositoryFile> getAllDeletedFiles()
Gets all deleted files. This is the "recycle bin" view.- Returns:
- list of deleted files
-
canUnlockFile
boolean canUnlockFile(Serializable fileId)
Returnstrue
if the current user can unlock the file. This might be a function of access control.- Parameters:
fileId
- file id- Returns:
true
if the current user can unlock the file
-
lockFile
void lockFile(Serializable fileId, String message)
Locks a file.- Parameters:
fileId
- file idlock
- message
-
unlockFile
void unlockFile(Serializable fileId)
Unlocks a file.- Parameters:
fileId
- file id
-
getAcl
RepositoryFileAcl getAcl(Serializable fileId)
Returns ACL for file.- Parameters:
fileId
- file id- Returns:
- access control list
-
updateAcl
RepositoryFileAcl updateAcl(RepositoryFileAcl acl)
Updates an ACL.- Parameters:
acl
- ACL to set; must have non-null id- Returns:
- updated ACL as it would be if calling
getAcl(Serializable)
-
hasAccess
boolean hasAccess(String path, EnumSet<RepositoryFilePermission> permissions)
Returnstrue
if user has all permissions given. Note thatfalse
is returned when the path does not exist.- Parameters:
path
- path to file or folderpermissions
- permissions to check- Returns:
true
if user has all permissions given
-
getEffectiveAces
List<RepositoryFileAce> getEffectiveAces(Serializable fileId)
Returns the list of access control entries (ACEs) that will be used to make an access control decision. This method is equivalent togetEffectiveAces(fileId, false)
.- Parameters:
fileId
- file id- Returns:
- list of ACEs
-
getEffectiveAces
List<RepositoryFileAce> getEffectiveAces(Serializable fileId, boolean forceEntriesInheriting)
Returns the list of access control entries (ACEs) that will be used to make an access control decision. This method is equivalent togetEffectiveAces(get_parent_id(fileId))
. Note thatget_parent_id
is not a real method.- Parameters:
fileId
- file idforceEntriesInheriting
-true
to treat ACL as ifisEntriesInheriting
was true; this avoids having the caller fetch the parent of ACL belonging to file withfileId
; no change is persisted to the ACL- Returns:
- list of ACEs
-
getVersionSummary
VersionSummary getVersionSummary(Serializable fileId, Serializable versionId)
Returns a version summary for the given file id and version id.- Parameters:
fileId
- file idversionId
- version id (ifnull
, returns the last version)- Returns:
- version summary
-
getVersionSummaryInBatch
List<VersionSummary> getVersionSummaryInBatch(List<RepositoryFile> files)
Returns a version summary for everyRepositoryFile
provided. EachRepositoryFile
may or may not contain a version number. If a version number is omitted it is assumed the latest version for theRepositoryFile
is being requested.- Parameters:
files
- Repository files to fetch version summaries for. OnlyRepositoryFile.getId()
andRepositoryFile.getVersionId()
are used to identifyVersionSummary
objects to return.- Returns:
- version summary for every file provided
-
getVersionSummaries
List<VersionSummary> getVersionSummaries(Serializable fileId)
Returns a list of version summary instances. The first version in the list is the root version. The last version in the list is the base version. Branching and merging are not supported so this is a simple list.- Parameters:
fileId
- file id- Returns:
- list of version summaries (never
null
)
-
deleteFileAtVersion
void deleteFileAtVersion(Serializable fileId, Serializable versionId)
Permanently deletes a specific version of a file. The version is removed from the version history of the given file.- Parameters:
fileId
- file idversionId
- version id (MUST not be null)
-
restoreFileAtVersion
void restoreFileAtVersion(Serializable fileId, Serializable versionId, String versionMessage)
Makes a file, as it was at the given version, the latest version. Result should be the same as if the user had calledupdateFile(RepositoryFile, IRepositoryFileData, String)
with a file and data that matched the state of the file and data at the given version.- Parameters:
fileId
- file idversionId
- version idversionMessage
- optional version comment
-
getReferrers
List<RepositoryFile> getReferrers(Serializable fileId)
Get a list ofRepositoryFile
s that reference the RepositoryFile identified by fileId.- Parameters:
fileId
- file id- Returns:
- list of repository files that reference the fileId repository file
-
setFileMetadata
void setFileMetadata(Serializable fileId, Map<String,Serializable> metadataMap)
Sets a metadata object for the given fileid- Parameters:
fileId
- file idmetadataMap
- Map of properties to apply to this file.
-
getFileMetadata
Map<String,Serializable> getFileMetadata(Serializable fileId)
Gets a metadata for the given fileid- Parameters:
fileId
- file id- Returns:
- Map
of all the metadata for this file
-
getReservedChars
List<Character> getReservedChars()
Returns a list of characters which cannot be used in file/folder names. These characters must be escaped using percent-encoding. Callers may safely cache this value. Note that it is the responsibility of the implementation to guard against illegal permutations of non-reserved characters.A percent-encoded octet is encoded as a character triplet, consisting of the percent character "%" followed by the two hexadecimal digits representing that octet's numeric value. For example, "%20" is the percent-encoding for the binary octet "00100000" (ABNF: %x20), which in US-ASCII corresponds to the space character (SP).
- Returns:
- list of reserved characters
-
getAvailableLocalesForFileById
List<Locale> getAvailableLocalesForFileById(Serializable fileId)
-
getAvailableLocalesForFile
List<Locale> getAvailableLocalesForFile(RepositoryFile repositoryFile)
-
getLocalePropertiesForFileById
Properties getLocalePropertiesForFileById(Serializable fileId, String locale)
-
getLocalePropertiesForFileByPath
Properties getLocalePropertiesForFileByPath(String relPath, String locale)
-
getLocalePropertiesForFile
Properties getLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
-
setLocalePropertiesForFileById
void setLocalePropertiesForFileById(Serializable fileId, String locale, Properties properties)
-
setLocalePropertiesForFileByPath
void setLocalePropertiesForFileByPath(String relPath, String locale, Properties properties)
-
setLocalePropertiesForFile
void setLocalePropertiesForFile(RepositoryFile repoFile, String locale, Properties properties)
-
deleteLocalePropertiesForFile
void deleteLocalePropertiesForFile(RepositoryFile repositoryFile, String locale)
-
-