com.liferay.saml.persistence.service.SamlSpMessageLocalServiceWrapper Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.saml.persistence.service;
import com.liferay.portal.kernel.service.ServiceWrapper;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
/**
* Provides a wrapper for {@link SamlSpMessageLocalService}.
*
* @author Mika Koivisto
* @see SamlSpMessageLocalService
* @generated
*/
public class SamlSpMessageLocalServiceWrapper
implements SamlSpMessageLocalService,
ServiceWrapper {
public SamlSpMessageLocalServiceWrapper() {
this(null);
}
public SamlSpMessageLocalServiceWrapper(
SamlSpMessageLocalService samlSpMessageLocalService) {
_samlSpMessageLocalService = samlSpMessageLocalService;
}
/**
* Adds the saml sp message to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpMessageLocalServiceImpl 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.
*
*
* @param samlSpMessage the saml sp message
* @return the saml sp message that was added
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage addSamlSpMessage(
com.liferay.saml.persistence.model.SamlSpMessage samlSpMessage) {
return _samlSpMessageLocalService.addSamlSpMessage(samlSpMessage);
}
@Override
public com.liferay.saml.persistence.model.SamlSpMessage addSamlSpMessage(
String samlIdpEntityId, String samlIdpResponseKey,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext) {
return _samlSpMessageLocalService.addSamlSpMessage(
samlIdpEntityId, samlIdpResponseKey, expirationDate,
serviceContext);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.createPersistedModel(primaryKeyObj);
}
/**
* Creates a new saml sp message with the primary key. Does not add the saml sp message to the database.
*
* @param samlSpMessageId the primary key for the new saml sp message
* @return the new saml sp message
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage createSamlSpMessage(
long samlSpMessageId) {
return _samlSpMessageLocalService.createSamlSpMessage(samlSpMessageId);
}
@Override
public void deleteExpiredSamlSpMessages() {
_samlSpMessageLocalService.deleteExpiredSamlSpMessages();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.deletePersistedModel(persistedModel);
}
/**
* Deletes the saml sp message with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpMessageLocalServiceImpl 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.
*
*
* @param samlSpMessageId the primary key of the saml sp message
* @return the saml sp message that was removed
* @throws PortalException if a saml sp message with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage deleteSamlSpMessage(
long samlSpMessageId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.deleteSamlSpMessage(samlSpMessageId);
}
/**
* Deletes the saml sp message from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpMessageLocalServiceImpl 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.
*
*
* @param samlSpMessage the saml sp message
* @return the saml sp message that was removed
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage deleteSamlSpMessage(
com.liferay.saml.persistence.model.SamlSpMessage samlSpMessage) {
return _samlSpMessageLocalService.deleteSamlSpMessage(samlSpMessage);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlSpMessageLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlSpMessageLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _samlSpMessageLocalService.dynamicQuery();
}
/**
* Performs a dynamic query on the database and returns the matching rows.
*
* @param dynamicQuery the dynamic query
* @return the matching rows
*/
@Override
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
return _samlSpMessageLocalService.dynamicQuery(dynamicQuery);
}
/**
* 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.saml.persistence.model.impl.SamlSpMessageModelImpl
.
*
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @return the range of matching rows
*/
@Override
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end) {
return _samlSpMessageLocalService.dynamicQuery(
dynamicQuery, start, end);
}
/**
* 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.saml.persistence.model.impl.SamlSpMessageModelImpl
.
*
*
* @param dynamicQuery the dynamic query
* @param start the lower bound of the range of model instances
* @param end the upper bound of the range of model instances (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching rows
*/
@Override
public java.util.List dynamicQuery(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) {
return _samlSpMessageLocalService.dynamicQuery(
dynamicQuery, start, end, orderByComparator);
}
/**
* Returns the number of rows matching the dynamic query.
*
* @param dynamicQuery the dynamic query
* @return the number of rows matching the dynamic query
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
return _samlSpMessageLocalService.dynamicQueryCount(dynamicQuery);
}
/**
* Returns the number of rows matching the dynamic query.
*
* @param dynamicQuery the dynamic query
* @param projection the projection to apply to the query
* @return the number of rows matching the dynamic query
*/
@Override
public long dynamicQueryCount(
com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection) {
return _samlSpMessageLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public com.liferay.saml.persistence.model.SamlSpMessage fetchSamlSpMessage(
long samlSpMessageId) {
return _samlSpMessageLocalService.fetchSamlSpMessage(samlSpMessageId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpMessage fetchSamlSpMessage(
String samlIdpEntityId, String samlIdpResponseKey) {
return _samlSpMessageLocalService.fetchSamlSpMessage(
samlIdpEntityId, samlIdpResponseKey);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _samlSpMessageLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _samlSpMessageLocalService.getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _samlSpMessageLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns the saml sp message with the primary key.
*
* @param samlSpMessageId the primary key of the saml sp message
* @return the saml sp message
* @throws PortalException if a saml sp message with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage getSamlSpMessage(
long samlSpMessageId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.getSamlSpMessage(samlSpMessageId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpMessage getSamlSpMessage(
String samlIdpEntityId, String samlIdpResponseKey)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpMessageLocalService.getSamlSpMessage(
samlIdpEntityId, samlIdpResponseKey);
}
/**
* Returns a range of all the saml sp messages.
*
*
* 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.saml.persistence.model.impl.SamlSpMessageModelImpl
.
*
*
* @param start the lower bound of the range of saml sp messages
* @param end the upper bound of the range of saml sp messages (not inclusive)
* @return the range of saml sp messages
*/
@Override
public java.util.List
getSamlSpMessages(int start, int end) {
return _samlSpMessageLocalService.getSamlSpMessages(start, end);
}
/**
* Returns the number of saml sp messages.
*
* @return the number of saml sp messages
*/
@Override
public int getSamlSpMessagesCount() {
return _samlSpMessageLocalService.getSamlSpMessagesCount();
}
/**
* Updates the saml sp message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpMessageLocalServiceImpl 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.
*
*
* @param samlSpMessage the saml sp message
* @return the saml sp message that was updated
*/
@Override
public com.liferay.saml.persistence.model.SamlSpMessage updateSamlSpMessage(
com.liferay.saml.persistence.model.SamlSpMessage samlSpMessage) {
return _samlSpMessageLocalService.updateSamlSpMessage(samlSpMessage);
}
@Override
public BasePersistence> getBasePersistence() {
return _samlSpMessageLocalService.getBasePersistence();
}
@Override
public SamlSpMessageLocalService getWrappedService() {
return _samlSpMessageLocalService;
}
@Override
public void setWrappedService(
SamlSpMessageLocalService samlSpMessageLocalService) {
_samlSpMessageLocalService = samlSpMessageLocalService;
}
private SamlSpMessageLocalService _samlSpMessageLocalService;
}