|
Liferay 6.2-ce-ga5 | |||||||||
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 |
---|
Constructor Summary | |
---|---|
DLAppHelperLocalServiceImpl()
|
Method Summary | |
---|---|
void |
addFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext)
|
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)
|
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 boolean |
isStagingGroup(long groupId)
|
void |
moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
|
void |
moveFileEntry(FileEntry fileEntry)
|
FileEntry |
moveFileEntryFromTrash(long userId,
FileEntry fileEntry,
long newFolderId,
ServiceContext serviceContext)
|
FileEntry |
moveFileEntryToTrash(long userId,
FileEntry fileEntry)
Moves the file entry to the recycle bin. |
DLFileShortcut |
moveFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut,
long newFolderId,
ServiceContext serviceContext)
|
DLFileShortcut |
moveFileShortcutToTrash(long userId,
DLFileShortcut dlFileShortcut)
Moves the file shortcut to the recycle bin. |
void |
moveFolder(Folder folder)
|
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 |
notify(SubscriptionSender subscriptionSender)
|
protected void |
notifySubscribers(FileVersion fileVersion,
ServiceContext serviceContext)
|
protected void |
registerDLProcessorCallback(FileEntry fileEntry,
FileVersion fileVersion)
|
void |
registerDLSyncEventCallback(String event,
FileEntry fileEntry)
|
void |
registerDLSyncEventCallback(String event,
Folder folder)
|
protected void |
registerDLSyncEventCallback(String event,
String type,
long typePK)
|
void |
restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders,
long trashEntryId)
|
void |
restoreFileEntryFromTrash(long userId,
FileEntry fileEntry)
|
void |
restoreFileShortcutFromTrash(long userId,
DLFileShortcut dlFileShortcut)
|
void |
restoreFolderFromTrash(long userId,
Folder folder)
|
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,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLAppHelperLocalServiceImpl()
Method Detail |
---|
public void addFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void addFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) throws PortalException, SystemException
PortalException
SystemException
public void deleteFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public void deleteFolder(Folder folder) throws PortalException, SystemException
PortalException
SystemException
public void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter) throws SystemException
SystemException
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, boolean active, int status) throws SystemException
SystemException
public List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, int status) throws SystemException
getFileShortcuts(long, long,
boolean, int)
SystemException
public int getFileShortcutsCount(long groupId, long folderId, boolean active, int status) throws SystemException
SystemException
public int getFileShortcutsCount(long groupId, long folderId, int status) throws SystemException
getFileShortcutsCount(long,
long, boolean, int)
SystemException
public List<FileEntry> getNoAssetFileEntries()
public void moveDependentsToTrash(List<Object> dlFileEntriesAndDLFolders, long trashEntryId) throws PortalException, SystemException
PortalException
SystemException
public void moveFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public FileEntry moveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public FileEntry moveFileEntryToTrash(long userId, FileEntry fileEntry) throws PortalException, SystemException
userId
- the primary key of the user moving the file entryfileEntry
- the file entry to be moved
PortalException
- if a user with the primary key could not be found
SystemException
- if a system exception occurredpublic DLFileShortcut moveFileShortcutFromTrash(long userId, DLFileShortcut dlFileShortcut, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public DLFileShortcut moveFileShortcutToTrash(long userId, DLFileShortcut dlFileShortcut) throws PortalException, SystemException
userId
- the primary key of the user moving the file shortcutdlFileShortcut
- the file shortcut to be moved
PortalException
- if a user with the primary key could not be found
SystemException
- if a system exception occurredpublic void moveFolder(Folder folder) throws SystemException
SystemException
public Folder moveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public Folder moveFolderToTrash(long userId, Folder folder) throws PortalException, SystemException
userId
- the primary key of the user moving the folderfolder
- the folder to be moved
PortalException
- if a user with the primary key could not be found
SystemException
- if a system exception occurredpublic void registerDLSyncEventCallback(String event, FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public void registerDLSyncEventCallback(String event, Folder folder) throws SystemException
SystemException
public void restoreDependentsFromTrash(List<Object> dlFileEntriesAndDLFolders, long trashEntryId) throws PortalException, SystemException
PortalException
SystemException
public void restoreFileEntryFromTrash(long userId, FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public void restoreFileShortcutFromTrash(long userId, DLFileShortcut dlFileShortcut) throws PortalException, SystemException
PortalException
SystemException
public void restoreFolderFromTrash(long userId, Folder folder) throws PortalException, SystemException
PortalException
SystemException
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk) throws PortalException, SystemException
PortalException
SystemException
public AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalException
SystemException
public AssetEntry updateAsset(long userId, Folder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalException
SystemException
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, long assetClassPk) throws PortalException, SystemException
PortalException
SystemException
public void updateFileEntry(long userId, FileEntry fileEntry, FileVersion sourceFileVersion, FileVersion destinationFileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void updateFolder(long userId, Folder folder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int oldStatus, int newStatus, Map<String,Serializable> workflowContext, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected FileEntry doMoveFileEntryFromTrash(long userId, FileEntry fileEntry, long newFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected FileEntry doMoveFileEntryToTrash(long userId, FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
protected Folder doMoveFolderFromTrash(long userId, Folder folder, long parentFolderId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected Folder doMoveFolderToTrash(long userId, Folder folder) throws PortalException, SystemException
PortalException
SystemException
protected List<ObjectValuePair<Long,Integer>> getDlFileVersionStatuses(List<DLFileVersion> dlFileVersions)
protected long getFileEntryTypeId(FileEntry fileEntry)
protected boolean isStagingGroup(long groupId)
protected void notify(SubscriptionSender subscriptionSender)
protected void notifySubscribers(FileVersion fileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
protected void registerDLProcessorCallback(FileEntry fileEntry, FileVersion fileVersion)
protected void registerDLSyncEventCallback(String event, String type, long typePK) throws SystemException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |