Class BaseRepositoryProxyBean
Object
com.liferay.portal.kernel.repository.proxy.RepositoryModelProxyBean
com.liferay.portal.kernel.repository.proxy.BaseRepositoryProxyBean
- All Implemented Interfaces:
BaseRepository
,CapabilityProvider
,DocumentRepository
,Repository
- Author:
- Mika Koivisto
-
Constructor Summary
ConstructorsConstructorDescriptionBaseRepositoryProxyBean
(BaseRepository baseRepository, ClassLoader classLoader) -
Method Summary
Modifier and TypeMethodDescriptionaddFileEntry
(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, File file, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) addFileEntry
(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) addFileShortcut
(String externalReferenceCode, long userId, long folderId, long toFileEntryId, ServiceContext serviceContext) addFolder
(String externalReferenceCode, long userId, long parentFolderId, String name, String description, ServiceContext serviceContext) cancelCheckOut
(long fileEntryId) Cancels the file entry check out.void
checkInFileEntry
(long userId, long fileEntryId, DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, ServiceContext serviceContext) void
checkInFileEntry
(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext) checkOutFileEntry
(long fileEntryId, ServiceContext serviceContext) checkOutFileEntry
(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) copyFileEntry
(long userId, long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) void
void
deleteFileEntry
(long fileEntryId) void
deleteFileEntry
(long folderId, String title) void
deleteFileShortcut
(long fileShortcutId) void
deleteFileShortcuts
(long toFileEntryId) void
deleteFileVersion
(long fileVersionId) void
deleteFileVersion
(long fileEntryId, String version) void
deleteFolder
(long folderId) void
deleteFolder
(long parentFolderId, String name) fetchFileEntry
(long folderId, String title) <T extends Capability>
TgetCapability
(Class<T> capabilityClass) getFileEntries
(long folderId, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) getFileEntries
(long folderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) getFileEntries
(long folderId, long documentTypeId, int start, int end, OrderByComparator<FileEntry> orderByComparator) getFileEntries
(long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) getFileEntries
(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<FileEntry> orderByComparator) getFileEntriesAndFileShortcuts
(long folderId, int status, int start, int end) int
getFileEntriesAndFileShortcutsCount
(long folderId, int status) int
getFileEntriesAndFileShortcutsCount
(long folderId, int status, String[] mimeTypes) int
getFileEntriesCount
(long folderId) int
getFileEntriesCount
(long folderId, int status) int
getFileEntriesCount
(long folderId, long documentTypeId) int
getFileEntriesCount
(long folderId, String[] mimeTypes) int
getFileEntriesCount
(long folderId, String[] mimeTypes, int status) getFileEntry
(long fileEntryId) getFileEntry
(long folderId, String title) getFileEntryByFileName
(long folderId, String fileName) getFileEntryByUuid
(String uuid) getFileShortcut
(long fileShortcutId) getFileVersion
(long fileVersionId) getFolder
(long folderId) getFolders
(long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> orderByComparator) getFolders
(long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> orderByComparator) getFoldersAndFileEntriesAndFileShortcuts
(long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) getFoldersAndFileEntriesAndFileShortcuts
(long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) int
getFoldersAndFileEntriesAndFileShortcutsCount
(long folderId, int status, boolean includeMountFolders) int
getFoldersAndFileEntriesAndFileShortcutsCount
(long folderId, int status, String[] mimeTypes, boolean includeMountFolders) int
getFoldersCount
(long parentFolderId, boolean includeMountfolders) int
getFoldersCount
(long parentFolderId, int status, boolean includeMountfolders) int
getFoldersFileEntriesCount
(List<Long> folderIds, int status) getMountFolders
(long parentFolderId, int start, int end, OrderByComparator<Folder> orderByComparator) int
getMountFoldersCount
(long parentFolderId) getRepositoryFileEntries
(long userId, long rootFolderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) getRepositoryFileEntries
(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) int
getRepositoryFileEntriesCount
(long userId, long rootFolderId) int
getRepositoryFileEntriesCount
(long userId, long rootFolderId, String[] mimeTypes, int status) getRepositoryFileShortcuts
(long groupId) long
getSubfolderIds
(long folderId, boolean recurse) void
getSubfolderIds
(List<Long> folderIds, long folderId) String[][]
Deprecated.As of Wilberforce (7.0.x)void
<T extends Capability>
booleanisCapabilityProvided
(Class<T> capabilityClass) lockFolder
(long folderId) lockFolder
(long folderId, String owner, boolean inheritable, long expirationTime) moveFileEntry
(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) moveFolder
(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) refreshFileEntryLock
(String lockUuid, long companyId, long expirationTime) refreshFolderLock
(String lockUuid, long companyId, long expirationTime) void
revertFileEntry
(long userId, long fileEntryId, String version, ServiceContext serviceContext) search
(long creatorUserId, int status, int start, int end) search
(SearchContext searchContext) search
(SearchContext searchContext, Query query) void
setAssetEntryLocalService
(AssetEntryLocalService assetEntryLocalService) void
setCompanyId
(long companyId) void
setCompanyLocalService
(CompanyLocalService companyLocalService) void
setDLAppHelperLocalService
(DLAppHelperLocalService dlAppHelperLocalService) void
setDLFolderLocalService
(DLFolderLocalService dlFolderLocalService) void
setGroupId
(long groupId) void
setRepositoryEntryLocalService
(RepositoryEntryLocalService repositoryEntryLocalService) void
setRepositoryId
(long repositoryId) void
setTypeSettingsProperties
(UnicodeProperties typeSettingsUnicodeProperties) void
setUserLocalService
(UserLocalService userLocalService) void
unlockFolder
(long folderId, String lockUuid) void
unlockFolder
(long parentFolderId, String name, String lockUuid) updateFileEntry
(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) updateFileEntry
(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) updateFileShortcut
(long userId, long fileShortcutId, long folderId, long toFileEntryId, ServiceContext serviceContext) void
updateFileShortcuts
(long oldToFileEntryId, long newToFileEntryId) updateFolder
(long folderId, long parentFolderId, String name, String description, ServiceContext serviceContext) updateFolder
(long folderId, String name, String description, ServiceContext serviceContext) boolean
verifyFileEntryCheckOut
(long fileEntryId, String lockUuid) boolean
verifyFileEntryLock
(long fileEntryId, String lockUuid) boolean
verifyInheritableLock
(long folderId, String lockUuid) Methods inherited from class com.liferay.portal.kernel.repository.proxy.RepositoryModelProxyBean
newFileEntryProxyBean, newFileShortcutProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeans
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.repository.DocumentRepository
fetchFileEntryByExternalReferenceCode, fetchFileShortcut, fetchFileShortcutByExternalReferenceCode, fetchFolderByExternalReferenceCode, getFileEntryByExternalReferenceCode, getFileShortcutByExternalReferenceCode, getFolderByExternalReferenceCode
Methods inherited from interface com.liferay.portal.kernel.repository.Repository
getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount
-
Constructor Details
-
BaseRepositoryProxyBean
-
-
Method Details
-
addFileEntry
public FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, File file, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException - Specified by:
addFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
addFileEntry
public FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException - Specified by:
addFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
addFileShortcut
public FileShortcut addFileShortcut(String externalReferenceCode, long userId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
addFileShortcut
in interfaceDocumentRepository
- Throws:
PortalException
-
addFolder
public Folder addFolder(String externalReferenceCode, long userId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
addFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
cancelCheckOut
Description copied from interface:Repository
Cancels the file entry check out. If the file entry is not checked out, invoking this method results in no changes.- Specified by:
cancelCheckOut
in interfaceRepository
- Parameters:
fileEntryId
- the primary key of the file entry to cancel the check out- Returns:
- the file entry if the cancel checkout operation was successful;
null
if the file entry was not checked out - Throws:
PortalException
- See Also:
-
checkInFileEntry
public void checkInFileEntry(long userId, long fileEntryId, DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, ServiceContext serviceContext) throws PortalException - Specified by:
checkInFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
checkInFileEntry
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException - Specified by:
checkInFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
checkOutFileEntry
public FileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
checkOutFileEntry
in interfaceRepository
- Throws:
PortalException
-
checkOutFileEntry
public FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException - Specified by:
checkOutFileEntry
in interfaceRepository
- Throws:
PortalException
-
copyFileEntry
public FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
copyFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteAll
- Specified by:
deleteAll
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFileEntry
- Specified by:
deleteFileEntry
in interfaceRepository
- Throws:
PortalException
-
deleteFileShortcut
- Specified by:
deleteFileShortcut
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFileShortcuts
- Specified by:
deleteFileShortcuts
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFileVersion
- Specified by:
deleteFileVersion
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFileVersion
- Specified by:
deleteFileVersion
in interfaceRepository
- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
deleteFolder
- Specified by:
deleteFolder
in interfaceRepository
- Throws:
PortalException
-
fetchFileEntry
- Specified by:
fetchFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
getCapability
- Specified by:
getCapability
in interfaceCapabilityProvider
-
getFileEntries
public List<FileEntry> getFileEntries(long folderId, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntries
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntries
public List<FileEntry> getFileEntries(long folderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntries
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntries
public List<FileEntry> getFileEntries(long folderId, long documentTypeId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntries
in interfaceRepository
- Throws:
PortalException
-
getFileEntries
public List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntries
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntries
public List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getFileEntries
in interfaceRepository
- Throws:
PortalException
-
getFileEntriesAndFileShortcuts
public List<RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId, int status, int start, int end) throws PortalException - Specified by:
getFileEntriesAndFileShortcuts
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntriesAndFileShortcutsCount
- Specified by:
getFileEntriesAndFileShortcutsCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes) throws PortalException - Specified by:
getFileEntriesAndFileShortcutsCount
in interfaceRepository
- Throws:
PortalException
-
getFileEntriesCount
- Specified by:
getFileEntriesCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntriesCount
- Specified by:
getFileEntriesCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntriesCount
- Specified by:
getFileEntriesCount
in interfaceRepository
- Throws:
PortalException
-
getFileEntriesCount
- Specified by:
getFileEntriesCount
in interfaceRepository
- Throws:
PortalException
-
getFileEntriesCount
public int getFileEntriesCount(long folderId, String[] mimeTypes, int status) throws PortalException - Specified by:
getFileEntriesCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntry
- Specified by:
getFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntry
- Specified by:
getFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntryByFileName
- Specified by:
getFileEntryByFileName
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileEntryByUuid
- Specified by:
getFileEntryByUuid
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileShortcut
- Specified by:
getFileShortcut
in interfaceDocumentRepository
- Throws:
PortalException
-
getFileVersion
- Specified by:
getFileVersion
in interfaceDocumentRepository
- Throws:
PortalException
-
getFolder
- Specified by:
getFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
getFolder
- Specified by:
getFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
getFolders
public List<Folder> getFolders(long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException - Specified by:
getFolders
in interfaceDocumentRepository
- Throws:
PortalException
-
getFolders
public List<Folder> getFolders(long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException - Specified by:
getFolders
in interfaceDocumentRepository
- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcuts
in interfaceDocumentRepository
- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcuts
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> orderByComparator) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcuts
in interfaceRepository
- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, boolean includeMountFolders) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFoldersAndFileEntriesAndFileShortcutsCount
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException - Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount
in interfaceRepository
- Throws:
PortalException
-
getFoldersCount
- Specified by:
getFoldersCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFoldersCount
public int getFoldersCount(long parentFolderId, int status, boolean includeMountfolders) throws PortalException - Specified by:
getFoldersCount
in interfaceDocumentRepository
- Throws:
PortalException
-
getFoldersFileEntriesCount
- Specified by:
getFoldersFileEntriesCount
in interfaceRepository
- Throws:
PortalException
-
getLocalRepository
- Specified by:
getLocalRepository
in interfaceBaseRepository
-
getMountFolders
public List<Folder> getMountFolders(long parentFolderId, int start, int end, OrderByComparator<Folder> orderByComparator) throws PortalException - Specified by:
getMountFolders
in interfaceRepository
- Throws:
PortalException
-
getMountFoldersCount
- Specified by:
getMountFoldersCount
in interfaceRepository
- Throws:
PortalException
-
getProxyBean
-
getRepositoryFileEntries
public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getRepositoryFileEntries
in interfaceDocumentRepository
- Throws:
PortalException
-
getRepositoryFileEntries
public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> orderByComparator) throws PortalException - Specified by:
getRepositoryFileEntries
in interfaceRepository
- Throws:
PortalException
-
getRepositoryFileEntriesCount
- Specified by:
getRepositoryFileEntriesCount
in interfaceRepository
- Throws:
PortalException
-
getRepositoryFileEntriesCount
public int getRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status) throws PortalException - Specified by:
getRepositoryFileEntriesCount
in interfaceRepository
- Throws:
PortalException
-
getRepositoryFileShortcuts
- Specified by:
getRepositoryFileShortcuts
in interfaceRepository
- Throws:
PortalException
-
getRepositoryId
public long getRepositoryId()- Specified by:
getRepositoryId
in interfaceDocumentRepository
-
getSubfolderIds
- Specified by:
getSubfolderIds
in interfaceRepository
- Throws:
PortalException
-
getSubfolderIds
- Specified by:
getSubfolderIds
in interfaceRepository
- Throws:
PortalException
-
getSupportedParameters
Deprecated.As of Wilberforce (7.0.x)- Specified by:
getSupportedParameters
in interfaceBaseRepository
-
initRepository
- Specified by:
initRepository
in interfaceBaseRepository
- Throws:
PortalException
-
isCapabilityProvided
- Specified by:
isCapabilityProvided
in interfaceCapabilityProvider
-
lockFolder
- Specified by:
lockFolder
in interfaceRepository
- Throws:
PortalException
-
lockFolder
public Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException - Specified by:
lockFolder
in interfaceRepository
- Throws:
PortalException
-
moveFileEntry
public FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
moveFolder
public Folder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException - Specified by:
moveFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
refreshFileEntryLock
public Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException - Specified by:
refreshFileEntryLock
in interfaceRepository
- Throws:
PortalException
-
refreshFolderLock
public Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException - Specified by:
refreshFolderLock
in interfaceRepository
- Throws:
PortalException
-
revertFileEntry
public void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext) throws PortalException - Specified by:
revertFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
search
- Specified by:
search
in interfaceRepository
- Throws:
PortalException
-
search
public Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException - Specified by:
search
in interfaceRepository
- Throws:
PortalException
-
search
- Specified by:
search
in interfaceRepository
- Throws:
SearchException
-
search
- Specified by:
search
in interfaceRepository
- Throws:
SearchException
-
setAssetEntryLocalService
- Specified by:
setAssetEntryLocalService
in interfaceBaseRepository
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfaceBaseRepository
-
setCompanyLocalService
- Specified by:
setCompanyLocalService
in interfaceBaseRepository
-
setDLAppHelperLocalService
- Specified by:
setDLAppHelperLocalService
in interfaceBaseRepository
-
setDLFolderLocalService
- Specified by:
setDLFolderLocalService
in interfaceBaseRepository
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfaceBaseRepository
-
setRepositoryEntryLocalService
- Specified by:
setRepositoryEntryLocalService
in interfaceBaseRepository
-
setRepositoryId
public void setRepositoryId(long repositoryId) - Specified by:
setRepositoryId
in interfaceBaseRepository
-
setTypeSettingsProperties
- Specified by:
setTypeSettingsProperties
in interfaceBaseRepository
-
setUserLocalService
- Specified by:
setUserLocalService
in interfaceBaseRepository
-
unlockFolder
- Specified by:
unlockFolder
in interfaceRepository
- Throws:
PortalException
-
unlockFolder
- Specified by:
unlockFolder
in interfaceRepository
- Throws:
PortalException
-
updateFileEntry
public FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
updateFileEntry
public FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileEntry
in interfaceDocumentRepository
- Throws:
PortalException
-
updateFileShortcut
public FileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException - Specified by:
updateFileShortcut
in interfaceDocumentRepository
- Throws:
PortalException
-
updateFileShortcuts
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws PortalException - Specified by:
updateFileShortcuts
in interfaceDocumentRepository
- Throws:
PortalException
-
updateFolder
public Folder updateFolder(long folderId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolder
in interfaceDocumentRepository
- Throws:
PortalException
-
updateFolder
public Folder updateFolder(long folderId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
updateFolder
in interfaceRepository
- Throws:
PortalException
-
verifyFileEntryCheckOut
- Specified by:
verifyFileEntryCheckOut
in interfaceRepository
- Throws:
PortalException
-
verifyFileEntryLock
- Specified by:
verifyFileEntryLock
in interfaceRepository
- Throws:
PortalException
-
verifyInheritableLock
- Specified by:
verifyInheritableLock
in interfaceRepository
- Throws:
PortalException
-