@ProviderType public interface SharepointOAuth2TokenEntryModel extends com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>, com.liferay.portal.kernel.model.ShardedModel
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
.
SharepointOAuth2TokenEntry
Modifier and Type | Method and Description |
---|---|
SharepointOAuth2TokenEntry |
cloneWithOriginalValues() |
java.lang.String |
getAccessToken()
Returns the access token of this sharepoint o auth2 token entry.
|
long |
getCompanyId()
Returns the company ID of this sharepoint o auth2 token entry.
|
java.lang.String |
getConfigurationPid()
Returns the configuration pid of this sharepoint o auth2 token entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this sharepoint o auth2 token entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this sharepoint o auth2 token entry.
|
long |
getPrimaryKey()
Returns the primary key of this sharepoint o auth2 token entry.
|
java.lang.String |
getRefreshToken()
Returns the refresh token of this sharepoint o auth2 token entry.
|
long |
getSharepointOAuth2TokenEntryId()
Returns the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
|
long |
getUserId()
Returns the user ID of this sharepoint o auth2 token entry.
|
java.lang.String |
getUserName()
Returns the user name of this sharepoint o auth2 token entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this sharepoint o auth2 token entry.
|
void |
setAccessToken(java.lang.String accessToken)
Sets the access token of this sharepoint o auth2 token entry.
|
void |
setCompanyId(long companyId)
Sets the company ID of this sharepoint o auth2 token entry.
|
void |
setConfigurationPid(java.lang.String configurationPid)
Sets the configuration pid of this sharepoint o auth2 token entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this sharepoint o auth2 token entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this sharepoint o auth2 token entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this sharepoint o auth2 token entry.
|
void |
setRefreshToken(java.lang.String refreshToken)
Sets the refresh token of this sharepoint o auth2 token entry.
|
void |
setSharepointOAuth2TokenEntryId(long sharepointOAuth2TokenEntryId)
Sets the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
|
void |
setUserId(long userId)
Sets the user ID of this sharepoint o auth2 token entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this sharepoint o auth2 token entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this sharepoint o auth2 token entry.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this sharepoint o auth2 token entrylong getSharepointOAuth2TokenEntryId()
void setSharepointOAuth2TokenEntryId(long sharepointOAuth2TokenEntryId)
sharepointOAuth2TokenEntryId
- the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entrylong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this sharepoint o auth2 token entrylong getUserId()
void setUserId(long userId)
userId
- the user ID of this sharepoint o auth2 token entryjava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this sharepoint o auth2 token entry@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName
- the user name of this sharepoint o auth2 token entryjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate
- the create date of this sharepoint o auth2 token entry@AutoEscape java.lang.String getAccessToken()
void setAccessToken(java.lang.String accessToken)
accessToken
- the access token of this sharepoint o auth2 token entry@AutoEscape java.lang.String getConfigurationPid()
void setConfigurationPid(java.lang.String configurationPid)
configurationPid
- the configuration pid of this sharepoint o auth2 token entryjava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration date of this sharepoint o auth2 token entry@AutoEscape java.lang.String getRefreshToken()
void setRefreshToken(java.lang.String refreshToken)
refreshToken
- the refresh token of this sharepoint o auth2 token entrySharepointOAuth2TokenEntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>
default java.lang.String toXmlString()