Liferay 6.2-ce-ga5

com.liferay.portal.kernel.repository
Interface LocalRepository

All Known Implementing Classes:
DefaultLocalRepositoryImpl, LiferayLocalRepository, LocalRepositoryProxyBean

public interface LocalRepository


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 userId, long folderId, String sourceFileName, String mimeType, String title, String description, String changeLog, InputStream is, long size, ServiceContext serviceContext)
           
 Folder addFolder(long userId, long parentFolderId, String title, String description, ServiceContext serviceContext)
           
 void deleteAll()
           
 void deleteFileEntry(long fileEntryId)
           
 void deleteFolder(long folderId)
           
 FileEntry getFileEntry(long fileEntryId)
           
 FileEntry getFileEntry(long folderId, String title)
           
 FileEntry getFileEntryByUuid(String uuid)
           
 FileVersion getFileVersion(long fileVersionId)
           
 Folder getFolder(long folderId)
           
 Folder getFolder(long parentFolderId, String title)
           
 long getRepositoryId()
           
 FileEntry moveFileEntry(long userId, long fileEntryId, long newFolderId, ServiceContext serviceContext)
           
 Folder moveFolder(long userId, long folderId, long parentFolderId, ServiceContext serviceContext)
           
 void updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
           
 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)
           
 Folder updateFolder(long folderId, long parentFolderId, String title, String description, ServiceContext serviceContext)
           
 

Method Detail

addFileEntry

FileEntry addFileEntry(long userId,
                       long folderId,
                       String sourceFileName,
                       String mimeType,
                       String title,
                       String description,
                       String changeLog,
                       File file,
                       ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

addFileEntry

FileEntry addFileEntry(long userId,
                       long folderId,
                       String sourceFileName,
                       String mimeType,
                       String title,
                       String description,
                       String changeLog,
                       InputStream is,
                       long size,
                       ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

addFolder

Folder addFolder(long userId,
                 long parentFolderId,
                 String title,
                 String description,
                 ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteAll

void deleteAll()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

deleteFileEntry

void deleteFileEntry(long fileEntryId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(long folderId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFileEntry

FileEntry getFileEntry(long fileEntryId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getFileEntry

FileEntry getFileEntry(long folderId,
                       String title)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getFileEntryByUuid

FileEntry getFileEntryByUuid(String uuid)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersion

FileVersion getFileVersion(long fileVersionId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getFolder

Folder getFolder(long folderId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getFolder

Folder getFolder(long parentFolderId,
                 String title)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getRepositoryId

long getRepositoryId()

moveFileEntry

FileEntry moveFileEntry(long userId,
                        long fileEntryId,
                        long newFolderId,
                        ServiceContext serviceContext)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

moveFolder

Folder moveFolder(long userId,
                  long folderId,
                  long parentFolderId,
                  ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateAsset

void updateAsset(long userId,
                 FileEntry fileEntry,
                 FileVersion fileVersion,
                 long[] assetCategoryIds,
                 String[] assetTagNames,
                 long[] assetLinkEntryIds)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateFileEntry

FileEntry updateFileEntry(long userId,
                          long fileEntryId,
                          String sourceFileName,
                          String mimeType,
                          String title,
                          String description,
                          String changeLog,
                          boolean majorVersion,
                          File file,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updateFileEntry

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,
                                 SystemException
Throws:
PortalException
SystemException

updateFolder

Folder updateFolder(long folderId,
                    long parentFolderId,
                    String title,
                    String description,
                    ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5