|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl
public class DLAppHelperLocalServiceImpl
Provides the local service helper for the document library application.
| Field Summary | |
|---|---|
protected DLAppService |
dlAppService
|
| Constructor Summary | |
|---|---|
DLAppHelperLocalServiceImpl()
|
|
| Method Summary | ||
|---|---|---|
void |
addFolder(long userId,
Folder folder,
ServiceContext serviceContext)
|
|
void |
cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
|
|
void |
checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
|
|
void |
deleteFileEntry(FileEntry fileEntry)
|
|
void |
deleteFolder(Folder folder)
|
|
void |
deleteRepositoryFileEntries(long repositoryId)
|
|
protected FileEntry |
doMoveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
|
|
protected FileEntry |
doMoveFileEntryToTrash(long userId,
FileEntry fileEntry)
|
|
protected Folder |
doMoveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext)
|
|
protected Folder |
doMoveFolderToTrash(long userId,
Folder folder)
|
|
protected List<ObjectValuePair<Long,Integer>> |
getDlFileVersionStatuses(List<DLFileVersion> dlFileVersions)
|
|
void |
getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter)
|
|
protected long |
getFileEntryTypeId(FileEntry fileEntry)
|
|
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
boolean active,
int status)
|
|
List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
int status)
Deprecated. As of 6.2.0, replaced by getFileShortcuts(long, long,
boolean, int) |
|
int |
getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
|
|
int |
getFileShortcutsCount(long groupId,
long folderId,
int status)
Deprecated. As of 6.2.0, replaced by getFileShortcutsCount(long,
long, boolean, int) |
|
List<FileEntry> |
getNoAssetFileEntries()
|
|
protected Class<? extends WorkflowRepositoryEventType> |
getWorkflowRepositoryEventTypeClass(String syncEvent)
|
|
void |
moveDependentsToTrash(DLFolder dlFolder)
|
|
void |
moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
Deprecated. As of 7.0.0, replaced by moveDependentsToTrash(DLFolder) |
|
FileEntry |
moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
|
|
FileEntry |
moveFileEntryToTrash(long userId,
FileEntry fileEntry)
Moves the file entry to the recycle bin. |
|
FileShortcut |
moveFileShortcutFromTrash(long userId,
FileShortcut fileShortcut,
long newFolderId,
ServiceContext serviceContext)
|
|
FileShortcut |
moveFileShortcutToTrash(long userId,
FileShortcut fileShortcut)
Moves the file shortcut to the recycle bin. |
|
Folder |
moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext)
|
|
Folder |
moveFolderToTrash(long userId,
Folder folder)
Moves the folder to the recycle bin. |
|
protected void |
notifySubscribers(long userId,
FileVersion fileVersion,
String entryURL,
ServiceContext serviceContext)
|
|
void |
restoreDependentsFromTrash(DLFolder dlFolder)
|
|
void |
restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders)
Deprecated. As of 7.0.0, replaced by restoreDependentsFromTrash(DLFolder) |
|
void |
restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
Deprecated. As of 7.0.0, replaced by restoreDependentsFromTrash(List) |
|
void |
restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
|
|
void |
restoreFileShortcutFromTrash(long userId,
FileShortcut fileShortcut)
|
|
void |
restoreFolderFromTrash(long userId,
Folder folder)
|
|
protected void |
trashOrRestoreFolder(DLFolder dlFolder,
boolean moveToTrash)
|
|
protected void |
trashOrRestoreFolder(DLFolder dlFolder,
DLFolder childDLFolder,
boolean moveToTrash,
TrashEntry trashEntry)
|
|
protected
|
triggerRepositoryEvent(long repositoryId,
Class<? extends RepositoryEventType> repositoryEventType,
Class<T> modelClass,
T target)
|
|
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk)
|
|
AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
|
AssetEntry |
updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
|
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk)
|
|
void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext)
|
|
void |
updateFolder(long userId,
Folder folder,
ServiceContext serviceContext)
|
|
void |
updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@BeanReference(type=DLAppService.class) protected DLAppService dlAppService
| Constructor Detail |
|---|
public DLAppHelperLocalServiceImpl()
| Method Detail |
|---|
public void addFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalException
public void cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalException
public void checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
throws PortalException
PortalException
public void deleteFileEntry(FileEntry fileEntry)
throws PortalException
PortalException
public void deleteFolder(Folder folder)
throws PortalException
PortalException
public void deleteRepositoryFileEntries(long repositoryId)
throws PortalException
PortalException
public void getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter)
public List<DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
boolean active,
int status)
@Deprecated
public List<DLFileShortcut> getFileShortcuts(long groupId,
long folderId,
int status)
getFileShortcuts(long, long,
boolean, int)
public int getFileShortcutsCount(long groupId,
long folderId,
boolean active,
int status)
@Deprecated
public int getFileShortcutsCount(long groupId,
long folderId,
int status)
getFileShortcutsCount(long,
long, boolean, int)
public List<FileEntry> getNoAssetFileEntries()
public void moveDependentsToTrash(DLFolder dlFolder)
throws PortalException
PortalException
@Deprecated
public void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException
moveDependentsToTrash(DLFolder)
PortalException
public FileEntry moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
public FileEntry moveFileEntryToTrash(long userId,
FileEntry fileEntry)
throws PortalException
userId - the primary key of the user moving the file entryfileEntry - the file entry to be moved
PortalException
public FileShortcut moveFileShortcutFromTrash(long userId,
FileShortcut fileShortcut,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
public FileShortcut moveFileShortcutToTrash(long userId,
FileShortcut fileShortcut)
throws PortalException
userId - the primary key of the user moving the file shortcutfileShortcut - the file shortcut to be moved
PortalException
public Folder moveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
public Folder moveFolderToTrash(long userId,
Folder folder)
throws PortalException
userId - the primary key of the user moving the folderfolder - the folder to be moved
PortalException
public void restoreDependentsFromTrash(DLFolder dlFolder)
throws PortalException
PortalException
@Deprecated
public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders)
throws PortalException
restoreDependentsFromTrash(DLFolder)
PortalException
@Deprecated
public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
throws PortalException
restoreDependentsFromTrash(List)
PortalException
public void restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
throws PortalException
PortalException
public void restoreFileShortcutFromTrash(long userId,
FileShortcut fileShortcut)
throws PortalException
PortalException
public void restoreFolderFromTrash(long userId,
Folder folder)
throws PortalException
PortalException
public AssetEntry updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk)
throws PortalException
PortalException
public AssetEntry updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
public AssetEntry updateAsset(long userId,
Folder folder,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
public void updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
long assetClassPk)
throws PortalException
PortalException
public void updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion sourceFileVersion,
FileVersion destinationFileVersion,
ServiceContext serviceContext)
throws PortalException
PortalException
public void updateFolder(long userId,
Folder folder,
ServiceContext serviceContext)
throws PortalException
PortalException
public void updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int oldStatus,
int newStatus,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
PortalException
protected FileEntry doMoveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
protected FileEntry doMoveFileEntryToTrash(long userId,
FileEntry fileEntry)
throws PortalException
PortalException
protected Folder doMoveFolderFromTrash(long userId,
Folder folder,
long parentFolderId,
ServiceContext serviceContext)
throws PortalException
PortalException
protected Folder doMoveFolderToTrash(long userId,
Folder folder)
throws PortalException
PortalExceptionprotected List<ObjectValuePair<Long,Integer>> getDlFileVersionStatuses(List<DLFileVersion> dlFileVersions)
protected long getFileEntryTypeId(FileEntry fileEntry)
protected Class<? extends WorkflowRepositoryEventType> getWorkflowRepositoryEventTypeClass(String syncEvent)
protected void notifySubscribers(long userId,
FileVersion fileVersion,
String entryURL,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void trashOrRestoreFolder(DLFolder dlFolder,
boolean moveToTrash)
throws PortalException
PortalException
protected void trashOrRestoreFolder(DLFolder dlFolder,
DLFolder childDLFolder,
boolean moveToTrash,
TrashEntry trashEntry)
throws PortalException
PortalException
protected <T extends RepositoryModel<T>> void triggerRepositoryEvent(long repositoryId,
Class<? extends RepositoryEventType> repositoryEventType,
Class<T> modelClass,
T target)
throws PortalException
PortalException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||