Package com.liferay.audiences.service
Class AudiencesEntryServiceUtil
java.lang.Object
com.liferay.audiences.service.AudiencesEntryServiceUtil
Provides the remote service utility for AudiencesEntry. This utility wraps
com.liferay.audiences.service.impl.AudiencesEntryServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AudiencesEntryaddAudiencesEntry(String externalReferenceCode, String json, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AudiencesEntrydeleteAudiencesEntry(long audiencesEntryId) static List<AudiencesEntry> getAudiencesEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) static List<AudiencesEntry> getAudiencesEntries(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) static intgetAudiencesEntriesCount(long companyId) static intgetAudiencesEntriesCount(long companyId, String name) static AudiencesEntrygetAudiencesEntry(long audiencesEntryId) static StringReturns the OSGi service identifier.static AudiencesEntryServicestatic AudiencesEntryupdateAudiencesEntry(long audiencesEntryId, String json, String name)
-
Constructor Details
-
AudiencesEntryServiceUtil
public AudiencesEntryServiceUtil()
-
-
Method Details
-
addAudiencesEntry
public static AudiencesEntry addAudiencesEntry(String externalReferenceCode, String json, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteAudiencesEntry
public static AudiencesEntry deleteAudiencesEntry(long audiencesEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntries
public static List<AudiencesEntry> getAudiencesEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntries
public static List<AudiencesEntry> getAudiencesEntries(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntriesCount
public static int getAudiencesEntriesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntriesCount
public static int getAudiencesEntriesCount(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntry
public static AudiencesEntry getAudiencesEntry(long audiencesEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateAudiencesEntry
public static AudiencesEntry updateAudiencesEntry(long audiencesEntryId, String json, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-