public class OAuthClientEntryLocalServiceWrapper extends java.lang.Object implements OAuthClientEntryLocalService, com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>
OAuthClientEntryLocalService
.OAuthClientEntryLocalService
Constructor and Description |
---|
OAuthClientEntryLocalServiceWrapper() |
OAuthClientEntryLocalServiceWrapper(OAuthClientEntryLocalService oAuthClientEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
OAuthClientEntry |
addOAuthClientEntry(long userId,
java.lang.String authRequestParametersJSON,
java.lang.String authServerWellKnownURI,
java.lang.String infoJSON,
java.lang.String oidcUserInfoMapperJSON,
java.lang.String tokenRequestParametersJSON) |
OAuthClientEntry |
addOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
Adds the o auth client entry to the database.
|
OAuthClientEntry |
createOAuthClientEntry(long oAuthClientEntryId)
Creates a new o auth client entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
OAuthClientEntry |
deleteOAuthClientEntry(long oAuthClientEntryId)
Deletes the o auth client entry with the primary key from the database.
|
OAuthClientEntry |
deleteOAuthClientEntry(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId) |
OAuthClientEntry |
deleteOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
Deletes the o auth client entry from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
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.
|
OAuthClientEntry |
fetchOAuthClientEntry(long oAuthClientEntryId) |
OAuthClientEntry |
fetchOAuthClientEntry(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<OAuthClientEntry> |
getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId,
java.lang.String authServerWellKnownURISuffix) |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
java.util.List<OAuthClientEntry> |
getCompanyOAuthClientEntries(long companyId) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<OAuthClientEntry> |
getOAuthClientEntries(int start,
int end)
Returns a range of all the o auth client entries.
|
int |
getOAuthClientEntriesCount()
Returns the number of o auth client entries.
|
OAuthClientEntry |
getOAuthClientEntry(long oAuthClientEntryId)
Returns the o auth client entry with the primary key.
|
OAuthClientEntry |
getOAuthClientEntry(long companyId,
java.lang.String authServerWellKnownURI,
java.lang.String clientId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<OAuthClientEntry> |
getUserOAuthClientEntries(long userId) |
OAuthClientEntryLocalService |
getWrappedService() |
void |
setWrappedService(OAuthClientEntryLocalService oAuthClientEntryLocalService) |
OAuthClientEntry |
updateOAuthClientEntry(long oAuthClientEntryId,
java.lang.String authRequestParametersJSON,
java.lang.String authServerWellKnownURI,
java.lang.String infoJSON,
java.lang.String oidcUserInfoMapperJSON,
java.lang.String tokenRequestParametersJSON) |
OAuthClientEntry |
updateOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
Updates the o auth client entry in the database or adds it if it does not yet exist.
|
public OAuthClientEntryLocalServiceWrapper()
public OAuthClientEntryLocalServiceWrapper(OAuthClientEntryLocalService oAuthClientEntryLocalService)
public OAuthClientEntry addOAuthClientEntry(long userId, java.lang.String authRequestParametersJSON, java.lang.String authServerWellKnownURI, java.lang.String infoJSON, java.lang.String oidcUserInfoMapperJSON, java.lang.String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
addOAuthClientEntry
in interface OAuthClientEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public OAuthClientEntry addOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
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.
addOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntry
- the o auth client entrypublic OAuthClientEntry createOAuthClientEntry(long oAuthClientEntryId)
createOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntryId
- the primary key for the new o auth client entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface OAuthClientEntryLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public OAuthClientEntry deleteOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntryId
- the primary key of the o auth client entryPortalException
- if a o auth client entry with the primary key could not be foundpublic OAuthClientEntry deleteOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws com.liferay.portal.kernel.exception.PortalException
deleteOAuthClientEntry
in interface OAuthClientEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public OAuthClientEntry deleteOAuthClientEntry(OAuthClientEntry oAuthClientEntry) throws com.liferay.portal.kernel.exception.PortalException
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.
deleteOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntry
- the o auth client entryPortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface OAuthClientEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface OAuthClientEntryLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface OAuthClientEntryLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface OAuthClientEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface OAuthClientEntryLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl
.
dynamicQuery
in interface OAuthClientEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl
.
dynamicQuery
in interface OAuthClientEntryLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface OAuthClientEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface OAuthClientEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic OAuthClientEntry fetchOAuthClientEntry(long oAuthClientEntryId)
fetchOAuthClientEntry
in interface OAuthClientEntryLocalService
public OAuthClientEntry fetchOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
fetchOAuthClientEntry
in interface OAuthClientEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface OAuthClientEntryLocalService
public java.util.List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, java.lang.String authServerWellKnownURISuffix)
getAuthServerWellKnownURISuffixOAuthClientEntries
in interface OAuthClientEntryLocalService
public java.util.List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId)
getCompanyOAuthClientEntries
in interface OAuthClientEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface OAuthClientEntryLocalService
public java.util.List<OAuthClientEntry> getOAuthClientEntries(int start, int end)
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.oauth.client.persistence.model.impl.OAuthClientEntryModelImpl
.
getOAuthClientEntries
in interface OAuthClientEntryLocalService
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)public int getOAuthClientEntriesCount()
getOAuthClientEntriesCount
in interface OAuthClientEntryLocalService
public OAuthClientEntry getOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
getOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntryId
- the primary key of the o auth client entryPortalException
- if a o auth client entry with the primary key could not be foundpublic OAuthClientEntry getOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId) throws com.liferay.portal.kernel.exception.PortalException
getOAuthClientEntry
in interface OAuthClientEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface OAuthClientEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface OAuthClientEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public java.util.List<OAuthClientEntry> getUserOAuthClientEntries(long userId)
getUserOAuthClientEntries
in interface OAuthClientEntryLocalService
public OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, java.lang.String authRequestParametersJSON, java.lang.String authServerWellKnownURI, java.lang.String infoJSON, java.lang.String oidcUserInfoMapperJSON, java.lang.String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
updateOAuthClientEntry
in interface OAuthClientEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public OAuthClientEntry updateOAuthClientEntry(OAuthClientEntry oAuthClientEntry)
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.
updateOAuthClientEntry
in interface OAuthClientEntryLocalService
oAuthClientEntry
- the o auth client entrypublic com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public OAuthClientEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>
public void setWrappedService(OAuthClientEntryLocalService oAuthClientEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<OAuthClientEntryLocalService>