Java com.liferay.portal.kernel.repository Repository fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.repository Repository fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.repository Repository.

The text is from its open source code.

Implementation

com.liferay.portal.kernel.repository.Repository has the following implementations.
Click this link to see all its implementation.

Method

FileEntryaddFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext)
FileVersioncancelCheckOut(long fileEntryId)
Cancels the file entry check out.
voidcheckInFileEntry(long userId, long fileEntryId, String lockUuid, ServiceContext serviceContext)
voiddeleteFileEntry(long fileEntryId)
voiddeleteFileEntry(long folderId, String title)
voiddeleteFolder(long folderId)
voiddeleteFolder(long parentFolderId, String name)
TgetCapability(Class capabilityClass)
ListgetFileEntries(long folderId, int start, int end, OrderByComparator obc)
ListgetFileEntries(long folderId, long fileEntryTypeId, int start, int end, OrderByComparator obc)
ListgetFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator obc)
ListgetFileEntriesAndFileShortcuts(long folderId, int status, int start, int end)
intgetFileEntriesAndFileShortcutsCount(long folderId, int status)
intgetFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes)
intgetFileEntriesCount(long folderId)
intgetFileEntriesCount(long folderId, long fileEntryTypeId)
intgetFileEntriesCount(long folderId, String[] mimeTypes)
FileEntrygetFileEntry(long fileEntryId)
FileEntrygetFileEntry(long folderId, String title)
FileEntrygetFileEntryByUuid(String uuid)
FileShortcutgetFileShortcut(long fileShortcutId)
FoldergetFolder(long folderId)
FoldergetFolder(long parentFolderId, String name)
ListgetFolders(long parentFolderId, boolean includeMountFolders, int start, int end, OrderByComparator obc)
ListgetFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
intgetFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes, boolean includeMountFolders)
intgetFoldersCount(long parentFolderId, boolean includeMountfolders)
intgetFoldersFileEntriesCount(List folderIds, int status)
ListgetMountFolders(long parentFolderId, int start, int end, OrderByComparator obc)
intgetMountFoldersCount(long parentFolderId)
ListgetRepositoryFileEntries(long userId, long rootFolderId, int start, int end, OrderByComparator obc)
ListgetRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, OrderByComparator obc)
intgetRepositoryFileEntriesCount(long userId, long rootFolderId)
intgetRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status)
longgetRepositoryId()
voidgetSubfolderIds(List folderIds, long folderId)
ListgetSubfolderIds(long folderId, boolean recurse)
booleanisCapabilityProvided(Class capabilityClass)
LocklockFolder(long folderId)
LocklockFolder(long folderId, String owner, boolean inheritable, long expirationTime)
Hitssearch(SearchContext searchContext)
Hitssearch(SearchContext searchContext, Query query)
voidunlockFolder(long folderId, String lockUuid)
voidunlockFolder(long parentFolderId, String name, String lockUuid)
FileEntryupdateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, DLVersionNumberIncrease dlVersionNumberIncrease, File file, ServiceContext serviceContext)
FolderupdateFolder(long folderId, String name, String description, ServiceContext serviceContext)
booleanverifyFileEntryCheckOut(long fileEntryId, String lockUuid)
booleanverifyFileEntryLock(long fileEntryId, String lockUuid)
booleanverifyInheritableLock(long folderId, String lockUuid)