|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.DLAppHelperLocalServiceUtil
public class DLAppHelperLocalServiceUtil
The utility for the d l app helper local service. This utility wraps com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl
and is the primary access point for service operations in application layer code running on the local server.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
DLAppHelperLocalService
,
com.liferay.portlet.documentlibrary.service.base.DLAppHelperLocalServiceBaseImpl
,
com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl
Constructor Summary | |
---|---|
DLAppHelperLocalServiceUtil()
|
Method Summary | |
---|---|
static void |
addFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext)
|
static void |
addFolder(Folder folder,
ServiceContext serviceContext)
|
static void |
cancelCheckOut(long userId,
FileEntry fileEntry,
FileVersion destinationFileVersion,
FileVersion draftFileVersion,
ServiceContext serviceContext)
|
static void |
checkAssetEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion)
|
static void |
deleteFileEntry(FileEntry fileEntry)
|
static void |
deleteFolder(Folder folder)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static void |
getFileAsStream(long userId,
FileEntry fileEntry,
boolean incrementCounter)
|
static List<DLFileShortcut> |
getFileShortcuts(long groupId,
long folderId,
int status)
|
static int |
getFileShortcutsCount(long groupId,
long folderId,
int status)
|
static List<FileEntry> |
getNoAssetFileEntries()
|
static DLAppHelperLocalService |
getService()
|
static void |
moveFileEntry(FileEntry fileEntry)
|
static void |
moveFolder(Folder folder)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(DLAppHelperLocalService service)
Deprecated. |
static AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk)
|
static AssetEntry |
updateAsset(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
static void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
long assetClassPk)
|
static void |
updateFileEntry(long userId,
FileEntry fileEntry,
FileVersion fileVersion,
ServiceContext serviceContext)
|
static void |
updateFolder(Folder folder,
ServiceContext serviceContext)
|
static void |
updateStatus(long userId,
FileEntry fileEntry,
FileVersion latestFileVersion,
int status,
Map<String,Serializable> workflowContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLAppHelperLocalServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static void addFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void addFolder(Folder folder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void cancelCheckOut(long userId, FileEntry fileEntry, FileVersion destinationFileVersion, FileVersion draftFileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void checkAssetEntry(long userId, FileEntry fileEntry, FileVersion fileVersion) throws PortalException, SystemException
PortalException
SystemException
public static void deleteFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public static void deleteFolder(Folder folder) throws PortalException, SystemException
PortalException
SystemException
public static void getFileAsStream(long userId, FileEntry fileEntry, boolean incrementCounter) throws SystemException
SystemException
public static List<DLFileShortcut> getFileShortcuts(long groupId, long folderId, int status) throws SystemException
SystemException
public static int getFileShortcutsCount(long groupId, long folderId, int status) throws SystemException
SystemException
public static List<FileEntry> getNoAssetFileEntries()
public static void moveFileEntry(FileEntry fileEntry) throws PortalException, SystemException
PortalException
SystemException
public static void moveFolder(Folder folder) throws PortalException, SystemException
PortalException
SystemException
public static AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk) throws PortalException, SystemException
PortalException
SystemException
public static AssetEntry updateAsset(long userId, FileEntry fileEntry, FileVersion fileVersion, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
PortalException
SystemException
public static void updateFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, long assetClassPk) throws PortalException, SystemException
PortalException
SystemException
public static void updateFileEntry(long userId, FileEntry fileEntry, FileVersion fileVersion, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void updateFolder(Folder folder, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void updateStatus(long userId, FileEntry fileEntry, FileVersion latestFileVersion, int status, Map<String,Serializable> workflowContext) throws PortalException, SystemException
PortalException
SystemException
public static DLAppHelperLocalService getService()
public void setService(DLAppHelperLocalService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |