Class AudiencesEntryLocalServiceWrapper

java.lang.Object
com.liferay.audiences.service.AudiencesEntryLocalServiceWrapper
All Implemented Interfaces:
AudiencesEntryLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>

public class AudiencesEntryLocalServiceWrapper extends Object implements AudiencesEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>
Provides a wrapper for AudiencesEntryLocalService.
See Also:
Generated:
  • Constructor Details

    • AudiencesEntryLocalServiceWrapper

      public AudiencesEntryLocalServiceWrapper()
    • AudiencesEntryLocalServiceWrapper

      public AudiencesEntryLocalServiceWrapper(AudiencesEntryLocalService audiencesEntryLocalService)
  • Method Details

    • addAudiencesEntry

      public AudiencesEntry addAudiencesEntry(AudiencesEntry audiencesEntry)
      Adds the audiences entry to the database. Also notifies the appropriate model listeners.

      Important: Inspect AudiencesEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      addAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntry - the audiences entry
      Returns:
      the audiences entry that was added
    • addAudiencesEntry

      public AudiencesEntry addAudiencesEntry(String externalReferenceCode, String json, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAudiencesEntry in interface AudiencesEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createAudiencesEntry

      public AudiencesEntry createAudiencesEntry(long audiencesEntryId)
      Creates a new audiences entry with the primary key. Does not add the audiences entry to the database.
      Specified by:
      createAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntryId - the primary key for the new audiences entry
      Returns:
      the new audiences entry
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface AudiencesEntryLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • deleteAudiencesEntry

      public AudiencesEntry deleteAudiencesEntry(AudiencesEntry audiencesEntry)
      Deletes the audiences entry from the database. Also notifies the appropriate model listeners.

      Important: Inspect AudiencesEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntry - the audiences entry
      Returns:
      the audiences entry that was removed
    • deleteAudiencesEntry

      public AudiencesEntry deleteAudiencesEntry(long audiencesEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the audiences entry with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect AudiencesEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntryId - the primary key of the audiences entry
      Returns:
      the audiences entry that was removed
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface AudiencesEntryLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface AudiencesEntryLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface AudiencesEntryLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface AudiencesEntryLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface AudiencesEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.audiences.model.impl.AudiencesEntryModelImpl.

      Specified by:
      dynamicQuery in interface AudiencesEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.audiences.model.impl.AudiencesEntryModelImpl.

      Specified by:
      dynamicQuery in interface AudiencesEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface AudiencesEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface AudiencesEntryLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchAudiencesEntry

      public AudiencesEntry fetchAudiencesEntry(long audiencesEntryId)
      Specified by:
      fetchAudiencesEntry in interface AudiencesEntryLocalService
    • fetchAudiencesEntryByExternalReferenceCode

      public AudiencesEntry fetchAudiencesEntryByExternalReferenceCode(String externalReferenceCode, long companyId)
      Specified by:
      fetchAudiencesEntryByExternalReferenceCode in interface AudiencesEntryLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface AudiencesEntryLocalService
    • getAudiencesEntries

      public List<AudiencesEntry> getAudiencesEntries(int start, int end)
      Returns a range of all the audiences entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.audiences.model.impl.AudiencesEntryModelImpl.

      Specified by:
      getAudiencesEntries in interface AudiencesEntryLocalService
      Parameters:
      start - the lower bound of the range of audiences entries
      end - the upper bound of the range of audiences entries (not inclusive)
      Returns:
      the range of audiences entries
    • getAudiencesEntries

      public List<AudiencesEntry> getAudiencesEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator)
      Specified by:
      getAudiencesEntries in interface AudiencesEntryLocalService
    • getAudiencesEntries

      public 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
      Specified by:
      getAudiencesEntries in interface AudiencesEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAudiencesEntriesCount

      public int getAudiencesEntriesCount()
      Returns the number of audiences entries.
      Specified by:
      getAudiencesEntriesCount in interface AudiencesEntryLocalService
      Returns:
      the number of audiences entries
    • getAudiencesEntriesCount

      public int getAudiencesEntriesCount(long companyId)
      Specified by:
      getAudiencesEntriesCount in interface AudiencesEntryLocalService
    • getAudiencesEntriesCount

      public int getAudiencesEntriesCount(long companyId, String name)
      Specified by:
      getAudiencesEntriesCount in interface AudiencesEntryLocalService
    • getAudiencesEntry

      public AudiencesEntry getAudiencesEntry(long audiencesEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the audiences entry with the primary key.
      Specified by:
      getAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntryId - the primary key of the audiences entry
      Returns:
      the audiences entry
    • getAudiencesEntryByExternalReferenceCode

      public AudiencesEntry getAudiencesEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAudiencesEntryByExternalReferenceCode in interface AudiencesEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface AudiencesEntryLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface AudiencesEntryLocalService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface AudiencesEntryLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • updateAudiencesEntry

      public AudiencesEntry updateAudiencesEntry(AudiencesEntry audiencesEntry)
      Updates the audiences entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect AudiencesEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      updateAudiencesEntry in interface AudiencesEntryLocalService
      Parameters:
      audiencesEntry - the audiences entry
      Returns:
      the audiences entry that was updated
    • updateAudiencesEntry

      public AudiencesEntry updateAudiencesEntry(long audiencesEntryId, String json, String name) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAudiencesEntry in interface AudiencesEntryLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public AudiencesEntryLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>
    • setWrappedService

      public void setWrappedService(AudiencesEntryLocalService audiencesEntryLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>