Interface SharepointOAuth2TokenEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<SharepointOAuth2TokenEntry>,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
SharepointOAuth2TokenEntry
- All Known Implementing Classes:
SharepointOAuth2TokenEntryWrapper
@ProviderType
public interface SharepointOAuth2TokenEntryModel
extends com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the SharepointOAuth2TokenEntry service. Represents a row in the "SharepointOAuth2TokenEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.sharepoint.rest.oauth2.model.impl.SharepointOAuth2TokenEntryImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the access token of this sharepoint o auth2 token entry.longReturns the company ID of this sharepoint o auth2 token entry.Returns the configuration pid of this sharepoint o auth2 token entry.Returns the create date of this sharepoint o auth2 token entry.Returns the expiration date of this sharepoint o auth2 token entry.longReturns the primary key of this sharepoint o auth2 token entry.Returns the refresh token of this sharepoint o auth2 token entry.longReturns the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.longReturns the user ID of this sharepoint o auth2 token entry.Returns the user name of this sharepoint o auth2 token entry.Returns the user uuid of this sharepoint o auth2 token entry.voidsetAccessToken(String accessToken) Sets the access token of this sharepoint o auth2 token entry.voidsetCompanyId(long companyId) Sets the company ID of this sharepoint o auth2 token entry.voidsetConfigurationPid(String configurationPid) Sets the configuration pid of this sharepoint o auth2 token entry.voidsetCreateDate(Date createDate) Sets the create date of this sharepoint o auth2 token entry.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this sharepoint o auth2 token entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this sharepoint o auth2 token entry.voidsetRefreshToken(String refreshToken) Sets the refresh token of this sharepoint o auth2 token entry.voidsetSharepointOAuth2TokenEntryId(long sharepointOAuth2TokenEntryId) Sets the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.voidsetUserId(long userId) Sets the user ID of this sharepoint o auth2 token entry.voidsetUserName(String userName) Sets the user name of this sharepoint o auth2 token entry.voidsetUserUuid(String userUuid) Sets the user uuid of this sharepoint o auth2 token entry.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this sharepoint o auth2 token entry.- Returns:
- the primary key of this sharepoint o auth2 token entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this sharepoint o auth2 token entry.- Parameters:
primaryKey- the primary key of this sharepoint o auth2 token entry
-
getCompanyId
long getCompanyId()Returns the company ID of this sharepoint o auth2 token entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this sharepoint o auth2 token entry
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this sharepoint o auth2 token entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this sharepoint o auth2 token entry
-
getUserId
long getUserId()Returns the user ID of this sharepoint o auth2 token entry.- Returns:
- the user ID of this sharepoint o auth2 token entry
-
setUserId
void setUserId(long userId) Sets the user ID of this sharepoint o auth2 token entry.- Parameters:
userId- the user ID of this sharepoint o auth2 token entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this sharepoint o auth2 token entry.- Returns:
- the user uuid of this sharepoint o auth2 token entry
-
setUserUuid
Sets the user uuid of this sharepoint o auth2 token entry.- Parameters:
userUuid- the user uuid of this sharepoint o auth2 token entry
-
getUserName
Returns the user name of this sharepoint o auth2 token entry.- Returns:
- the user name of this sharepoint o auth2 token entry
-
setUserName
Sets the user name of this sharepoint o auth2 token entry.- Parameters:
userName- the user name of this sharepoint o auth2 token entry
-
getCreateDate
Date getCreateDate()Returns the create date of this sharepoint o auth2 token entry.- Returns:
- the create date of this sharepoint o auth2 token entry
-
setCreateDate
Sets the create date of this sharepoint o auth2 token entry.- Parameters:
createDate- the create date of this sharepoint o auth2 token entry
-
getAccessToken
Returns the access token of this sharepoint o auth2 token entry.- Returns:
- the access token of this sharepoint o auth2 token entry
-
setAccessToken
Sets the access token of this sharepoint o auth2 token entry.- Parameters:
accessToken- the access token of this sharepoint o auth2 token entry
-
getConfigurationPid
Returns the configuration pid of this sharepoint o auth2 token entry.- Returns:
- the configuration pid of this sharepoint o auth2 token entry
-
setConfigurationPid
Sets the configuration pid of this sharepoint o auth2 token entry.- Parameters:
configurationPid- the configuration pid of this sharepoint o auth2 token entry
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this sharepoint o auth2 token entry.- Returns:
- the expiration date of this sharepoint o auth2 token entry
-
setExpirationDate
Sets the expiration date of this sharepoint o auth2 token entry.- Parameters:
expirationDate- the expiration date of this sharepoint o auth2 token entry
-
getRefreshToken
Returns the refresh token of this sharepoint o auth2 token entry.- Returns:
- the refresh token of this sharepoint o auth2 token entry
-
setRefreshToken
Sets the refresh token of this sharepoint o auth2 token entry.- Parameters:
refreshToken- the refresh token of this sharepoint o auth2 token entry
-
cloneWithOriginalValues
SharepointOAuth2TokenEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>
-
toXmlString
-