com.liferay.saml.persistence.service.SamlIdpSpSessionLocalServiceWrapper 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 SamlIdpSpSessionLocalService}.
*
* @author Mika Koivisto
* @see SamlIdpSpSessionLocalService
* @generated
*/
public class SamlIdpSpSessionLocalServiceWrapper
implements SamlIdpSpSessionLocalService,
ServiceWrapper {
public SamlIdpSpSessionLocalServiceWrapper() {
this(null);
}
public SamlIdpSpSessionLocalServiceWrapper(
SamlIdpSpSessionLocalService samlIdpSpSessionLocalService) {
_samlIdpSpSessionLocalService = samlIdpSpSessionLocalService;
}
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
addSamlIdpSpSession(
long samlIdpSsoSessionId, String samlSpEntityId,
String nameIdFormat, String nameIdValue,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.addSamlIdpSpSession(
samlIdpSsoSessionId, samlSpEntityId, nameIdFormat, nameIdValue,
serviceContext);
}
/**
* Adds the saml idp sp session to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlIdpSpSessionLocalServiceImpl 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 samlIdpSpSession the saml idp sp session
* @return the saml idp sp session that was added
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
addSamlIdpSpSession(
com.liferay.saml.persistence.model.SamlIdpSpSession
samlIdpSpSession) {
return _samlIdpSpSessionLocalService.addSamlIdpSpSession(
samlIdpSpSession);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.createPersistedModel(
primaryKeyObj);
}
/**
* Creates a new saml idp sp session with the primary key. Does not add the saml idp sp session to the database.
*
* @param samlIdpSpSessionId the primary key for the new saml idp sp session
* @return the new saml idp sp session
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
createSamlIdpSpSession(long samlIdpSpSessionId) {
return _samlIdpSpSessionLocalService.createSamlIdpSpSession(
samlIdpSpSessionId);
}
/**
* @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 _samlIdpSpSessionLocalService.deletePersistedModel(
persistedModel);
}
/**
* Deletes the saml idp sp session with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlIdpSpSessionLocalServiceImpl 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 samlIdpSpSessionId the primary key of the saml idp sp session
* @return the saml idp sp session that was removed
* @throws PortalException if a saml idp sp session with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
deleteSamlIdpSpSession(long samlIdpSpSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.deleteSamlIdpSpSession(
samlIdpSpSessionId);
}
/**
* Deletes the saml idp sp session from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlIdpSpSessionLocalServiceImpl 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 samlIdpSpSession the saml idp sp session
* @return the saml idp sp session that was removed
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
deleteSamlIdpSpSession(
com.liferay.saml.persistence.model.SamlIdpSpSession
samlIdpSpSession) {
return _samlIdpSpSessionLocalService.deleteSamlIdpSpSession(
samlIdpSpSession);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlIdpSpSessionLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlIdpSpSessionLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _samlIdpSpSessionLocalService.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 _samlIdpSpSessionLocalService.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.SamlIdpSpSessionModelImpl
.
*
*
* @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 _samlIdpSpSessionLocalService.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.SamlIdpSpSessionModelImpl
.
*
*
* @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 _samlIdpSpSessionLocalService.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 _samlIdpSpSessionLocalService.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 _samlIdpSpSessionLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
fetchSamlIdpSpSession(long samlIdpSpSessionId) {
return _samlIdpSpSessionLocalService.fetchSamlIdpSpSession(
samlIdpSpSessionId);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _samlIdpSpSessionLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _samlIdpSpSessionLocalService.
getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _samlIdpSpSessionLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns the saml idp sp session with the primary key.
*
* @param samlIdpSpSessionId the primary key of the saml idp sp session
* @return the saml idp sp session
* @throws PortalException if a saml idp sp session with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
getSamlIdpSpSession(long samlIdpSpSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.getSamlIdpSpSession(
samlIdpSpSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
getSamlIdpSpSession(long samlIdpSsoSessionId, String samlSpEntityId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.getSamlIdpSpSession(
samlIdpSsoSessionId, samlSpEntityId);
}
/**
* Returns a range of all the saml idp sp sessions.
*
*
* 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.SamlIdpSpSessionModelImpl
.
*
*
* @param start the lower bound of the range of saml idp sp sessions
* @param end the upper bound of the range of saml idp sp sessions (not inclusive)
* @return the range of saml idp sp sessions
*/
@Override
public java.util.List
getSamlIdpSpSessions(int start, int end) {
return _samlIdpSpSessionLocalService.getSamlIdpSpSessions(start, end);
}
@Override
public java.util.List
getSamlIdpSpSessions(long samlIdpSsoSessionId) {
return _samlIdpSpSessionLocalService.getSamlIdpSpSessions(
samlIdpSsoSessionId);
}
/**
* Returns the number of saml idp sp sessions.
*
* @return the number of saml idp sp sessions
*/
@Override
public int getSamlIdpSpSessionsCount() {
return _samlIdpSpSessionLocalService.getSamlIdpSpSessionsCount();
}
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
updateModifiedDate(long samlIdpSsoSessionId, String samlSpEntityId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlIdpSpSessionLocalService.updateModifiedDate(
samlIdpSsoSessionId, samlSpEntityId);
}
/**
* Updates the saml idp sp session in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlIdpSpSessionLocalServiceImpl 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 samlIdpSpSession the saml idp sp session
* @return the saml idp sp session that was updated
*/
@Override
public com.liferay.saml.persistence.model.SamlIdpSpSession
updateSamlIdpSpSession(
com.liferay.saml.persistence.model.SamlIdpSpSession
samlIdpSpSession) {
return _samlIdpSpSessionLocalService.updateSamlIdpSpSession(
samlIdpSpSession);
}
@Override
public BasePersistence> getBasePersistence() {
return _samlIdpSpSessionLocalService.getBasePersistence();
}
@Override
public SamlIdpSpSessionLocalService getWrappedService() {
return _samlIdpSpSessionLocalService;
}
@Override
public void setWrappedService(
SamlIdpSpSessionLocalService samlIdpSpSessionLocalService) {
_samlIdpSpSessionLocalService = samlIdpSpSessionLocalService;
}
private SamlIdpSpSessionLocalService _samlIdpSpSessionLocalService;
}