Package org.compiere.model
Class X_AD_AuthorizationAccount
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_AuthorizationAccount
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_AuthorizationAccount
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAuthorizationAccount
public class X_AD_AuthorizationAccount extends PO implements I_AD_AuthorizationAccount, I_Persistent
Generated Model for AD_AuthorizationAccount- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
AD_AUTHORIZATIONSCOPES_AD_Reference_ID
AD_AuthorizationScopes AD_Reference_ID=200185static String
AD_AUTHORIZATIONSCOPES_Calendar
Calendar = Calendarstatic String
AD_AUTHORIZATIONSCOPES_Document
Document = Documentstatic String
AD_AUTHORIZATIONSCOPES_EMail
EMail = EMailstatic String
AD_AUTHORIZATIONSCOPES_Profile
Profile = Profilestatic String
AD_AUTHORIZATIONSCOPES_Storage
Storage = Storage-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_AuthorizationAccount
accessLevel, COLUMNNAME_AccessToken, COLUMNNAME_AccessTokenTimestamp, COLUMNNAME_AD_AuthorizationAccount_ID, COLUMNNAME_AD_AuthorizationAccount_UU, COLUMNNAME_AD_AuthorizationCredential_ID, COLUMNNAME_AD_AuthorizationScopes, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_EMail, COLUMNNAME_ExpireInSeconds, COLUMNNAME_Help, COLUMNNAME_IsAccessRevoked, COLUMNNAME_IsActive, COLUMNNAME_IsAuthorized, COLUMNNAME_RefreshToken, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_AuthorizationAccount(Properties ctx, int AD_AuthorizationAccount_ID, String trxName)
Standard ConstructorX_AD_AuthorizationAccount(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelString
getAccessToken()
Get Access Token.Timestamp
getAccessTokenTimestamp()
Get Access Token Timestamp.int
getAD_AuthorizationAccount_ID()
Get Authorization Account.String
getAD_AuthorizationAccount_UU()
Get AD_AuthorizationAccount_UU.I_AD_AuthorizationCredential
getAD_AuthorizationCredential()
int
getAD_AuthorizationCredential_ID()
Get Authorization Credential.String
getAD_AuthorizationScopes()
Get Authorization Scopes.I_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.String
getEMail()
Get EMail Address.BigDecimal
getExpireInSeconds()
Get Expire in Seconds.String
getHelp()
Get Comment/Help.String
getRefreshToken()
Get Refresh Token.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAccessRevoked()
Get Access Revoked.boolean
isAuthorized()
Get Authorized.void
setAccessToken(String AccessToken)
Set Access Token.void
setAccessTokenTimestamp(Timestamp AccessTokenTimestamp)
Set Access Token Timestamp.void
setAD_AuthorizationAccount_ID(int AD_AuthorizationAccount_ID)
Set Authorization Account.void
setAD_AuthorizationAccount_UU(String AD_AuthorizationAccount_UU)
Set AD_AuthorizationAccount_UU.void
setAD_AuthorizationCredential_ID(int AD_AuthorizationCredential_ID)
Set Authorization Credential.void
setAD_AuthorizationScopes(String AD_AuthorizationScopes)
Set Authorization Scopes.void
setAD_User_ID(int AD_User_ID)
Set User/Contact.void
setEMail(String EMail)
Set EMail Address.void
setExpireInSeconds(BigDecimal ExpireInSeconds)
Set Expire in Seconds.void
setHelp(String Help)
Set Comment/Help.void
setIsAccessRevoked(boolean IsAccessRevoked)
Set Access Revoked.void
setIsAuthorized(boolean IsAuthorized)
Set Authorized.void
setRefreshToken(String RefreshToken)
Set Refresh Token.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_AuthorizationAccount
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
AD_AUTHORIZATIONSCOPES_AD_Reference_ID
public static final int AD_AUTHORIZATIONSCOPES_AD_Reference_ID
AD_AuthorizationScopes AD_Reference_ID=200185- See Also:
- Constant Field Values
-
AD_AUTHORIZATIONSCOPES_Calendar
public static final String AD_AUTHORIZATIONSCOPES_Calendar
Calendar = Calendar- See Also:
- Constant Field Values
-
AD_AUTHORIZATIONSCOPES_Document
public static final String AD_AUTHORIZATIONSCOPES_Document
Document = Document- See Also:
- Constant Field Values
-
AD_AUTHORIZATIONSCOPES_EMail
public static final String AD_AUTHORIZATIONSCOPES_EMail
EMail = EMail- See Also:
- Constant Field Values
-
AD_AUTHORIZATIONSCOPES_Profile
public static final String AD_AUTHORIZATIONSCOPES_Profile
Profile = Profile- See Also:
- Constant Field Values
-
AD_AUTHORIZATIONSCOPES_Storage
public static final String AD_AUTHORIZATIONSCOPES_Storage
Storage = Storage- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_AuthorizationAccount
public X_AD_AuthorizationAccount(Properties ctx, int AD_AuthorizationAccount_ID, String trxName)
Standard Constructor
-
X_AD_AuthorizationAccount
public X_AD_AuthorizationAccount(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAccessToken
public void setAccessToken(String AccessToken)
Set Access Token.- Specified by:
setAccessToken
in interfaceI_AD_AuthorizationAccount
- Parameters:
AccessToken
- Access Token
-
getAccessToken
public String getAccessToken()
Get Access Token.- Specified by:
getAccessToken
in interfaceI_AD_AuthorizationAccount
- Returns:
- Access Token
-
setAccessTokenTimestamp
public void setAccessTokenTimestamp(Timestamp AccessTokenTimestamp)
Set Access Token Timestamp.- Specified by:
setAccessTokenTimestamp
in interfaceI_AD_AuthorizationAccount
- Parameters:
AccessTokenTimestamp
- Access Token Timestamp
-
getAccessTokenTimestamp
public Timestamp getAccessTokenTimestamp()
Get Access Token Timestamp.- Specified by:
getAccessTokenTimestamp
in interfaceI_AD_AuthorizationAccount
- Returns:
- Access Token Timestamp
-
setAD_AuthorizationAccount_ID
public void setAD_AuthorizationAccount_ID(int AD_AuthorizationAccount_ID)
Set Authorization Account.- Specified by:
setAD_AuthorizationAccount_ID
in interfaceI_AD_AuthorizationAccount
- Parameters:
AD_AuthorizationAccount_ID
- Authorization Account
-
getAD_AuthorizationAccount_ID
public int getAD_AuthorizationAccount_ID()
Get Authorization Account.- Specified by:
getAD_AuthorizationAccount_ID
in interfaceI_AD_AuthorizationAccount
- Returns:
- Authorization Account
-
setAD_AuthorizationAccount_UU
public void setAD_AuthorizationAccount_UU(String AD_AuthorizationAccount_UU)
Set AD_AuthorizationAccount_UU.- Specified by:
setAD_AuthorizationAccount_UU
in interfaceI_AD_AuthorizationAccount
- Parameters:
AD_AuthorizationAccount_UU
- AD_AuthorizationAccount_UU
-
getAD_AuthorizationAccount_UU
public String getAD_AuthorizationAccount_UU()
Get AD_AuthorizationAccount_UU.- Specified by:
getAD_AuthorizationAccount_UU
in interfaceI_AD_AuthorizationAccount
- Returns:
- AD_AuthorizationAccount_UU
-
getAD_AuthorizationCredential
public I_AD_AuthorizationCredential getAD_AuthorizationCredential() throws RuntimeException
- Specified by:
getAD_AuthorizationCredential
in interfaceI_AD_AuthorizationAccount
- Throws:
RuntimeException
-
setAD_AuthorizationCredential_ID
public void setAD_AuthorizationCredential_ID(int AD_AuthorizationCredential_ID)
Set Authorization Credential.- Specified by:
setAD_AuthorizationCredential_ID
in interfaceI_AD_AuthorizationAccount
- Parameters:
AD_AuthorizationCredential_ID
- Authorization Credential
-
getAD_AuthorizationCredential_ID
public int getAD_AuthorizationCredential_ID()
Get Authorization Credential.- Specified by:
getAD_AuthorizationCredential_ID
in interfaceI_AD_AuthorizationAccount
- Returns:
- Authorization Credential
-
setAD_AuthorizationScopes
public void setAD_AuthorizationScopes(String AD_AuthorizationScopes)
Set Authorization Scopes.- Specified by:
setAD_AuthorizationScopes
in interfaceI_AD_AuthorizationAccount
- Parameters:
AD_AuthorizationScopes
- Authorization Scopes
-
getAD_AuthorizationScopes
public String getAD_AuthorizationScopes()
Get Authorization Scopes.- Specified by:
getAD_AuthorizationScopes
in interfaceI_AD_AuthorizationAccount
- Returns:
- Authorization Scopes
-
getAD_User
public I_AD_User getAD_User() throws RuntimeException
- Specified by:
getAD_User
in interfaceI_AD_AuthorizationAccount
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID)
Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_AD_AuthorizationAccount
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()
Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_AD_AuthorizationAccount
- Returns:
- User within the system - Internal or Business Partner Contact
-
setEMail
public void setEMail(String EMail)
Set EMail Address.- Specified by:
setEMail
in interfaceI_AD_AuthorizationAccount
- Parameters:
EMail
- Electronic Mail Address
-
getEMail
public String getEMail()
Get EMail Address.- Specified by:
getEMail
in interfaceI_AD_AuthorizationAccount
- Returns:
- Electronic Mail Address
-
setExpireInSeconds
public void setExpireInSeconds(BigDecimal ExpireInSeconds)
Set Expire in Seconds.- Specified by:
setExpireInSeconds
in interfaceI_AD_AuthorizationAccount
- Parameters:
ExpireInSeconds
- Expire in Seconds
-
getExpireInSeconds
public BigDecimal getExpireInSeconds()
Get Expire in Seconds.- Specified by:
getExpireInSeconds
in interfaceI_AD_AuthorizationAccount
- Returns:
- Expire in Seconds
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_AD_AuthorizationAccount
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_AD_AuthorizationAccount
- Returns:
- Comment or Hint
-
setIsAccessRevoked
public void setIsAccessRevoked(boolean IsAccessRevoked)
Set Access Revoked.- Specified by:
setIsAccessRevoked
in interfaceI_AD_AuthorizationAccount
- Parameters:
IsAccessRevoked
- Access Revoked
-
isAccessRevoked
public boolean isAccessRevoked()
Get Access Revoked.- Specified by:
isAccessRevoked
in interfaceI_AD_AuthorizationAccount
- Returns:
- Access Revoked
-
setIsAuthorized
public void setIsAuthorized(boolean IsAuthorized)
Set Authorized.- Specified by:
setIsAuthorized
in interfaceI_AD_AuthorizationAccount
- Parameters:
IsAuthorized
- Authorized
-
isAuthorized
public boolean isAuthorized()
Get Authorized.- Specified by:
isAuthorized
in interfaceI_AD_AuthorizationAccount
- Returns:
- Authorized
-
setRefreshToken
public void setRefreshToken(String RefreshToken)
Set Refresh Token.- Specified by:
setRefreshToken
in interfaceI_AD_AuthorizationAccount
- Parameters:
RefreshToken
- Refresh Token
-
getRefreshToken
public String getRefreshToken()
Get Refresh Token.- Specified by:
getRefreshToken
in interfaceI_AD_AuthorizationAccount
- Returns:
- Refresh Token
-
-