com.liferay.saml.persistence.service.SamlSpSessionLocalServiceWrapper 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 SamlSpSessionLocalService}.
*
* @author Mika Koivisto
* @see SamlSpSessionLocalService
* @generated
*/
public class SamlSpSessionLocalServiceWrapper
implements SamlSpSessionLocalService,
ServiceWrapper {
public SamlSpSessionLocalServiceWrapper() {
this(null);
}
public SamlSpSessionLocalServiceWrapper(
SamlSpSessionLocalService samlSpSessionLocalService) {
_samlSpSessionLocalService = samlSpSessionLocalService;
}
/**
* Adds the saml sp session to the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpSessionLocalServiceImpl 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 samlSpSession the saml sp session
* @return the saml sp session that was added
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession addSamlSpSession(
com.liferay.saml.persistence.model.SamlSpSession samlSpSession) {
return _samlSpSessionLocalService.addSamlSpSession(samlSpSession);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession addSamlSpSession(
String assertionXml, String jSessionId, String nameIdFormat,
String nameIdNameQualifier, String nameIdSPNameQualifier,
String nameIdValue, String samlIdpEntityId, String samlSpSessionKey,
String sessionIndex,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.addSamlSpSession(
assertionXml, jSessionId, nameIdFormat, nameIdNameQualifier,
nameIdSPNameQualifier, nameIdValue, samlIdpEntityId,
samlSpSessionKey, sessionIndex, serviceContext);
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.createPersistedModel(primaryKeyObj);
}
/**
* Creates a new saml sp session with the primary key. Does not add the saml sp session to the database.
*
* @param samlSpSessionId the primary key for the new saml sp session
* @return the new saml sp session
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession createSamlSpSession(
long samlSpSessionId) {
return _samlSpSessionLocalService.createSamlSpSession(samlSpSessionId);
}
/**
* @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 _samlSpSessionLocalService.deletePersistedModel(persistedModel);
}
/**
* Deletes the saml sp session with the primary key from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpSessionLocalServiceImpl 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 samlSpSessionId the primary key of the saml sp session
* @return the saml sp session that was removed
* @throws PortalException if a saml sp session with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession deleteSamlSpSession(
long samlSpSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.deleteSamlSpSession(samlSpSessionId);
}
/**
* Deletes the saml sp session from the database. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpSessionLocalServiceImpl 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 samlSpSession the saml sp session
* @return the saml sp session that was removed
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession deleteSamlSpSession(
com.liferay.saml.persistence.model.SamlSpSession samlSpSession) {
return _samlSpSessionLocalService.deleteSamlSpSession(samlSpSession);
}
@Override
public T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlSpSessionLocalService.dslQuery(dslQuery);
}
@Override
public int dslQueryCount(
com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) {
return _samlSpSessionLocalService.dslQueryCount(dslQuery);
}
@Override
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
return _samlSpSessionLocalService.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 _samlSpSessionLocalService.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.SamlSpSessionModelImpl
.
*
*
* @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 _samlSpSessionLocalService.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.SamlSpSessionModelImpl
.
*
*
* @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 _samlSpSessionLocalService.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 _samlSpSessionLocalService.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 _samlSpSessionLocalService.dynamicQueryCount(
dynamicQuery, projection);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession fetchSamlSpSession(
long samlSpSessionId) {
return _samlSpSessionLocalService.fetchSamlSpSession(samlSpSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
fetchSamlSpSessionByJSessionId(String jSessionId) {
return _samlSpSessionLocalService.fetchSamlSpSessionByJSessionId(
jSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
fetchSamlSpSessionBySamlSpSessionKey(String samlSpSessionKey) {
return _samlSpSessionLocalService.fetchSamlSpSessionBySamlSpSessionKey(
samlSpSessionKey);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
fetchSamlSpSessionBySessionIndex(long companyId, String sessionIndex) {
return _samlSpSessionLocalService.fetchSamlSpSessionBySessionIndex(
companyId, sessionIndex);
}
@Override
public java.util.List
fetchSamlSpSessionsBySessionIndex(long companyId, String sessionIndex) {
return _samlSpSessionLocalService.fetchSamlSpSessionsBySessionIndex(
companyId, sessionIndex);
}
@Override
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
getActionableDynamicQuery() {
return _samlSpSessionLocalService.getActionableDynamicQuery();
}
@Override
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getIndexableActionableDynamicQuery() {
return _samlSpSessionLocalService.getIndexableActionableDynamicQuery();
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
@Override
public String getOSGiServiceIdentifier() {
return _samlSpSessionLocalService.getOSGiServiceIdentifier();
}
/**
* @throws PortalException
*/
@Override
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.getPersistedModel(primaryKeyObj);
}
/**
* Returns the saml sp session with the primary key.
*
* @param samlSpSessionId the primary key of the saml sp session
* @return the saml sp session
* @throws PortalException if a saml sp session with the primary key could not be found
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession getSamlSpSession(
long samlSpSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.getSamlSpSession(samlSpSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
getSamlSpSessionByJSessionId(String jSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.getSamlSpSessionByJSessionId(
jSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
getSamlSpSessionBySamlSpSessionKey(String samlSpSessionKey)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.getSamlSpSessionBySamlSpSessionKey(
samlSpSessionKey);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession
getSamlSpSessionBySessionIndex(long companyId, String sessionIndex)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.getSamlSpSessionBySessionIndex(
companyId, sessionIndex);
}
/**
* Returns a range of all the saml 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.SamlSpSessionModelImpl
.
*
*
* @param start the lower bound of the range of saml sp sessions
* @param end the upper bound of the range of saml sp sessions (not inclusive)
* @return the range of saml sp sessions
*/
@Override
public java.util.List
getSamlSpSessions(int start, int end) {
return _samlSpSessionLocalService.getSamlSpSessions(start, end);
}
@Override
public java.util.List
getSamlSpSessions(
long companyId, String nameIdFormat, String nameIdNameQualifier,
String nameIdSPNameQualifier, String nameIdValue,
String samlIdpEntityId) {
return _samlSpSessionLocalService.getSamlSpSessions(
companyId, nameIdFormat, nameIdNameQualifier, nameIdSPNameQualifier,
nameIdValue, samlIdpEntityId);
}
/**
* Returns the number of saml sp sessions.
*
* @return the number of saml sp sessions
*/
@Override
public int getSamlSpSessionsCount() {
return _samlSpSessionLocalService.getSamlSpSessionsCount();
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession updateSamlSpSession(
long samlSpSessionId, String jSessionId)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.updateSamlSpSession(
samlSpSessionId, jSessionId);
}
@Override
public com.liferay.saml.persistence.model.SamlSpSession updateSamlSpSession(
long samlSpSessionId, String assertionXml, String jSessionId,
String nameIdFormat, String nameIdNameQualifier,
String nameIdSPNameQualifier, String nameIdValue,
String samlIdpEntityId, String samlSpSessionKey,
String sessionIndex,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return _samlSpSessionLocalService.updateSamlSpSession(
samlSpSessionId, assertionXml, jSessionId, nameIdFormat,
nameIdNameQualifier, nameIdSPNameQualifier, nameIdValue,
samlIdpEntityId, samlSpSessionKey, sessionIndex, serviceContext);
}
/**
* Updates the saml sp session in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
*
*
* Important: Inspect SamlSpSessionLocalServiceImpl 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 samlSpSession the saml sp session
* @return the saml sp session that was updated
*/
@Override
public com.liferay.saml.persistence.model.SamlSpSession updateSamlSpSession(
com.liferay.saml.persistence.model.SamlSpSession samlSpSession) {
return _samlSpSessionLocalService.updateSamlSpSession(samlSpSession);
}
@Override
public BasePersistence> getBasePersistence() {
return _samlSpSessionLocalService.getBasePersistence();
}
@Override
public SamlSpSessionLocalService getWrappedService() {
return _samlSpSessionLocalService;
}
@Override
public void setWrappedService(
SamlSpSessionLocalService samlSpSessionLocalService) {
_samlSpSessionLocalService = samlSpSessionLocalService;
}
private SamlSpSessionLocalService _samlSpSessionLocalService;
}