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 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) |
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 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 tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
addOAuthClientEntry in interface OAuthClientEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 OAuthClientEntryLocalServiceoAuthClientEntry - the o auth client entrypublic OAuthClientEntry createOAuthClientEntry(long oAuthClientEntryId)
createOAuthClientEntry in interface OAuthClientEntryLocalServiceoAuthClientEntryId - 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 OAuthClientEntryLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic 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 OAuthClientEntryLocalServiceoAuthClientEntryId - 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 OAuthClientEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 OAuthClientEntryLocalServiceoAuthClientEntry - the o auth client entryPortalExceptionpublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface OAuthClientEntryLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface OAuthClientEntryLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface OAuthClientEntryLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface OAuthClientEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface OAuthClientEntryLocalServicedynamicQuery - 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 OAuthClientEntryLocalServicedynamicQuery - 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 OAuthClientEntryLocalServicedynamicQuery - 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 OAuthClientEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface OAuthClientEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic OAuthClientEntry fetchOAuthClientEntry(long oAuthClientEntryId)
fetchOAuthClientEntry in interface OAuthClientEntryLocalServicepublic OAuthClientEntry fetchOAuthClientEntry(long companyId, java.lang.String authServerWellKnownURI, java.lang.String clientId)
fetchOAuthClientEntry in interface OAuthClientEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface OAuthClientEntryLocalServicepublic java.util.List<OAuthClientEntry> getAuthServerWellKnownURISuffixOAuthClientEntries(long companyId, java.lang.String authServerWellKnownURISuffix)
getAuthServerWellKnownURISuffixOAuthClientEntries in interface OAuthClientEntryLocalServicepublic java.util.List<OAuthClientEntry> getCompanyOAuthClientEntries(long companyId)
getCompanyOAuthClientEntries in interface OAuthClientEntryLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface OAuthClientEntryLocalServicepublic 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 OAuthClientEntryLocalServicestart - 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 OAuthClientEntryLocalServicepublic OAuthClientEntry getOAuthClientEntry(long oAuthClientEntryId) throws com.liferay.portal.kernel.exception.PortalException
getOAuthClientEntry in interface OAuthClientEntryLocalServiceoAuthClientEntryId - 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 OAuthClientEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface OAuthClientEntryLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface OAuthClientEntryLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic java.util.List<OAuthClientEntry> getUserOAuthClientEntries(long userId)
getUserOAuthClientEntries in interface OAuthClientEntryLocalServicepublic OAuthClientEntry updateOAuthClientEntry(long oAuthClientEntryId, java.lang.String authRequestParametersJSON, java.lang.String authServerWellKnownURI, java.lang.String infoJSON, java.lang.String tokenRequestParametersJSON) throws com.liferay.portal.kernel.exception.PortalException
updateOAuthClientEntry in interface OAuthClientEntryLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 OAuthClientEntryLocalServiceoAuthClientEntry - the o auth client entrypublic 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>