Liferay 7.0-ce-b4

com.liferay.portal.kernel.repository
Class BaseRepositoryImpl

java.lang.Object
  extended by com.liferay.portal.kernel.repository.BaseRepositoryImpl
All Implemented Interfaces:
BaseRepository, CapabilityProvider, DocumentRepository, Repository

public abstract class BaseRepositoryImpl
extends Object
implements BaseRepository, CapabilityProvider

Third-party repository implementations should extend from this class.


Field Summary
protected  AssetEntryLocalService assetEntryLocalService
           
protected  CompanyLocalService companyLocalService
           
protected  DLAppHelperLocalService dlAppHelperLocalService
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  RepositoryEntryLocalService repositoryEntryLocalService
           
protected  UserLocalService userLocalService
           
 
Constructor Summary
BaseRepositoryImpl()
           
 
Method Summary
 FileEntry addFileEntry(long userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext)
           
 FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, File file, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, see addFileEntry(long, long, String, String, String, String, String, File, ServiceContext)
 FileEntry addFileEntry(long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, see DocumentRepository.addFileEntry(long, long, String, String, String, String, String, InputStream, long, ServiceContext)
abstract  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)
 void checkInFileEntry(long fileEntryId, boolean major, String changeLog, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.checkInFileEntry(long, long, boolean, String, ServiceContext)
 void checkInFileEntry(long fileEntryId, String lockUuid)
          Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, String, ServiceContext)
 void checkInFileEntry(long fileEntryId, String lockUuid, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.checkInFileEntry(long, long, String, ServiceContext)
abstract  FileEntry checkOutFileEntry(long fileEntryId, ServiceContext serviceContext)
           
abstract  FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, ServiceContext serviceContext)
           
protected  void clearManualCheckInRequired(long fileEntryId, ServiceContext serviceContext)
           
 FileEntry copyFileEntry(long groupId, long fileEntryId, long destFolderId, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.copyFileEntry(long, long, long, long, ServiceContext)
 void deleteAll()
           
 void deleteFileEntry(long folderId, String title)
           
 void deleteFileVersion(long fileEntryId, String version)
           
 void deleteFolder(long parentFolderId, String name)
           
<T extends Capability>
T
getCapability(Class<T> capabilityClass)
           
 long getCompanyId()
           
 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)
           
 List<Folder> getFolders(long parentFolderId, int status, boolean includeMountfolders, int start, int end, OrderByComparator<Folder> obc)
           
abstract  List<Object> getFoldersAndFileEntries(long folderId, int start, int end, OrderByComparator<?> obc)
           
abstract  List<Object> getFoldersAndFileEntries(long folderId, String[] mimeTypes, int start, int end, OrderByComparator<?> 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)
           
abstract  int getFoldersAndFileEntriesCount(long folderId)
           
abstract  int getFoldersAndFileEntriesCount(long folderId, String[] mimeTypes)
           
 int getFoldersCount(long parentFolderId, int status, boolean includeMountfolders)
           
 long getGroupId()
           
 LocalRepository getLocalRepository()
           
protected  RepositoryEntry getRepositoryEntry(String objectId)
           
 Object[] getRepositoryEntryIds(String objectId)
          Deprecated. As of 7.0.0, replaced by getRepositoryEntry(String)
 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()
           
 String[] getSupportedConfigurations()
          Deprecated. 
 String[][] getSupportedParameters()
          Deprecated. 
 UnicodeProperties getTypeSettingsProperties()
           
abstract  void initRepository()
           
<T extends Capability>
boolean
isCapabilityProvided(Class<T> capabilityClass)
           
 FileEntry moveFileEntry(long fileEntryId, long newFolderId, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.moveFileEntry(long, long, long, ServiceContext)
 Folder moveFolder(long folderId, long newParentFolderId, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.moveFolder(long, long, long, ServiceContext)
 void revertFileEntry(long fileEntryId, String version, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by DocumentRepository.revertFileEntry(long, long, String, ServiceContext)
 Hits search(SearchContext searchContext)
           
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
           
 void setCompanyId(long companyId)
           
 void setCompanyLocalService(CompanyLocalService companyLocalService)
           
 void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
           
 void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
           
 void setGroupId(long groupId)
           
protected  void setManualCheckInRequired(long fileEntryId, ServiceContext serviceContext)
           
 void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
           
 void setRepositoryId(long repositoryId)
           
 void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
           
 void setUserLocalService(UserLocalService userLocalService)
           
 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 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 DocumentRepository.updateFileEntry(long, long, String, String, String, String, String, boolean, InputStream, long, ServiceContext)
 FileEntry updateFileEntry(long fileEntryId, String sourceFileName, String mimeType, String title, String description, String changeLog, boolean majorVersion, InputStream is, long size, ServiceContext serviceContext)
          Deprecated. As of 7.0.0, replaced by updateFileEntry(long, long, String, String, String, String, String, boolean, File, ServiceContext)
 Folder updateFolder(long folderId, long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 boolean verifyFileEntryLock(long fileEntryId, String lockUuid)
           
 
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.Repository
cancelCheckOut, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFoldersFileEntriesCount, getMountFolders, getMountFoldersCount, getSubfolderIds, getSubfolderIds, lockFolder, lockFolder, refreshFileEntryLock, refreshFolderLock, search, search, search, unlockFolder, updateFolder, verifyFileEntryCheckOut, verifyInheritableLock
 
Methods inherited from interface com.liferay.portal.kernel.repository.DocumentRepository
addFileEntry, addFileShortcut, checkInFileEntry, checkInFileEntry, copyFileEntry, deleteFileEntry, deleteFileShortcut, deleteFileShortcuts, deleteFolder, getFileEntries, getFileEntries, getFileEntriesCount, getFileEntriesCount, getFileEntry, getFileEntry, getFileEntryByUuid, getFileShortcut, getFileVersion, getFolder, getFolder, getFolders, getFoldersCount, moveFileEntry, moveFolder, revertFileEntry, updateFileEntry, updateFileShortcut, updateFileShortcuts
 

Field Detail

assetEntryLocalService

protected AssetEntryLocalService assetEntryLocalService

companyLocalService

protected CompanyLocalService companyLocalService

dlAppHelperLocalService

protected DLAppHelperLocalService dlAppHelperLocalService

dlFolderLocalService

protected DLFolderLocalService dlFolderLocalService

repositoryEntryLocalService

protected RepositoryEntryLocalService repositoryEntryLocalService

userLocalService

protected UserLocalService userLocalService
Constructor Detail

BaseRepositoryImpl

public BaseRepositoryImpl()
Method Detail

addFileEntry

public FileEntry addFileEntry(long userId,
                              long folderId,
                              String sourceFileName,
                              String mimeType,
                              String title,
                              String description,
                              String changeLog,
                              File file,
                              ServiceContext serviceContext)
                       throws PortalException
Specified by:
addFileEntry in interface DocumentRepository
Throws:
PortalException

addFileEntry

@Deprecated
public FileEntry addFileEntry(long folderId,
                                         String sourceFileName,
                                         String mimeType,
                                         String title,
                                         String description,
                                         String changeLog,
                                         File file,
                                         ServiceContext serviceContext)
                       throws PortalException
Deprecated. As of 7.0.0, see addFileEntry(long, long, String, String, String, String, String, File, ServiceContext)

Specified by:
addFileEntry in interface Repository
Throws:
PortalException

addFileEntry

@Deprecated
public FileEntry addFileEntry(long folderId,
                                         String sourceFileName,
                                         String mimeType,
                                         String title,
                                         String description,
                                         String changeLog,
                                         InputStream is,
                                         long size,
                                         ServiceContext serviceContext)
                       throws PortalException
Deprecated. As of 7.0.0, see DocumentRepository.addFileEntry(long, long, String, String, String, String, String, InputStream, long, ServiceContext)

Specified by:
addFileEntry in interface Repository
Throws:
PortalException

addFolder

public abstract Folder addFolder(long userId,
                                 long parentFolderId,
                                 String name,
                                 String description,
                                 ServiceContext serviceContext)
                          throws PortalException
Specified by:
addFolder in interface DocumentRepository
Throws:
PortalException

addFolder

@Deprecated
public Folder addFolder(long parentFolderId,
                                   String name,
                                   String description,
                                   ServiceContext serviceContext)
                 throws PortalException
Deprecated. As of 7.0.0, replaced by addFolder(long, long, String, String, ServiceContext)

Specified by:
addFolder in interface Repository
Throws:
PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        boolean major,
                                        String changeLog,
                                        ServiceContext serviceContext)
                      throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.checkInFileEntry(long, long, boolean, String, ServiceContext)

Specified by:
checkInFileEntry in interface Repository
Throws:
PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        String lockUuid)
                      throws PortalException
Deprecated. As of 6.2.0, replaced by checkInFileEntry(long, String, ServiceContext)

Specified by:
checkInFileEntry in interface Repository
Throws:
PortalException

checkInFileEntry

@Deprecated
public void checkInFileEntry(long fileEntryId,
                                        String lockUuid,
                                        ServiceContext serviceContext)
                      throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.checkInFileEntry(long, long, String, ServiceContext)

Specified by:
checkInFileEntry in interface Repository
Throws:
PortalException

checkOutFileEntry

public abstract FileEntry checkOutFileEntry(long fileEntryId,
                                            ServiceContext serviceContext)
                                     throws PortalException
Specified by:
checkOutFileEntry in interface Repository
Throws:
PortalException

checkOutFileEntry

public abstract FileEntry checkOutFileEntry(long fileEntryId,
                                            String owner,
                                            long expirationTime,
                                            ServiceContext serviceContext)
                                     throws PortalException
Specified by:
checkOutFileEntry in interface Repository
Throws:
PortalException

copyFileEntry

@Deprecated
public FileEntry copyFileEntry(long groupId,
                                          long fileEntryId,
                                          long destFolderId,
                                          ServiceContext serviceContext)
                        throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.copyFileEntry(long, long, long, long, ServiceContext)

Specified by:
copyFileEntry in interface Repository
Throws:
PortalException

deleteAll

public void deleteAll()
Specified by:
deleteAll in interface DocumentRepository

deleteFileEntry

public void deleteFileEntry(long folderId,
                            String title)
                     throws PortalException
Specified by:
deleteFileEntry in interface Repository
Throws:
PortalException

deleteFileVersion

public void deleteFileVersion(long fileEntryId,
                              String version)
Specified by:
deleteFileVersion in interface Repository

deleteFolder

public void deleteFolder(long parentFolderId,
                         String name)
                  throws PortalException
Specified by:
deleteFolder in interface Repository
Throws:
PortalException

getCapability

public <T extends Capability> T getCapability(Class<T> capabilityClass)
Specified by:
getCapability in interface CapabilityProvider

getCompanyId

public long getCompanyId()

getFileEntriesAndFileShortcuts

public List<RepositoryEntry> getFileEntriesAndFileShortcuts(long folderId,
                                                            int status,
                                                            int start,
                                                            int end)
                                                     throws PortalException
Specified by:
getFileEntriesAndFileShortcuts in interface DocumentRepository
Throws:
PortalException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long folderId,
                                               int status)
                                        throws PortalException
Specified by:
getFileEntriesAndFileShortcutsCount in interface DocumentRepository
Throws:
PortalException

getFileEntriesAndFileShortcutsCount

public int getFileEntriesAndFileShortcutsCount(long folderId,
                                               int status,
                                               String[] mimeTypes)
                                        throws PortalException
Specified by:
getFileEntriesAndFileShortcutsCount in interface Repository
Throws:
PortalException

getFolders

public List<Folder> getFolders(long parentFolderId,
                               int status,
                               boolean includeMountfolders,
                               int start,
                               int end,
                               OrderByComparator<Folder> obc)
                        throws PortalException
Specified by:
getFolders in interface DocumentRepository
Throws:
PortalException

getFoldersAndFileEntries

public abstract List<Object> getFoldersAndFileEntries(long folderId,
                                                      int start,
                                                      int end,
                                                      OrderByComparator<?> obc)

getFoldersAndFileEntries

public abstract List<Object> getFoldersAndFileEntries(long folderId,
                                                      String[] mimeTypes,
                                                      int start,
                                                      int end,
                                                      OrderByComparator<?> obc)
                                               throws PortalException
Throws:
PortalException

getFoldersAndFileEntriesAndFileShortcuts

public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
                                                                      int status,
                                                                      boolean includeMountFolders,
                                                                      int start,
                                                                      int end,
                                                                      OrderByComparator<?> obc)
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface DocumentRepository

getFoldersAndFileEntriesAndFileShortcuts

public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId,
                                                                      int status,
                                                                      String[] mimeTypes,
                                                                      boolean includeMountFolders,
                                                                      int start,
                                                                      int end,
                                                                      OrderByComparator<?> obc)
                                                               throws PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcuts in interface Repository
Throws:
PortalException

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
                                                         int status,
                                                         boolean includeMountFolders)
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface Repository

getFoldersAndFileEntriesAndFileShortcutsCount

public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId,
                                                         int status,
                                                         String[] mimeTypes,
                                                         boolean includeMountFolders)
                                                  throws PortalException
Specified by:
getFoldersAndFileEntriesAndFileShortcutsCount in interface Repository
Throws:
PortalException

getFoldersAndFileEntriesCount

public abstract int getFoldersAndFileEntriesCount(long folderId)

getFoldersAndFileEntriesCount

public abstract int getFoldersAndFileEntriesCount(long folderId,
                                                  String[] mimeTypes)
                                           throws PortalException
Throws:
PortalException

getFoldersCount

public int getFoldersCount(long parentFolderId,
                           int status,
                           boolean includeMountfolders)
                    throws PortalException
Specified by:
getFoldersCount in interface DocumentRepository
Throws:
PortalException

getGroupId

public long getGroupId()

getLocalRepository

public LocalRepository getLocalRepository()
Specified by:
getLocalRepository in interface BaseRepository

getRepositoryEntryIds

@Deprecated
public Object[] getRepositoryEntryIds(String objectId)
                               throws PortalException
Deprecated. As of 7.0.0, replaced by getRepositoryEntry(String)

Throws:
PortalException

getRepositoryFileEntries

public List<FileEntry> getRepositoryFileEntries(long userId,
                                                long rootFolderId,
                                                int start,
                                                int end,
                                                OrderByComparator<FileEntry> obc)
                                         throws PortalException
Specified by:
getRepositoryFileEntries in interface DocumentRepository
Throws:
PortalException

getRepositoryFileEntries

public List<FileEntry> getRepositoryFileEntries(long userId,
                                                long rootFolderId,
                                                String[] mimeTypes,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator<FileEntry> obc)
                                         throws PortalException
Specified by:
getRepositoryFileEntries in interface Repository
Throws:
PortalException

getRepositoryFileEntriesCount

public int getRepositoryFileEntriesCount(long userId,
                                         long rootFolderId)
                                  throws PortalException
Specified by:
getRepositoryFileEntriesCount in interface Repository
Throws:
PortalException

getRepositoryFileEntriesCount

public int getRepositoryFileEntriesCount(long userId,
                                         long rootFolderId,
                                         String[] mimeTypes,
                                         int status)
                                  throws PortalException
Specified by:
getRepositoryFileEntriesCount in interface Repository
Throws:
PortalException

getRepositoryId

public long getRepositoryId()
Specified by:
getRepositoryId in interface DocumentRepository

getSupportedConfigurations

@Deprecated
public String[] getSupportedConfigurations()
Deprecated. 

Specified by:
getSupportedConfigurations in interface BaseRepository

getSupportedParameters

@Deprecated
public String[][] getSupportedParameters()
Deprecated. 

Specified by:
getSupportedParameters in interface BaseRepository

getTypeSettingsProperties

public UnicodeProperties getTypeSettingsProperties()

initRepository

public abstract void initRepository()
                             throws PortalException
Specified by:
initRepository in interface BaseRepository
Throws:
PortalException

isCapabilityProvided

public <T extends Capability> boolean isCapabilityProvided(Class<T> capabilityClass)
Specified by:
isCapabilityProvided in interface CapabilityProvider

moveFileEntry

@Deprecated
public FileEntry moveFileEntry(long fileEntryId,
                                          long newFolderId,
                                          ServiceContext serviceContext)
                        throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.moveFileEntry(long, long, long, ServiceContext)

Specified by:
moveFileEntry in interface Repository
Throws:
PortalException

moveFolder

@Deprecated
public Folder moveFolder(long folderId,
                                    long newParentFolderId,
                                    ServiceContext serviceContext)
                  throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.moveFolder(long, long, long, ServiceContext)

Specified by:
moveFolder in interface Repository
Throws:
PortalException

revertFileEntry

@Deprecated
public void revertFileEntry(long fileEntryId,
                                       String version,
                                       ServiceContext serviceContext)
                     throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.revertFileEntry(long, long, String, ServiceContext)

Specified by:
revertFileEntry in interface Repository
Throws:
PortalException

search

public Hits search(SearchContext searchContext)
            throws SearchException
Specified by:
search in interface Repository
Throws:
SearchException

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Specified by:
setAssetEntryLocalService in interface BaseRepository

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface BaseRepository

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)
Specified by:
setCompanyLocalService in interface BaseRepository

setDLAppHelperLocalService

public void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
Specified by:
setDLAppHelperLocalService in interface BaseRepository

setDLFolderLocalService

public void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
Specified by:
setDLFolderLocalService in interface BaseRepository

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface BaseRepository

setRepositoryEntryLocalService

public void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
Specified by:
setRepositoryEntryLocalService in interface BaseRepository

setRepositoryId

public void setRepositoryId(long repositoryId)
Specified by:
setRepositoryId in interface BaseRepository

setTypeSettingsProperties

public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Specified by:
setTypeSettingsProperties in interface BaseRepository

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Specified by:
setUserLocalService in interface BaseRepository

unlockFolder

public void unlockFolder(long parentFolderId,
                         String name,
                         String lockUuid)
                  throws PortalException
Specified by:
unlockFolder in interface Repository
Throws:
PortalException

updateFileEntry

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
Specified by:
updateFileEntry in interface DocumentRepository
Throws:
PortalException

updateFileEntry

@Deprecated
public FileEntry updateFileEntry(long fileEntryId,
                                            String sourceFileName,
                                            String mimeType,
                                            String title,
                                            String description,
                                            String changeLog,
                                            boolean majorVersion,
                                            File file,
                                            ServiceContext serviceContext)
                          throws PortalException
Deprecated. As of 7.0.0, replaced by DocumentRepository.updateFileEntry(long, long, String, String, String, String, String, boolean, InputStream, long, ServiceContext)

Specified by:
updateFileEntry in interface Repository
Throws:
PortalException

updateFileEntry

@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
Deprecated. As of 7.0.0, replaced by updateFileEntry(long, long, String, String, String, String, String, boolean, File, ServiceContext)

Specified by:
updateFileEntry in interface Repository
Throws:
PortalException

updateFolder

public Folder updateFolder(long folderId,
                           long parentFolderId,
                           String name,
                           String description,
                           ServiceContext serviceContext)
Specified by:
updateFolder in interface DocumentRepository

verifyFileEntryLock

public boolean verifyFileEntryLock(long fileEntryId,
                                   String lockUuid)
Specified by:
verifyFileEntryLock in interface Repository

clearManualCheckInRequired

protected void clearManualCheckInRequired(long fileEntryId,
                                          ServiceContext serviceContext)
                                   throws NoSuchRepositoryEntryException
Throws:
NoSuchRepositoryEntryException

getRepositoryEntry

protected RepositoryEntry getRepositoryEntry(String objectId)
                                      throws PortalException
Throws:
PortalException

setManualCheckInRequired

protected void setManualCheckInRequired(long fileEntryId,
                                        ServiceContext serviceContext)
                                 throws NoSuchRepositoryEntryException
Throws:
NoSuchRepositoryEntryException

Liferay 7.0-ce-b4