Class OAuth2ApplicationScopeAliasesLocalServiceWrapper
- All Implemented Interfaces:
OAuth2ApplicationScopeAliasesLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<OAuth2ApplicationScopeAliasesLocalService>
OAuth2ApplicationScopeAliasesLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2ApplicationScopeAliasesLocalServiceWrapper(OAuth2ApplicationScopeAliasesLocalService oAuth2ApplicationScopeAliasesLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, Consumer<OAuth2ScopeBuilder> builderConsumer) addOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, List<String> scopeAliasesList) addOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Adds the o auth2 application scope aliases to the database.createOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) Creates a new o auth2 application scope aliases with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) Deletes the o auth2 application scope aliases with the primary key from the database.deleteOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Deletes the o auth2 application scope aliases 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.fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationId, List<String> scopeAliasesList) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) Returns the o auth2 application scope aliases with the primary key.getOAuth2ApplicationScopeAliaseses(int start, int end) Returns a range of all the o auth2 application scope aliaseses.getOAuth2ApplicationScopeAliaseses(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) intReturns the number of o auth2 application scope aliaseses.Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getScopeAliasesList(long oAuth2ApplicationScopeAliasesId) voidsetWrappedService(OAuth2ApplicationScopeAliasesLocalService oAuth2ApplicationScopeAliasesLocalService) updateOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Updates the o auth2 application scope aliases 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
fetchPersistedModel
-
Constructor Details
-
OAuth2ApplicationScopeAliasesLocalServiceWrapper
public OAuth2ApplicationScopeAliasesLocalServiceWrapper() -
OAuth2ApplicationScopeAliasesLocalServiceWrapper
public OAuth2ApplicationScopeAliasesLocalServiceWrapper(OAuth2ApplicationScopeAliasesLocalService oAuth2ApplicationScopeAliasesLocalService)
-
-
Method Details
-
addOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, Consumer<OAuth2ScopeBuilder> builderConsumer) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(long companyId, long userId, String userName, long oAuth2ApplicationId, List<String> scopeAliasesList) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases addOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Adds the o auth2 application scope aliases to the database. Also notifies the appropriate model listeners.Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
addOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliases- the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases that was added
-
createOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases createOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) Creates a new o auth2 application scope aliases with the primary key. Does not add the o auth2 application scope aliases to the database.- Specified by:
createOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key for the new o auth2 application scope aliases- Returns:
- the new o auth2 application scope aliases
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceOAuth2ApplicationScopeAliasesLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases deleteOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) throws com.liferay.portal.kernel.exception.PortalException Deletes the o auth2 application scope aliases with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
deleteOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases that was removed
- Throws:
PortalException- if a o auth2 application scope aliases with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases deleteOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Deletes the o auth2 application scope aliases from the database. Also notifies the appropriate model listeners.Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
deleteOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliases- the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases 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 interfaceOAuth2ApplicationScopeAliasesLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceOAuth2ApplicationScopeAliasesLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceOAuth2ApplicationScopeAliasesLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService- 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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Specified by:
dynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService- 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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Specified by:
dynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService- 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 interfaceOAuth2ApplicationScopeAliasesLocalService- 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 interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) - Specified by:
fetchOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService
-
fetchOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases fetchOAuth2ApplicationScopeAliases(long oAuth2ApplicationId, List<String> scopeAliasesList) - Specified by:
fetchOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceOAuth2ApplicationScopeAliasesLocalService
-
getOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases getOAuth2ApplicationScopeAliases(long oAuth2ApplicationScopeAliasesId) throws com.liferay.portal.kernel.exception.PortalException Returns the o auth2 application scope aliases with the primary key.- Specified by:
getOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliasesId- the primary key of the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases
- Throws:
PortalException- if a o auth2 application scope aliases with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getOAuth2ApplicationScopeAliaseses
Returns a range of all the o auth2 application scope aliaseses.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.oauth2.provider.model.impl.OAuth2ApplicationScopeAliasesModelImpl.- Specified by:
getOAuth2ApplicationScopeAliasesesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
start- the lower bound of the range of o auth2 application scope aliasesesend- the upper bound of the range of o auth2 application scope aliaseses (not inclusive)- Returns:
- the range of o auth2 application scope aliaseses
-
getOAuth2ApplicationScopeAliaseses
public List<OAuth2ApplicationScopeAliases> getOAuth2ApplicationScopeAliaseses(long oAuth2ApplicationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<OAuth2ApplicationScopeAliases> orderByComparator) - Specified by:
getOAuth2ApplicationScopeAliasesesin interfaceOAuth2ApplicationScopeAliasesLocalService
-
getOAuth2ApplicationScopeAliasesesCount
public int getOAuth2ApplicationScopeAliasesesCount()Returns the number of o auth2 application scope aliaseses.- Specified by:
getOAuth2ApplicationScopeAliasesesCountin interfaceOAuth2ApplicationScopeAliasesLocalService- Returns:
- the number of o auth2 application scope aliaseses
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceOAuth2ApplicationScopeAliasesLocalService- 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 interfaceOAuth2ApplicationScopeAliasesLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getScopeAliasesList
- Specified by:
getScopeAliasesListin interfaceOAuth2ApplicationScopeAliasesLocalService
-
updateOAuth2ApplicationScopeAliases
public OAuth2ApplicationScopeAliases updateOAuth2ApplicationScopeAliases(OAuth2ApplicationScopeAliases oAuth2ApplicationScopeAliases) Updates the o auth2 application scope aliases in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect OAuth2ApplicationScopeAliasesLocalServiceImpl 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:
updateOAuth2ApplicationScopeAliasesin interfaceOAuth2ApplicationScopeAliasesLocalService- Parameters:
oAuth2ApplicationScopeAliases- the o auth2 application scope aliases- Returns:
- the o auth2 application scope aliases 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<OAuth2ApplicationScopeAliasesLocalService>
-
setWrappedService
public void setWrappedService(OAuth2ApplicationScopeAliasesLocalService oAuth2ApplicationScopeAliasesLocalService) - Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<OAuth2ApplicationScopeAliasesLocalService>
-