Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, DLAppHelperLocalService

public class DLAppHelperLocalServiceImpl
extends DLAppHelperLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncFinder, dlSyncLocalService, dlSyncPersistence, dlSyncService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, lockFinder, lockLocalService, lockPersistence, mbDiscussionLocalService, mbDiscussionPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, ratingsEntryFinder, ratingsEntryLocalService, ratingsEntryPersistence, ratingsEntryService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, webDAVPropsLocalService, webDAVPropsPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Constructor Summary
DLAppHelperLocalServiceImpl()
           
 
Method Summary
 void addFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext)
           
 void addFolder(Folder folder, ServiceContext serviceContext)
           
 void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext)
           
 void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion)
           
 void deleteFileEntry(FileEntry fileEntry)
           
 void deleteFolder(Folder folder)
           
 void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter)
           
protected  long getFileEntryTypeId(FileEntry fileEntry)
           
 List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, int status)
           
 int getFileShortcutsCount(long groupId, long folderId, int status)
           
 List<FileEntry> getNoAssetFileEntries()
           
protected  boolean isStagingGroup(long groupId)
           
protected  boolean isUpdateSync(FileEntry fileEntry)
           
 void moveFileEntry(FileEntry fileEntry)
           
 void moveFolder(Folder folder)
           
protected  void registerDLProcessorCallback(FileEntry fileEntry)
           
 AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk)
           
 AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds)
           
 void updateFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk)
           
 void updateFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext)
           
 void updateFolder(Folder folder, ServiceContext serviceContext)
           
 void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int status, Map<String,Serializable> workflowContext)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCounterLocalService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncFinder, getDLSyncLocalService, getDLSyncPersistence, getDLSyncService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLockFinder, getLockLocalService, getLockPersistence, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getRatingsEntryFinder, getRatingsEntryLocalService, getRatingsEntryPersistence, getRatingsEntryService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncFinder, setDLSyncLocalService, setDLSyncPersistence, setDLSyncService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLockFinder, setLockLocalService, setLockPersistence, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setRatingsEntryFinder, setRatingsEntryLocalService, setRatingsEntryPersistence, setRatingsEntryService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLAppHelperLocalServiceImpl

public DLAppHelperLocalServiceImpl()
Method Detail

addFileEntry

public void addFileEntry(long userId,
                         FileEntry fileEntry,
                         FileVersion fileVersion,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

addFolder

public void addFolder(Folder folder,
                      ServiceContext serviceContext)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

cancelCheckOut

public void cancelCheckOut(long userId,
                           FileEntry fileEntry,
                           FileVersion destinationFileVersion,
                           FileVersion draftFileVersion,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

checkAssetEntry

public void checkAssetEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion fileVersion)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFileEntry

public void deleteFileEntry(FileEntry fileEntry)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteFolder

public void deleteFolder(Folder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFileAsStream

public void getFileAsStream(long userId,
                            FileEntry fileEntry,
                            boolean incrementCounter)
                     throws SystemException
Throws:
SystemException

getFileShortcuts

public List<DLFileShortcut> getFileShortcuts(long groupId,
                                             long folderId,
                                             int status)
                                      throws SystemException
Throws:
SystemException

getFileShortcutsCount

public int getFileShortcutsCount(long groupId,
                                 long folderId,
                                 int status)
                          throws SystemException
Throws:
SystemException

getNoAssetFileEntries

public List<FileEntry> getNoAssetFileEntries()

moveFileEntry

public void moveFileEntry(FileEntry fileEntry)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

moveFolder

public void moveFolder(Folder folder)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

updateAsset

public AssetEntry updateAsset(long userId,
                              FileEntry fileEntry,
                              FileVersion fileVersion,
                              long assetClassPk)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateAsset

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

updateFileEntry

public void updateFileEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion fileVersion,
                            long assetClassPk)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFileEntry

public void updateFileEntry(long userId,
                            FileEntry fileEntry,
                            FileVersion fileVersion,
                            ServiceContext serviceContext)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

updateFolder

public void updateFolder(Folder folder,
                         ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

updateStatus

public void updateStatus(long userId,
                         FileEntry fileEntry,
                         FileVersion latestFileVersion,
                         int status,
                         Map<String,Serializable> workflowContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFileEntryTypeId

protected long getFileEntryTypeId(FileEntry fileEntry)

isStagingGroup

protected boolean isStagingGroup(long groupId)

isUpdateSync

protected boolean isUpdateSync(FileEntry fileEntry)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

registerDLProcessorCallback

protected void registerDLProcessorCallback(FileEntry fileEntry)

Liferay 6.1.2-ce-ga3