Interface EntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
EntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface EntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for Entry. 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:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddEntry(long groupId, long definitionId, String format, boolean schedulerRequest, Date startDate, Date endDate, boolean repeating, String recurrence, String emailNotifications, String emailDelivery, String portletId, String pageURL, String reportName, String reportParameters, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteAttachment(long companyId, long entryId, String fileName) deleteEntry(long entryId) getEntries(long groupId, String definitionName, String userName, Date createDateGT, Date createDateLT, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Entry> orderByComparator) intgetEntriesCount(long groupId, String definitionName, String userName, Date createDateGT, Date createDateLT, boolean andSearch) Returns the OSGi service identifier.voidsendEmails(long entryId, String fileName, String[] emailAddresses, boolean notification) voidunscheduleEntry(long entryId)
-
Method Details
-
addEntry
Entry addEntry(long groupId, long definitionId, String format, boolean schedulerRequest, Date startDate, Date endDate, boolean repeating, String recurrence, String emailNotifications, String emailDelivery, String portletId, String pageURL, String reportName, String reportParameters, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAttachment
void deleteAttachment(long companyId, long entryId, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<Entry> getEntries(long groupId, String definitionName, String userName, Date createDateGT, Date createDateLT, boolean andSearch, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<Entry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(long groupId, String definitionName, String userName, Date createDateGT, Date createDateLT, boolean andSearch) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
sendEmails
void sendEmails(long entryId, String fileName, String[] emailAddresses, boolean notification) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unscheduleEntry
void unscheduleEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-