Class OAuthClientEntryLocalServiceWrapper
- All Implemented Interfaces:
OAuthClientEntryLocalService,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<OAuthClientEntryLocalService>
OAuthClientEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuthClientEntryLocalServiceWrapper(OAuthClientEntryLocalService oAuthClientEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddOAuthClientEntry(OAuthClientEntry oAuthClientEntry) Adds the o auth client entry to the database.addOAuthClientEntry(String externalReferenceCode, long userId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) createOAuthClientEntry(long oAuthClientEntryId) Creates a new o auth client entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteOAuthClientEntry(long oAuthClientEntryId) Deletes the o auth client entry with the primary key from the database.deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) deleteOAuthClientEntry(OAuthClientEntry oAuthClientEntry) Deletes the o auth client 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.fetchOAuthClientEntry(long oAuthClientEntryId) fetchOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) fetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) fetchOAuthClientEntryByUuidAndCompanyId(String uuid, long companyId) Returns the o auth client entry with the matching UUID and company.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerygetAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) com.liferay.portal.kernel.service.persistence.BasePersistence<?> getCompanyOAuthClientEntries(long companyId) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetOAuthClientEntries(int start, int end) Returns a range of all the o auth client entries.intReturns the number of o auth client entries.getOAuthClientEntry(long oAuthClientEntryId) Returns the o auth client entry with the primary key.getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) getOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) getOAuthClientEntryByUuidAndCompanyId(String uuid, long companyId) Returns the o auth client entry with the matching UUID and company.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUserOAuthClientEntries(long userId) voidsetWrappedService(OAuthClientEntryLocalService oAuthClientEntryLocalService) updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) updateOAuthClientEntry(OAuthClientEntry oAuthClientEntry) Updates the o auth client 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
-
OAuthClientEntryLocalServiceWrapper
public OAuthClientEntryLocalServiceWrapper() -
OAuthClientEntryLocalServiceWrapper
public OAuthClientEntryLocalServiceWrapper(OAuthClientEntryLocalService oAuthClientEntryLocalService)
-
-
Method Details
-
addOAuthClientEntry
Adds the o auth client entry to the database. Also notifies the appropriate model listeners.Important: Inspect OAuthClientEntryLocalServiceImpl 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:
addOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntry- the o auth client entry- Returns:
- the o auth client entry that was added
-
addOAuthClientEntry
public OAuthClientEntry addOAuthClientEntry(String externalReferenceCode, long userId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOAuthClientEntryin interfaceOAuthClientEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createOAuthClientEntry
Creates a new o auth client entry with the primary key. Does not add the o auth client entry to the database.- Specified by:
createOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntryId- the primary key for the new o auth client entry- Returns:
- the new o auth client entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceOAuthClientEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
deleteOAuthClientEntry
public OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the o auth client entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect OAuthClientEntryLocalServiceImpl 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:
deleteOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry that was removed
-
deleteOAuthClientEntry
public OAuthClientEntry deleteOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteOAuthClientEntryin interfaceOAuthClientEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteOAuthClientEntry
public OAuthClientEntry deleteOAuthClientEntry(OAuthClientEntry oAuthClientEntry) throws com.liferay.portal.kernel.exception.PortalException Deletes the o auth client entry from the database. Also notifies the appropriate model listeners.Important: Inspect OAuthClientEntryLocalServiceImpl 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:
deleteOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntry- the o auth client entry- Returns:
- the o auth client 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 interfaceOAuthClientEntryLocalService- 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 interfaceOAuthClientEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceOAuthClientEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceOAuthClientEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceOAuthClientEntryLocalService- 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Specified by:
dynamicQueryin interfaceOAuthClientEntryLocalService- 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Specified by:
dynamicQueryin interfaceOAuthClientEntryLocalService- 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 interfaceOAuthClientEntryLocalService- 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 interfaceOAuthClientEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchOAuthClientEntry
- Specified by:
fetchOAuthClientEntryin interfaceOAuthClientEntryLocalService
-
fetchOAuthClientEntry
public OAuthClientEntry fetchOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) - Specified by:
fetchOAuthClientEntryin interfaceOAuthClientEntryLocalService
-
fetchOAuthClientEntryByExternalReferenceCode
public OAuthClientEntry fetchOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchOAuthClientEntryByExternalReferenceCodein interfaceOAuthClientEntryLocalService
-
fetchOAuthClientEntryByUuidAndCompanyId
Returns the o auth client entry with the matching UUID and company.- Specified by:
fetchOAuthClientEntryByUuidAndCompanyIdin interfaceOAuthClientEntryLocalService- Parameters:
uuid- the o auth client entry's UUIDcompanyId- the primary key of the company- Returns:
- the matching o auth client entry, or
nullif a matching o auth client entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceOAuthClientEntryLocalService
-
getAuthServerWellKnownURISuffixOAuthClientEntries
public List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, String authServerWellKnownURISuffix) - Specified by:
getAuthServerWellKnownURISuffixOAuthClientEntriesin interfaceOAuthClientEntryLocalService
-
getCompanyOAuthClientEntries
- Specified by:
getCompanyOAuthClientEntriesin interfaceOAuthClientEntryLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceOAuthClientEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceOAuthClientEntryLocalService
-
getOAuthClientEntries
Returns a range of all the o auth client 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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl.- Specified by:
getOAuthClientEntriesin interfaceOAuthClientEntryLocalService- Parameters:
start- the lower bound of the range of o auth client entriesend- the upper bound of the range of o auth client entries (not inclusive)- Returns:
- the range of o auth client entries
-
getOAuthClientEntriesCount
public int getOAuthClientEntriesCount()Returns the number of o auth client entries.- Specified by:
getOAuthClientEntriesCountin interfaceOAuthClientEntryLocalService- Returns:
- the number of o auth client entries
-
getOAuthClientEntry
public OAuthClientEntry getOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException Returns the o auth client entry with the primary key.- Specified by:
getOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntryId- the primary key of the o auth client entry- Returns:
- the o auth client entry
-
getOAuthClientEntry
public OAuthClientEntry getOAuthClientEntry(long companyId, String authServerWellKnownURI, String clientId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOAuthClientEntryin interfaceOAuthClientEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOAuthClientEntryByExternalReferenceCode
public OAuthClientEntry getOAuthClientEntryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getOAuthClientEntryByExternalReferenceCodein interfaceOAuthClientEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOAuthClientEntryByUuidAndCompanyId
public OAuthClientEntry getOAuthClientEntryByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the o auth client entry with the matching UUID and company.- Specified by:
getOAuthClientEntryByUuidAndCompanyIdin interfaceOAuthClientEntryLocalService- Parameters:
uuid- the o auth client entry's UUIDcompanyId- the primary key of the company- Returns:
- the matching o auth client entry
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Specified by:
getOSGiServiceIdentifierin interfaceOAuthClientEntryLocalService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>- 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 interfaceOAuthClientEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getUserOAuthClientEntries
- Specified by:
getUserOAuthClientEntriesin interfaceOAuthClientEntryLocalService
-
updateOAuthClientEntry
public OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, String authRequestParametersJSON, String authServerWellKnownURI, String customClaimsJSON, String infoJSON, String matcherField, long metadataCacheTime, String oidcUserInfoMapperJSON, int tokenConnectionTimeout, String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateOAuthClientEntryin interfaceOAuthClientEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateOAuthClientEntry
Updates the o auth client entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect OAuthClientEntryLocalServiceImpl 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:
updateOAuthClientEntryin interfaceOAuthClientEntryLocalService- Parameters:
oAuthClientEntry- the o auth client entry- Returns:
- the o auth client entry that was updated
-
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<OAuthClientEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>
-