Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.repository
Class InitializedRepository

java.lang.Object
  extended by com.liferay.portal.repository.InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
      extended by com.liferay.portal.repository.InitializedRepository
All Implemented Interfaces:
com.liferay.portal.kernel.repository.capabilities.CapabilityProvider, com.liferay.portal.kernel.repository.DocumentRepository, com.liferay.portal.kernel.repository.Repository

public class InitializedRepository
extends InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
implements com.liferay.portal.kernel.repository.Repository


Field Summary
 
Fields inherited from class com.liferay.portal.repository.InitializedDocumentRepository
documentRepository
 
Constructor Summary
InitializedRepository()
           
 
Method Summary
 com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.Folder addFolder(long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.FileVersion cancelCheckOut(long fileEntryId)
           
 void checkInFileEntry(long fileEntryId, boolean major, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 void checkInFileEntry(long fileEntryId, String lockUuid)
          Deprecated. 
 void checkInFileEntry(long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 com.liferay.portal.kernel.repository.model.FileEntry copyFileEntry(long groupId, long fileEntryId, long destFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 void deleteFileEntry(long folderId, String title)
           
 void deleteFileVersion(long fileEntryId, String version)
           
 void deleteFolder(long parentFolderId, String name)
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId, String[] mimeTypes, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
           
 List<com.liferay.portal.kernel.repository.model.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, long fileEntryTypeId)
           
 int getFileEntriesCount(long folderId, String[] mimeTypes)
           
 List<com.liferay.portal.kernel.repository.model.Folder> getFolders(long parentFolderId, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
           
 List<com.liferay.portal.kernel.repository.model.Folder> getFolders(long parentFolderId, int status, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
           
 List<com.liferay.portal.kernel.repository.model.RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> obc)
           
 List<com.liferay.portal.kernel.repository.model.RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status, String[] mimetypes, boolean includeMountFolders, int start, int end, com.liferay.portal.kernel.util.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)
           
 List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(long parentFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
           
 int getMountFoldersCount(long parentFolderId)
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
           
 int getRepositoryFileEntriesCount(long userId, long rootFolderId)
           
 int getRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status)
           
 void getSubfolderIds(List<Long> folderIds, long folderId)
           
 List<Long> getSubfolderIds(long folderId, boolean recurse)
           
 com.liferay.portal.kernel.lock.Lock lockFolder(long folderId)
           
 com.liferay.portal.kernel.lock.Lock lockFolder(long folderId, String owner, boolean inheritable, long expirationTime)
           
 com.liferay.portal.kernel.repository.model.FileEntry moveFileEntry(long fileEntryId, long newFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.Folder moveFolder(long folderId, long newParentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(String lockUuid, long companyId, long expirationTime)
           
 com.liferay.portal.kernel.lock.Lock refreshFolderLock(String lockUuid, long companyId, long expirationTime)
           
 void revertFileEntry(long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.search.Hits search(long creatorUserId, int status, int start, int end)
           
 com.liferay.portal.kernel.search.Hits search(long creatorUserId, long folderId, String[] mimeTypes, int status, int start, int end)
           
 com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
           
 com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext, com.liferay.portal.kernel.search.Query query)
           
 void unlockFolder(long folderId, String lockUuid)
           
 void unlockFolder(long parentFolderId, String name, String lockUuid)
           
 com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, File file, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, com.liferay.portal.kernel.service.ServiceContext serviceContext)
          Deprecated. 
 com.liferay.portal.kernel.repository.model.Folder updateFolder(long folderId, String name, String description, com.liferay.portal.kernel.service.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.repository.InitializedDocumentRepository
addFileEntry, addFileEntry, addFileShortcut, addFolder, checkDocumentRepository, checkInFileEntry, checkInFileEntry, copyFileEntry, deleteAll, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, getCapability, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getRepositoryFileEntries, getRepositoryId, isCapabilityProvided, moveFileEntry, moveFolder, revertFileEntry, setDocumentRepository, updateFileEntry, updateFileEntry, updateFileShortcut, updateFileShortcuts, updateFolder
 
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
addFileEntry, addFileEntry, addFileShortcut, addFolder, checkInFileEntry, checkInFileEntry, copyFileEntry, deleteAll, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getRepositoryFileEntries, getRepositoryId, moveFileEntry, moveFolder, revertFileEntry, updateFileEntry, updateFileEntry, updateFileShortcut, updateFileShortcuts, updateFolder
 
Methods inherited from interface com.liferay.portal.kernel.repository.capabilities.CapabilityProvider
getCapability, isCapabilityProvided
 

Constructor Detail

InitializedRepository

public InitializedRepository()
Method Detail

addFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long folderId,
                                                                                    String sourceFileName,
                                                                                    String mimeType,
                                                                                    String title,
                                                                                    String description,
                                                                                    String changeLog,
                                                                                    File file,
                                                                                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                  throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
addFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

addFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(long folderId,
                                                                                    String sourceFileName,
                                                                                    String mimeType,
                                                                                    String title,
                                                                                    String description,
                                                                                    String changeLog,
                                                                                    InputStream is,
                                                                                    long size,
                                                                                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                  throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
addFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

addFolder

@Deprecated
public com.liferay.portal.kernel.repository.model.Folder addFolder(long parentFolderId,
                                                                              String name,
                                                                              String description,
                                                                              com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                            throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
addFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

cancelCheckOut

public com.liferay.portal.kernel.repository.model.FileVersion cancelCheckOut(long fileEntryId)
                                                                      throws com.liferay.portal.kernel.exception.PortalException
Specified by:
cancelCheckOut in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        boolean major,
                                        String changeLog,
                                        com.liferay.portal.kernel.service.ServiceContext serviceContext)
                      throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
checkInFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        String lockUuid)
                      throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
checkInFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        String lockUuid,
                                        com.liferay.portal.kernel.service.ServiceContext serviceContext)
                      throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
checkInFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

checkOutFileEntry

public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId,
                                                                              com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                       throws com.liferay.portal.kernel.exception.PortalException
Specified by:
checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

checkOutFileEntry

public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId,
                                                                              String owner,
                                                                              long expirationTime,
                                                                              com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                       throws com.liferay.portal.kernel.exception.PortalException
Specified by:
checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

copyFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry copyFileEntry(long groupId,
                                                                                     long fileEntryId,
                                                                                     long destFolderId,
                                                                                     com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                   throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
copyFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteFileEntry

public void deleteFileEntry(long folderId,
                            String title)
                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteFileVersion

public void deleteFileVersion(long fileEntryId,
                              String version)
                       throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteFileVersion in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteFolder

public void deleteFolder(long parentFolderId,
                         String name)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
deleteFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId,
                                                                                 long fileEntryTypeId,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntries in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getFileEntries(long folderId,
                                                                                 String[] mimeTypes,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
                                                                          throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntries in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntriesAndFileShortcuts

public List<com.liferay.portal.kernel.repository.model.RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId,
                                                                                                       int status,
                                                                                                       int start,
                                                                                                       int end)
                                                                                                throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntriesAndFileShortcuts in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFileEntriesAndFileShortcuts in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long folderId,
                                               int status)
                                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntriesAndFileShortcutsCount in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFileEntriesAndFileShortcutsCount in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long folderId,
                                               int status,
                                               String[] mimeTypes)
                                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntriesAndFileShortcutsCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntriesCount

public int getFileEntriesCount(long folderId,
                               long fileEntryTypeId)
                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFileEntriesCount

public int getFileEntriesCount(long folderId,
                               String[] mimeTypes)
                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFolders

public List<com.liferay.portal.kernel.repository.model.Folder> getFolders(long parentFolderId,
                                                                          boolean includeMountFolders,
                                                                          int start,
                                                                          int end,
                                                                          com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
                                                                   throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFolders in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFolders in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFolders

public List<com.liferay.portal.kernel.repository.model.Folder> getFolders(long parentFolderId,
                                                                          int status,
                                                                          boolean includeMountFolders,
                                                                          int start,
                                                                          int end,
                                                                          com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
                                                                   throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFolders in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFolders in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersAndFileEntriesAndFileShortcuts

public List<com.liferay.portal.kernel.repository.model.RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
                                                                                                                 int status,
                                                                                                                 boolean includeMountFolders,
                                                                                                                 int start,
                                                                                                                 int end,
                                                                                                                 com.liferay.portal.kernel.util.OrderByComparator<?> obc)
                                                                                                          throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFoldersAndFileEntriesAndFileShortcuts in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersAndFileEntriesAndFileShortcuts

public List<com.liferay.portal.kernel.repository.model.RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
                                                                                                                 int status,
                                                                                                                 String[] mimetypes,
                                                                                                                 boolean includeMountFolders,
                                                                                                                 int start,
                                                                                                                 int end,
                                                                                                                 com.liferay.portal.kernel.util.OrderByComparator<?> obc)
                                                                                                          throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
                                                         int status,
                                                         boolean includeMountFolders)
                                                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFoldersAndFileEntriesAndFileShortcutsCount in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
                                                         int status,
                                                         String[] mimetypes,
                                                         boolean includeMountFolders)
                                                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersCount

public int getFoldersCount(long parentFolderId,
                           boolean includeMountfolders)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersCount in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFoldersCount in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersCount

public int getFoldersCount(long parentFolderId,
                           int status,
                           boolean includeMountfolders)
                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersCount in interface com.liferay.portal.kernel.repository.DocumentRepository
Overrides:
getFoldersCount in class InitializedDocumentRepository<com.liferay.portal.kernel.repository.Repository>
Throws:
com.liferay.portal.kernel.exception.PortalException

getFoldersFileEntriesCount

public int getFoldersFileEntriesCount(List<Long> folderIds,
                                      int status)
                               throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getFoldersFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getMountFolders

public List<com.liferay.portal.kernel.repository.model.Folder> getMountFolders(long parentFolderId,
                                                                               int start,
                                                                               int end,
                                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.Folder> obc)
                                                                        throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getMountFolders in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getMountFoldersCount

public int getMountFoldersCount(long parentFolderId)
                         throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getMountFoldersCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getRepositoryFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getRepositoryFileEntries(long userId,
                                                                                           long rootFolderId,
                                                                                           String[] mimeTypes,
                                                                                           int status,
                                                                                           int start,
                                                                                           int end,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.repository.model.FileEntry> obc)
                                                                                    throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getRepositoryFileEntries in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getRepositoryFileEntriesCount

public int getRepositoryFileEntriesCount(long userId,
                                         long rootFolderId)
                                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getRepositoryFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getRepositoryFileEntriesCount

public int getRepositoryFileEntriesCount(long userId,
                                         long rootFolderId,
                                         String[] mimeTypes,
                                         int status)
                                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getRepositoryFileEntriesCount in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getSubfolderIds

public void getSubfolderIds(List<Long> folderIds,
                            long folderId)
                     throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getSubfolderIds in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

getSubfolderIds

public List<Long> getSubfolderIds(long folderId,
                                  boolean recurse)
                           throws com.liferay.portal.kernel.exception.PortalException
Specified by:
getSubfolderIds in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

lockFolder

public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId)
                                               throws com.liferay.portal.kernel.exception.PortalException
Specified by:
lockFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

lockFolder

public com.liferay.portal.kernel.lock.Lock lockFolder(long folderId,
                                                      String owner,
                                                      boolean inheritable,
                                                      long expirationTime)
                                               throws com.liferay.portal.kernel.exception.PortalException
Specified by:
lockFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

moveFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntry(long fileEntryId,
                                                                                     long newFolderId,
                                                                                     com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                   throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
moveFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

moveFolder

@Deprecated
public com.liferay.portal.kernel.repository.model.Folder moveFolder(long folderId,
                                                                               long newParentFolderId,
                                                                               com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                             throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
moveFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

refreshFileEntryLock

public com.liferay.portal.kernel.lock.Lock refreshFileEntryLock(String lockUuid,
                                                                long companyId,
                                                                long expirationTime)
                                                         throws com.liferay.portal.kernel.exception.PortalException
Specified by:
refreshFileEntryLock in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

refreshFolderLock

public com.liferay.portal.kernel.lock.Lock refreshFolderLock(String lockUuid,
                                                             long companyId,
                                                             long expirationTime)
                                                      throws com.liferay.portal.kernel.exception.PortalException
Specified by:
refreshFolderLock in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

revertFileEntry

@Deprecated
public void revertFileEntry(long fileEntryId,
                                       String version,
                                       com.liferay.portal.kernel.service.ServiceContext serviceContext)
                     throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
revertFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

search

public com.liferay.portal.kernel.search.Hits search(long creatorUserId,
                                                    int status,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.kernel.exception.PortalException
Specified by:
search in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

search

public com.liferay.portal.kernel.search.Hits search(long creatorUserId,
                                                    long folderId,
                                                    String[] mimeTypes,
                                                    int status,
                                                    int start,
                                                    int end)
                                             throws com.liferay.portal.kernel.exception.PortalException
Specified by:
search in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

search

public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext)
                                             throws com.liferay.portal.kernel.search.SearchException
Specified by:
search in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.search.SearchException

search

public com.liferay.portal.kernel.search.Hits search(com.liferay.portal.kernel.search.SearchContext searchContext,
                                                    com.liferay.portal.kernel.search.Query query)
                                             throws com.liferay.portal.kernel.search.SearchException
Specified by:
search in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.search.SearchException

unlockFolder

public void unlockFolder(long folderId,
                         String lockUuid)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
unlockFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

unlockFolder

public void unlockFolder(long parentFolderId,
                         String name,
                         String lockUuid)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
unlockFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

updateFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long fileEntryId,
                                                                                       String sourceFileName,
                                                                                       String mimeType,
                                                                                       String title,
                                                                                       String description,
                                                                                       String changeLog,
                                                                                       boolean majorVersion,
                                                                                       File file,
                                                                                       com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                     throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
updateFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

updateFileEntry

@Deprecated
public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long fileEntryId,
                                                                                       String sourceFileName,
                                                                                       String mimeType,
                                                                                       String title,
                                                                                       String description,
                                                                                       String changeLog,
                                                                                       boolean majorVersion,
                                                                                       InputStream is,
                                                                                       long size,
                                                                                       com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                     throws com.liferay.portal.kernel.exception.PortalException
Deprecated. 

Specified by:
updateFileEntry in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

updateFolder

public com.liferay.portal.kernel.repository.model.Folder updateFolder(long folderId,
                                                                      String name,
                                                                      String description,
                                                                      com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                               throws com.liferay.portal.kernel.exception.PortalException
Specified by:
updateFolder in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

verifyFileEntryCheckOut

public boolean verifyFileEntryCheckOut(long fileEntryId,
                                       String lockUuid)
                                throws com.liferay.portal.kernel.exception.PortalException
Specified by:
verifyFileEntryCheckOut in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

verifyFileEntryLock

public boolean verifyFileEntryLock(long fileEntryId,
                                   String lockUuid)
                            throws com.liferay.portal.kernel.exception.PortalException
Specified by:
verifyFileEntryLock in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

verifyInheritableLock

public boolean verifyInheritableLock(long folderId,
                                     String lockUuid)
                              throws com.liferay.portal.kernel.exception.PortalException
Specified by:
verifyInheritableLock in interface com.liferay.portal.kernel.repository.Repository
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b7 portal-impl