@ProviderType public class BaseRepositoryProxyBean extends RepositoryModelProxyBean implements BaseRepository
Constructor and Description |
---|
BaseRepositoryProxyBean(BaseRepository baseRepository,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext) |
FileEntry |
addFileEntry(long userId,
long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext) |
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
File file,
ServiceContext serviceContext)
Deprecated.
|
FileEntry |
addFileEntry(long folderId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated.
|
FileShortcut |
addFileShortcut(long userId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
Folder |
addFolder(long userId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext) |
Folder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
addFolder(long, long,
String, String, ServiceContext) |
FileVersion |
cancelCheckOut(long fileEntryId)
Cancels the file entry check out.
|
void |
checkInFileEntry(long fileEntryId,
boolean major,
String changeLog,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
checkInFileEntry(long, long,
boolean, String, ServiceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
boolean majorVersion,
String changeLog,
ServiceContext serviceContext) |
void |
checkInFileEntry(long userId,
long fileEntryId,
String lockUuid,
ServiceContext serviceContext) |
void |
checkInFileEntry(long fileEntryId,
String lockUuid,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
checkInFileEntry(long, long,
String, ServiceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
ServiceContext serviceContext) |
FileEntry |
checkOutFileEntry(long fileEntryId,
String owner,
long expirationTime,
ServiceContext serviceContext) |
FileEntry |
copyFileEntry(long userId,
long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext) |
FileEntry |
copyFileEntry(long groupId,
long fileEntryId,
long destFolderId,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
copyFileEntry(long, long,
long, long, ServiceContext) |
void |
deleteAll() |
void |
deleteFileEntry(long fileEntryId) |
void |
deleteFileEntry(long folderId,
String title) |
void |
deleteFileShortcut(long fileShortcutId) |
void |
deleteFileShortcuts(long toFileEntryId) |
void |
deleteFileVersion(long fileEntryId,
String version) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long parentFolderId,
String name) |
<T extends Capability> |
getCapability(Class<T> capabilityClass) |
List<FileEntry> |
getFileEntries(long folderId,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getFileEntries(long folderId,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getFileEntries(long folderId,
long documentTypeId,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getFileEntries(long folderId,
String[] mimeTypes,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<RepositoryEntry> |
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) |
FileEntry |
getFileEntry(long fileEntryId) |
FileEntry |
getFileEntry(long folderId,
String title) |
FileEntry |
getFileEntryByUuid(String uuid) |
FileShortcut |
getFileShortcut(long fileShortcutId) |
FileVersion |
getFileVersion(long fileVersionId) |
Folder |
getFolder(long folderId) |
Folder |
getFolder(long parentFolderId,
String name) |
List<Folder> |
getFolders(long parentFolderId,
boolean includeMountfolders,
int start,
int end,
OrderByComparator<Folder> obc) |
List<Folder> |
getFolders(long parentFolderId,
int status,
boolean includeMountfolders,
int start,
int end,
OrderByComparator<Folder> obc) |
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc) |
List<RepositoryEntry> |
getFoldersAndFileEntriesAndFileShortcuts(long folderId,
int status,
String[] mimeTypes,
boolean includeMountFolders,
int start,
int end,
OrderByComparator<?> obc) |
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) |
LocalRepository |
getLocalRepository() |
List<Folder> |
getMountFolders(long parentFolderId,
int start,
int end,
OrderByComparator<Folder> obc) |
int |
getMountFoldersCount(long parentFolderId) |
BaseRepository |
getProxyBean() |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
int start,
int end,
OrderByComparator<FileEntry> obc) |
List<FileEntry> |
getRepositoryFileEntries(long userId,
long rootFolderId,
String[] mimeTypes,
int status,
int start,
int end,
OrderByComparator<FileEntry> obc) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId) |
int |
getRepositoryFileEntriesCount(long userId,
long rootFolderId,
String[] mimeTypes,
int status) |
long |
getRepositoryId() |
void |
getSubfolderIds(List<Long> folderIds,
long folderId) |
List<Long> |
getSubfolderIds(long folderId,
boolean recurse) |
String[] |
getSupportedConfigurations()
Deprecated.
As of 7.0.0
|
String[][] |
getSupportedParameters()
Deprecated.
As of 7.0.0
|
void |
initRepository() |
<T extends Capability> |
isCapabilityProvided(Class<T> capabilityClass) |
Lock |
lockFolder(long folderId) |
Lock |
lockFolder(long folderId,
String owner,
boolean inheritable,
long expirationTime) |
FileEntry |
moveFileEntry(long userId,
long fileEntryId,
long newFolderId,
ServiceContext serviceContext) |
FileEntry |
moveFileEntry(long fileEntryId,
long newFolderId,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
moveFileEntry(long, long,
long, ServiceContext) |
Folder |
moveFolder(long userId,
long folderId,
long parentFolderId,
ServiceContext serviceContext) |
Folder |
moveFolder(long folderId,
long newParentFolderId,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
moveFolder(long, long, long,
ServiceContext) |
Lock |
refreshFileEntryLock(String lockUuid,
long companyId,
long expirationTime) |
Lock |
refreshFolderLock(String lockUuid,
long companyId,
long expirationTime) |
void |
revertFileEntry(long userId,
long fileEntryId,
String version,
ServiceContext serviceContext) |
void |
revertFileEntry(long fileEntryId,
String version,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
revertFileEntry(long, long,
String, ServiceContext) |
Hits |
search(long creatorUserId,
int status,
int start,
int end) |
Hits |
search(long creatorUserId,
long folderId,
String[] mimeTypes,
int status,
int start,
int end) |
Hits |
search(SearchContext searchContext) |
Hits |
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 typeSettingsProperties) |
void |
setUserLocalService(UserLocalService userLocalService) |
void |
unlockFolder(long folderId,
String lockUuid) |
void |
unlockFolder(long parentFolderId,
String name,
String lockUuid) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext) |
FileEntry |
updateFileEntry(long userId,
long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext) |
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
File file,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, replaced by
updateFileEntry(long, long,
String, String, String, String, String, boolean, File,
ServiceContext) |
FileEntry |
updateFileEntry(long fileEntryId,
String sourceFileName,
String mimeType,
String title,
String description,
String changeLog,
boolean majorVersion,
InputStream is,
long size,
ServiceContext serviceContext)
Deprecated.
|
FileShortcut |
updateFileShortcut(long userId,
long fileShortcutId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext) |
void |
updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId) |
Folder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
ServiceContext serviceContext) |
Folder |
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) |
newFileEntryProxyBean, newFileShortcutProxyBean, newFileVersionProxyBean, newFolderProxyBean, newLocalRepositoryProxyBean, newProxyBean, newProxyInstance, toFileEntryProxyBeans, toFileVersionProxyBeans, toFolderProxyBeans, toObjectProxyBeans
public BaseRepositoryProxyBean(BaseRepository baseRepository, ClassLoader classLoader)
public FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext) throws PortalException
addFileEntry
in interface DocumentRepository
PortalException
public FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext) throws PortalException
addFileEntry
in interface DocumentRepository
PortalException
@Deprecated public FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext) throws PortalException
addFileEntry(long, long, String,
String, String, String, String, File, ServiceContext)
addFileEntry
in interface Repository
PortalException
@Deprecated public FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext) throws PortalException
addFileEntry(long, long, String,
String, String, String, String, InputStream, long,
ServiceContext)
addFileEntry
in interface Repository
PortalException
public FileShortcut addFileShortcut(long userId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
addFileShortcut
in interface DocumentRepository
PortalException
public Folder addFolder(long userId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
addFolder
in interface DocumentRepository
PortalException
@Deprecated public Folder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
addFolder(long, long,
String, String, ServiceContext)
addFolder
in interface Repository
PortalException
public FileVersion cancelCheckOut(long fileEntryId) throws PortalException
Repository
cancelCheckOut
in interface Repository
fileEntryId
- the primary key of the file entry to cancel the check
outnull
if the file entry was not checked outPortalException
DocumentRepository.checkInFileEntry(long, long, boolean, String, ServiceContext)
,
Repository.checkOutFileEntry(long, ServiceContext)
@Deprecated public void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext) throws PortalException
checkInFileEntry(long, long,
boolean, String, ServiceContext)
checkInFileEntry
in interface Repository
PortalException
public void checkInFileEntry(long userId, long fileEntryId, boolean majorVersion, String changeLog, ServiceContext serviceContext) throws PortalException
checkInFileEntry
in interface DocumentRepository
PortalException
public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException
checkInFileEntry
in interface DocumentRepository
PortalException
@Deprecated public void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext) throws PortalException
checkInFileEntry(long, long,
String, ServiceContext)
checkInFileEntry
in interface Repository
PortalException
public FileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext) throws PortalException
checkOutFileEntry
in interface Repository
PortalException
public FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext) throws PortalException
checkOutFileEntry
in interface Repository
PortalException
public FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
copyFileEntry
in interface DocumentRepository
PortalException
@Deprecated public FileEntry copyFileEntry(long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext) throws PortalException
copyFileEntry(long, long,
long, long, ServiceContext)
copyFileEntry
in interface Repository
PortalException
public void deleteAll() throws PortalException
deleteAll
in interface DocumentRepository
PortalException
public void deleteFileEntry(long fileEntryId) throws PortalException
deleteFileEntry
in interface DocumentRepository
PortalException
public void deleteFileEntry(long folderId, String title) throws PortalException
deleteFileEntry
in interface Repository
PortalException
public void deleteFileShortcut(long fileShortcutId) throws PortalException
deleteFileShortcut
in interface DocumentRepository
PortalException
public void deleteFileShortcuts(long toFileEntryId) throws PortalException
deleteFileShortcuts
in interface DocumentRepository
PortalException
public void deleteFileVersion(long fileEntryId, String version) throws PortalException
deleteFileVersion
in interface Repository
PortalException
public void deleteFolder(long folderId) throws PortalException
deleteFolder
in interface DocumentRepository
PortalException
public void deleteFolder(long parentFolderId, String name) throws PortalException
deleteFolder
in interface Repository
PortalException
public <T extends Capability> T getCapability(Class<T> capabilityClass)
getCapability
in interface CapabilityProvider
public List<FileEntry> getFileEntries(long folderId, int status, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getFileEntries
in interface DocumentRepository
PortalException
public List<FileEntry> getFileEntries(long folderId, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getFileEntries
in interface DocumentRepository
PortalException
public List<FileEntry> getFileEntries(long folderId, long documentTypeId, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getFileEntries
in interface Repository
PortalException
public List<FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getFileEntries
in interface Repository
PortalException
public List<RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId, int status, int start, int end) throws PortalException
getFileEntriesAndFileShortcuts
in interface DocumentRepository
PortalException
public int getFileEntriesAndFileShortcutsCount(long folderId, int status) throws PortalException
getFileEntriesAndFileShortcutsCount
in interface DocumentRepository
PortalException
public int getFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes) throws PortalException
getFileEntriesAndFileShortcutsCount
in interface Repository
PortalException
public int getFileEntriesCount(long folderId) throws PortalException
getFileEntriesCount
in interface DocumentRepository
PortalException
public int getFileEntriesCount(long folderId, int status) throws PortalException
getFileEntriesCount
in interface DocumentRepository
PortalException
public int getFileEntriesCount(long folderId, long documentTypeId) throws PortalException
getFileEntriesCount
in interface Repository
PortalException
public int getFileEntriesCount(long folderId, String[] mimeTypes) throws PortalException
getFileEntriesCount
in interface Repository
PortalException
public FileEntry getFileEntry(long fileEntryId) throws PortalException
getFileEntry
in interface DocumentRepository
PortalException
public FileEntry getFileEntry(long folderId, String title) throws PortalException
getFileEntry
in interface DocumentRepository
PortalException
public FileEntry getFileEntryByUuid(String uuid) throws PortalException
getFileEntryByUuid
in interface DocumentRepository
PortalException
public FileShortcut getFileShortcut(long fileShortcutId) throws PortalException
getFileShortcut
in interface DocumentRepository
PortalException
public FileVersion getFileVersion(long fileVersionId) throws PortalException
getFileVersion
in interface DocumentRepository
PortalException
public Folder getFolder(long folderId) throws PortalException
getFolder
in interface DocumentRepository
PortalException
public Folder getFolder(long parentFolderId, String name) throws PortalException
getFolder
in interface DocumentRepository
PortalException
public List<Folder> getFolders(long parentFolderId, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> obc) throws PortalException
getFolders
in interface DocumentRepository
PortalException
public List<Folder> getFolders(long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> obc) throws PortalException
getFolders
in interface DocumentRepository
PortalException
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, boolean includeMountFolders, int start, int end, OrderByComparator<?> obc) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface DocumentRepository
PortalException
public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> obc) throws PortalException
getFoldersAndFileEntriesAndFileShortcuts
in interface Repository
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, boolean includeMountFolders) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface DocumentRepository
PortalException
public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes, boolean includeMountFolders) throws PortalException
getFoldersAndFileEntriesAndFileShortcutsCount
in interface Repository
PortalException
public int getFoldersCount(long parentFolderId, boolean includeMountfolders) throws PortalException
getFoldersCount
in interface DocumentRepository
PortalException
public int getFoldersCount(long parentFolderId, int status, boolean includeMountfolders) throws PortalException
getFoldersCount
in interface DocumentRepository
PortalException
public int getFoldersFileEntriesCount(List<Long> folderIds, int status) throws PortalException
getFoldersFileEntriesCount
in interface Repository
PortalException
public LocalRepository getLocalRepository()
getLocalRepository
in interface BaseRepository
public List<Folder> getMountFolders(long parentFolderId, int start, int end, OrderByComparator<Folder> obc) throws PortalException
getMountFolders
in interface Repository
PortalException
public int getMountFoldersCount(long parentFolderId) throws PortalException
getMountFoldersCount
in interface Repository
PortalException
public BaseRepository getProxyBean()
public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getRepositoryFileEntries
in interface DocumentRepository
PortalException
public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator<FileEntry> obc) throws PortalException
getRepositoryFileEntries
in interface Repository
PortalException
public int getRepositoryFileEntriesCount(long userId, long rootFolderId) throws PortalException
getRepositoryFileEntriesCount
in interface Repository
PortalException
public int getRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status) throws PortalException
getRepositoryFileEntriesCount
in interface Repository
PortalException
public long getRepositoryId()
getRepositoryId
in interface DocumentRepository
public void getSubfolderIds(List<Long> folderIds, long folderId) throws PortalException
getSubfolderIds
in interface Repository
PortalException
public List<Long> getSubfolderIds(long folderId, boolean recurse) throws PortalException
getSubfolderIds
in interface Repository
PortalException
@Deprecated public String[] getSupportedConfigurations()
getSupportedConfigurations
in interface BaseRepository
@Deprecated public String[][] getSupportedParameters()
getSupportedParameters
in interface BaseRepository
public void initRepository() throws PortalException
initRepository
in interface BaseRepository
PortalException
public <T extends Capability> boolean isCapabilityProvided(Class<T> capabilityClass)
isCapabilityProvided
in interface CapabilityProvider
public Lock lockFolder(long folderId) throws PortalException
lockFolder
in interface Repository
PortalException
public Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime) throws PortalException
lockFolder
in interface Repository
PortalException
public FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
moveFileEntry
in interface DocumentRepository
PortalException
@Deprecated public FileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext) throws PortalException
moveFileEntry(long, long,
long, ServiceContext)
moveFileEntry
in interface Repository
PortalException
public Folder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext) throws PortalException
moveFolder
in interface DocumentRepository
PortalException
@Deprecated public Folder moveFolder(long folderId, long newParentFolderId, ServiceContext serviceContext) throws PortalException
moveFolder(long, long, long,
ServiceContext)
moveFolder
in interface Repository
PortalException
public Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFileEntryLock
in interface Repository
PortalException
public Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime) throws PortalException
refreshFolderLock
in interface Repository
PortalException
public void revertFileEntry(long userId, long fileEntryId, String version, ServiceContext serviceContext) throws PortalException
revertFileEntry
in interface DocumentRepository
PortalException
@Deprecated public void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext) throws PortalException
revertFileEntry(long, long,
String, ServiceContext)
revertFileEntry
in interface Repository
PortalException
public Hits search(long creatorUserId, int status, int start, int end) throws PortalException
search
in interface Repository
PortalException
public Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end) throws PortalException
search
in interface Repository
PortalException
public Hits search(SearchContext searchContext) throws SearchException
search
in interface Repository
SearchException
public Hits search(SearchContext searchContext, Query query) throws SearchException
search
in interface Repository
SearchException
public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
setAssetEntryLocalService
in interface BaseRepository
public void setCompanyId(long companyId)
setCompanyId
in interface BaseRepository
public void setCompanyLocalService(CompanyLocalService companyLocalService)
setCompanyLocalService
in interface BaseRepository
public void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
setDLAppHelperLocalService
in interface BaseRepository
public void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
setDLFolderLocalService
in interface BaseRepository
public void setGroupId(long groupId)
setGroupId
in interface BaseRepository
public void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
setRepositoryEntryLocalService
in interface BaseRepository
public void setRepositoryId(long repositoryId)
setRepositoryId
in interface BaseRepository
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface BaseRepository
public void setUserLocalService(UserLocalService userLocalService)
setUserLocalService
in interface BaseRepository
public void unlockFolder(long folderId, String lockUuid) throws PortalException
unlockFolder
in interface Repository
PortalException
public void unlockFolder(long parentFolderId, String name, String lockUuid) throws PortalException
unlockFolder
in interface Repository
PortalException
public FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, File file, ServiceContext serviceContext) throws PortalException
updateFileEntry
in interface DocumentRepository
PortalException
public FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, ServiceContext serviceContext) throws PortalException
updateFileEntry
in interface DocumentRepository
PortalException
@Deprecated public FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, File file, ServiceContext serviceContext) throws PortalException
updateFileEntry(long, long,
String, String, String, String, String, boolean, File,
ServiceContext)
updateFileEntry
in interface Repository
PortalException
@Deprecated public FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, ServiceContext serviceContext) throws PortalException
updateFileEntry(long, long,
String, String, String, String, String, boolean, InputStream,
long, ServiceContext)
updateFileEntry
in interface Repository
PortalException
public FileShortcut updateFileShortcut(long userId, long fileShortcutId, long folderId, long toFileEntryId, ServiceContext serviceContext) throws PortalException
updateFileShortcut
in interface DocumentRepository
PortalException
public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId) throws PortalException
updateFileShortcuts
in interface DocumentRepository
PortalException
public Folder updateFolder(long folderId, long parentFolderId, String name, String description, ServiceContext serviceContext) throws PortalException
updateFolder
in interface DocumentRepository
PortalException
public Folder updateFolder(long folderId, String name, String description, ServiceContext serviceContext) throws PortalException
updateFolder
in interface Repository
PortalException
public boolean verifyFileEntryCheckOut(long fileEntryId, String lockUuid) throws PortalException
verifyFileEntryCheckOut
in interface Repository
PortalException
public boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException
verifyFileEntryLock
in interface Repository
PortalException
public boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException
verifyInheritableLock
in interface Repository
PortalException