Liferay 7.0-ce-a2

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

Method Summary
 DLFileShortcut addFileShortcut(long groupId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void deleteFileShortcut(long fileShortcutId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DLFileShortcut getFileShortcut(long fileShortcutId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 DLFileShortcut updateFileShortcut(long fileShortcutId, long repositoryId, long folderId, long toFileEntryId, ServiceContext serviceContext)
           
 void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
           
 

Method Detail

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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getFileShortcut

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DLFileShortcut getFileShortcut(long fileShortcutId)
                               throws PortalException
Throws:
PortalException

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

Liferay 7.0-ce-a2