Liferay 6.0.5

com.liferay.portlet.documentlibrary.service.impl
Class DLFileEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.documentlibrary.service.base.DLFileEntryServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl
All Implemented Interfaces:
DLFileEntryService

public class DLFileEntryServiceImpl
extends DLFileEntryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlLocalService, dlService, expandoValueLocalService, expandoValuePersistence, expandoValueService, lockLocalService, lockPersistence, mbDiscussionLocalService, mbDiscussionPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, ratingsEntryFinder, ratingsEntryLocalService, ratingsEntryPersistence, ratingsEntryService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
DLFileEntryServiceImpl()
           
 
Method Summary
 DLFileEntry addFileEntry(long groupId, long folderId, String name, String title, String description, String changeLog, String extraSettings, byte[] bytes, ServiceContext serviceContext)
           
 DLFileEntry addFileEntry(long groupId, long folderId, String name, String title, String description, String changeLog, String extraSettings, File file, ServiceContext serviceContext)
           
 void deleteFileEntry(long groupId, long folderId, String name)
           
 void deleteFileEntry(long groupId, long folderId, String name, String version)
           
 void deleteFileEntryByTitle(long groupId, long folderId, String titleWithExtension)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end)
           
 List<DLFileEntry> getFileEntries(long groupId, long folderId, int start, int end, OrderByComparator obc)
           
 int getFileEntriesCount(long groupId, long folderId)
           
 DLFileEntry getFileEntry(long groupId, long folderId, String name)
           
 DLFileEntry getFileEntryByTitle(long groupId, long folderId, String titleWithExtension)
           
 DLFileEntry getFileEntryByUuidAndGroupId(String uuid, long groupId)
           
 int getFoldersFileEntriesCount(long groupId, List<Long> folderIds, int status)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end)
           
 List<DLFileEntry> getGroupFileEntries(long groupId, long userId, int start, int end, OrderByComparator obc)
           
 int getGroupFileEntriesCount(long groupId, long userId)
           
 boolean hasFileEntryLock(long groupId, long folderId, String name)
           
 Lock lockFileEntry(long groupId, long folderId, String name)
           
 Lock lockFileEntry(long groupId, long folderId, String name, String owner, long expirationTime)
           
 DLFileEntry moveFileEntry(long groupId, long folderId, long newFolderId, String name, ServiceContext serviceContext)
           
 Lock refreshFileEntryLock(String lockUuid, long expirationTime)
           
 void unlockFileEntry(long groupId, long folderId, String name)
           
 void unlockFileEntry(long groupId, long folderId, String name, String lockUuid)
           
 DLFileEntry updateFileEntry(long groupId, long folderId, String name, String sourceFileName, String title, String description, String changeLog, boolean majorVersion, String extraSettings, byte[] bytes, ServiceContext serviceContext)
           
 DLFileEntry updateFileEntry(long groupId, long folderId, String name, String sourceFileName, String title, String description, String changeLog, boolean majorVersion, String extraSettings, File file, ServiceContext serviceContext)
           
 boolean verifyFileEntryLock(long groupId, long folderId, String name, String lockUuid)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLLocalService, getDLService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getLockLocalService, getLockPersistence, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getRatingsEntryFinder, getRatingsEntryLocalService, getRatingsEntryPersistence, getRatingsEntryService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLLocalService, setDLService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setLockLocalService, setLockPersistence, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setRatingsEntryFinder, setRatingsEntryLocalService, setRatingsEntryPersistence, setRatingsEntryService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryServiceImpl

public DLFileEntryServiceImpl()
Method Detail

addFileEntry

public DLFileEntry addFileEntry(long groupId,
                                long folderId,
                                String name,
                                String title,
                                String description,
                                String changeLog,
                                String extraSettings,
                                byte[] bytes,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

addFileEntry

public DLFileEntry addFileEntry(long groupId,
                                long folderId,
                                String name,
                                String title,
                                String description,
                                String changeLog,
                                String extraSettings,
                                File file,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long groupId,
                            long folderId,
                            String name)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(long groupId,
                            long folderId,
                            String name,
                            String version)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileEntryByTitle

public void deleteFileEntryByTitle(long groupId,
                                   long folderId,
                                   String titleWithExtension)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        int start,
                                        int end)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntries

public List<DLFileEntry> getFileEntries(long groupId,
                                        long folderId,
                                        int start,
                                        int end,
                                        OrderByComparator obc)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntriesCount

public int getFileEntriesCount(long groupId,
                               long folderId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getFileEntry

public DLFileEntry getFileEntry(long groupId,
                                long folderId,
                                String name)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getFileEntryByTitle

public DLFileEntry getFileEntryByTitle(long groupId,
                                       long folderId,
                                       String titleWithExtension)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getFileEntryByUuidAndGroupId

public DLFileEntry getFileEntryByUuidAndGroupId(String uuid,
                                                long groupId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

getFoldersFileEntriesCount

public int getFoldersFileEntriesCount(long groupId,
                                      List<Long> folderIds,
                                      int status)
                               throws SystemException
Throws:
SystemException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             int start,
                                             int end)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntries

public List<DLFileEntry> getGroupFileEntries(long groupId,
                                             long userId,
                                             int start,
                                             int end,
                                             OrderByComparator obc)
                                      throws SystemException
Throws:
SystemException

getGroupFileEntriesCount

public int getGroupFileEntriesCount(long groupId,
                                    long userId)
                             throws SystemException
Throws:
SystemException

hasFileEntryLock

public boolean hasFileEntryLock(long groupId,
                                long folderId,
                                String name)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

lockFileEntry

public Lock lockFileEntry(long groupId,
                          long folderId,
                          String name)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

lockFileEntry

public Lock lockFileEntry(long groupId,
                          long folderId,
                          String name,
                          String owner,
                          long expirationTime)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

moveFileEntry

public DLFileEntry moveFileEntry(long groupId,
                                 long folderId,
                                 long newFolderId,
                                 String name,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

refreshFileEntryLock

public Lock refreshFileEntryLock(String lockUuid,
                                 long expirationTime)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

unlockFileEntry

public void unlockFileEntry(long groupId,
                            long folderId,
                            String name)
                     throws SystemException
Throws:
SystemException

unlockFileEntry

public void unlockFileEntry(long groupId,
                            long folderId,
                            String name,
                            String lockUuid)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long groupId,
                                   long folderId,
                                   String name,
                                   String sourceFileName,
                                   String title,
                                   String description,
                                   String changeLog,
                                   boolean majorVersion,
                                   String extraSettings,
                                   byte[] bytes,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

updateFileEntry

public DLFileEntry updateFileEntry(long groupId,
                                   long folderId,
                                   String name,
                                   String sourceFileName,
                                   String title,
                                   String description,
                                   String changeLog,
                                   boolean majorVersion,
                                   String extraSettings,
                                   File file,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

verifyFileEntryLock

public boolean verifyFileEntryLock(long groupId,
                                   long folderId,
                                   String name,
                                   String lockUuid)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5