com.liferay.portlet.documentlibrary.service
Interface DLFileShortcutService
- All Superinterfaces:
- BaseService
- All Known Implementing Classes:
- DLFileShortcutServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface DLFileShortcutService- extends BaseService
Provides the remote service interface for DLFileShortcut. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
DLFileShortcutServiceUtil,
com.liferay.portlet.documentlibrary.service.base.DLFileShortcutServiceBaseImpl,
com.liferay.portlet.documentlibrary.service.impl.DLFileShortcutServiceImpl
addFileShortcut
DLFileShortcut addFileShortcut(long groupId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteFileShortcut
void deleteFileShortcut(long fileShortcutId)
throws PortalException
- Throws:
PortalException
getFileShortcut
@Transactional(propagation=SUPPORTS,
readOnly=true)
DLFileShortcut getFileShortcut(long fileShortcutId)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
updateFileShortcut
DLFileShortcut updateFileShortcut(long fileShortcutId,
long repositoryId,
long folderId,
long toFileEntryId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
updateFileShortcuts
void updateFileShortcuts(long oldToFileEntryId,
long newToFileEntryId)
throws PortalException
- Throws:
PortalException