Class 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>
AudiencesEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionAudiencesEntryLocalServiceWrapper(AudiencesEntryLocalService audiencesEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAudiencesEntry(AudiencesEntry audiencesEntry) Adds the audiences entry to the database.addAudiencesEntry(String externalReferenceCode, String json, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext) createAudiencesEntry(long audiencesEntryId) Creates a new audiences entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteAudiencesEntry(long audiencesEntryId) Deletes the audiences entry with the primary key from the database.deleteAudiencesEntry(AudiencesEntry audiencesEntry) Deletes the audiences entry from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<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.<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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchAudiencesEntry(long audiencesEntryId) fetchAudiencesEntryByExternalReferenceCode(String externalReferenceCode, long companyId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerygetAudiencesEntries(int start, int end) Returns a range of all the audiences entries.getAudiencesEntries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) getAudiencesEntries(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AudiencesEntry> orderByComparator) intReturns the number of audiences entries.intgetAudiencesEntriesCount(long companyId) intgetAudiencesEntriesCount(long companyId, String name) getAudiencesEntry(long audiencesEntryId) Returns the audiences entry with the primary key.getAudiencesEntryByExternalReferenceCode(String externalReferenceCode, long companyId) com.liferay.portal.kernel.service.persistence.BasePersistence<?> com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(AudiencesEntryLocalService audiencesEntryLocalService) updateAudiencesEntry(long audiencesEntryId, String json, String name) updateAudiencesEntry(AudiencesEntry audiencesEntry) Updates the audiences entry in the database or adds it if it does not yet exist.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQuery, dslQueryCount, fetchPersistedModel, fetchPersistedModels
-
Constructor Details
-
AudiencesEntryLocalServiceWrapper
public AudiencesEntryLocalServiceWrapper() -
AudiencesEntryLocalServiceWrapper
-
-
Method Details
-
addAudiencesEntry
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:
addAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
addAudiencesEntryin interfaceAudiencesEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createAudiencesEntry
Creates a new audiences entry with the primary key. Does not add the audiences entry to the database.- Specified by:
createAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
createPersistedModelin interfaceAudiencesEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
deleteAudiencesEntry
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:
deleteAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
deleteAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
deletePersistedModelin interfaceAudiencesEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceAudiencesEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceAudiencesEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceAudiencesEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceAudiencesEntryLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.audiences.model.impl.AudiencesEntryModelImpl.- Specified by:
dynamicQueryin interfaceAudiencesEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.audiences.model.impl.AudiencesEntryModelImpl.- Specified by:
dynamicQueryin interfaceAudiencesEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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:
dynamicQueryCountin interfaceAudiencesEntryLocalService- 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:
dynamicQueryCountin interfaceAudiencesEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAudiencesEntry
- Specified by:
fetchAudiencesEntryin interfaceAudiencesEntryLocalService
-
fetchAudiencesEntryByExternalReferenceCode
public AudiencesEntry fetchAudiencesEntryByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchAudiencesEntryByExternalReferenceCodein interfaceAudiencesEntryLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceAudiencesEntryLocalService
-
getAudiencesEntries
Returns a range of all the audiences entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.audiences.model.impl.AudiencesEntryModelImpl.- Specified by:
getAudiencesEntriesin interfaceAudiencesEntryLocalService- Parameters:
start- the lower bound of the range of audiences entriesend- 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:
getAudiencesEntriesin interfaceAudiencesEntryLocalService
-
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:
getAudiencesEntriesin interfaceAudiencesEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAudiencesEntriesCount
public int getAudiencesEntriesCount()Returns the number of audiences entries.- Specified by:
getAudiencesEntriesCountin interfaceAudiencesEntryLocalService- Returns:
- the number of audiences entries
-
getAudiencesEntriesCount
public int getAudiencesEntriesCount(long companyId) - Specified by:
getAudiencesEntriesCountin interfaceAudiencesEntryLocalService
-
getAudiencesEntriesCount
- Specified by:
getAudiencesEntriesCountin interfaceAudiencesEntryLocalService
-
getAudiencesEntry
public AudiencesEntry getAudiencesEntry(long audiencesEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the audiences entry with the primary key.- Specified by:
getAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
getAudiencesEntryByExternalReferenceCodein interfaceAudiencesEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceAudiencesEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceAudiencesEntryLocalService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfacecom.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:
getPersistedModelin interfaceAudiencesEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
updateAudiencesEntry
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:
updateAudiencesEntryin interfaceAudiencesEntryLocalService- 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:
updateAudiencesEntryin interfaceAudiencesEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<AudiencesEntryLocalService>
-