public class SharepointOAuth2TokenEntryLocalServiceWrapper extends java.lang.Object implements com.liferay.portal.kernel.service.ServiceWrapper<SharepointOAuth2TokenEntryLocalService>, SharepointOAuth2TokenEntryLocalService
SharepointOAuth2TokenEntryLocalService
.SharepointOAuth2TokenEntryLocalService
Constructor and Description |
---|
SharepointOAuth2TokenEntryLocalServiceWrapper() |
SharepointOAuth2TokenEntryLocalServiceWrapper(SharepointOAuth2TokenEntryLocalService sharepointOAuth2TokenEntryLocalService) |
Modifier and Type | Method and Description |
---|---|
SharepointOAuth2TokenEntry |
addSharepointOAuth2TokenEntry(long userId,
java.lang.String configurationPid,
java.lang.String accessToken,
java.lang.String refreshToken,
java.util.Date expirationDate) |
SharepointOAuth2TokenEntry |
addSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Adds the sharepoint o auth2 token entry to the database.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
SharepointOAuth2TokenEntry |
createSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId)
Creates a new sharepoint o auth2 token entry with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
SharepointOAuth2TokenEntry |
deleteSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId)
Deletes the sharepoint o auth2 token entry with the primary key from the database.
|
void |
deleteSharepointOAuth2TokenEntry(long userId,
java.lang.String configurationPid) |
SharepointOAuth2TokenEntry |
deleteSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Deletes the sharepoint o auth2 token entry from the database.
|
void |
deleteUserSharepointOAuth2TokenEntries(long userId) |
<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.
|
SharepointOAuth2TokenEntry |
fetchSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId) |
SharepointOAuth2TokenEntry |
fetchSharepointOAuth2TokenEntry(long userId,
java.lang.String configurationPid) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<SharepointOAuth2TokenEntry> |
getSharepointOAuth2TokenEntries(int start,
int end)
Returns a range of all the sharepoint o auth2 token entries.
|
int |
getSharepointOAuth2TokenEntriesCount()
Returns the number of sharepoint o auth2 token entries.
|
SharepointOAuth2TokenEntry |
getSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId)
Returns the sharepoint o auth2 token entry with the primary key.
|
SharepointOAuth2TokenEntry |
getSharepointOAuth2TokenEntry(long userId,
java.lang.String configurationPid) |
int |
getUserSharepointOAuth2TokenEntriesCount(long userId) |
SharepointOAuth2TokenEntryLocalService |
getWrappedService() |
void |
setWrappedService(SharepointOAuth2TokenEntryLocalService sharepointOAuth2TokenEntryLocalService) |
SharepointOAuth2TokenEntry |
updateSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Updates the sharepoint o auth2 token entry in the database or adds it if it does not yet exist.
|
public SharepointOAuth2TokenEntryLocalServiceWrapper()
public SharepointOAuth2TokenEntryLocalServiceWrapper(SharepointOAuth2TokenEntryLocalService sharepointOAuth2TokenEntryLocalService)
public SharepointOAuth2TokenEntry addSharepointOAuth2TokenEntry(long userId, java.lang.String configurationPid, java.lang.String accessToken, java.lang.String refreshToken, java.util.Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
addSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public SharepointOAuth2TokenEntry addSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Important: Inspect SharepointOAuth2TokenEntryLocalServiceImpl 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.
addSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntry
- the sharepoint o auth2 token entrypublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
createPersistedModel
in interface SharepointOAuth2TokenEntryLocalService
PortalException
public SharepointOAuth2TokenEntry createSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId)
createSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntryId
- the primary key for the new sharepoint o auth2 token entrypublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface SharepointOAuth2TokenEntryLocalService
PortalException
public SharepointOAuth2TokenEntry deleteSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SharepointOAuth2TokenEntryLocalServiceImpl 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.
deleteSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntryId
- the primary key of the sharepoint o auth2 token entryPortalException
- if a sharepoint o auth2 token entry with the primary key could not be foundpublic void deleteSharepointOAuth2TokenEntry(long userId, java.lang.String configurationPid) throws com.liferay.portal.kernel.exception.PortalException
deleteSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public SharepointOAuth2TokenEntry deleteSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Important: Inspect SharepointOAuth2TokenEntryLocalServiceImpl 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.
deleteSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntry
- the sharepoint o auth2 token entrypublic void deleteUserSharepointOAuth2TokenEntries(long userId)
deleteUserSharepointOAuth2TokenEntries
in interface SharepointOAuth2TokenEntryLocalService
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQuery
in interface SharepointOAuth2TokenEntryLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
dslQueryCount
in interface SharepointOAuth2TokenEntryLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
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.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryModelImpl
.
dynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
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.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryModelImpl
.
dynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
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 SharepointOAuth2TokenEntryLocalService
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 SharepointOAuth2TokenEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic SharepointOAuth2TokenEntry fetchSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId)
fetchSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
public SharepointOAuth2TokenEntry fetchSharepointOAuth2TokenEntry(long userId, java.lang.String configurationPid)
fetchSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface SharepointOAuth2TokenEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface SharepointOAuth2TokenEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface SharepointOAuth2TokenEntryLocalService
PortalException
public java.util.List<SharepointOAuth2TokenEntry> getSharepointOAuth2TokenEntries(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.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryModelImpl
.
getSharepointOAuth2TokenEntries
in interface SharepointOAuth2TokenEntryLocalService
start
- the lower bound of the range of sharepoint o auth2 token entriesend
- the upper bound of the range of sharepoint o auth2 token entries (not inclusive)public int getSharepointOAuth2TokenEntriesCount()
getSharepointOAuth2TokenEntriesCount
in interface SharepointOAuth2TokenEntryLocalService
public SharepointOAuth2TokenEntry getSharepointOAuth2TokenEntry(long sharepointOAuth2TokenEntryId) throws com.liferay.portal.kernel.exception.PortalException
getSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntryId
- the primary key of the sharepoint o auth2 token entryPortalException
- if a sharepoint o auth2 token entry with the primary key could not be foundpublic SharepointOAuth2TokenEntry getSharepointOAuth2TokenEntry(long userId, java.lang.String configurationPid) throws com.liferay.portal.kernel.exception.PortalException
getSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public int getUserSharepointOAuth2TokenEntriesCount(long userId)
getUserSharepointOAuth2TokenEntriesCount
in interface SharepointOAuth2TokenEntryLocalService
public SharepointOAuth2TokenEntry updateSharepointOAuth2TokenEntry(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
Important: Inspect SharepointOAuth2TokenEntryLocalServiceImpl 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.
updateSharepointOAuth2TokenEntry
in interface SharepointOAuth2TokenEntryLocalService
sharepointOAuth2TokenEntry
- the sharepoint o auth2 token entrypublic SharepointOAuth2TokenEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<SharepointOAuth2TokenEntryLocalService>
public void setWrappedService(SharepointOAuth2TokenEntryLocalService sharepointOAuth2TokenEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<SharepointOAuth2TokenEntryLocalService>