Package org.compiere.model
Class X_AD_Role
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Role
- All Implemented Interfaces:
Serializable,Cloneable,Comparator<Object>,I_AD_Role,I_Persistent,Evaluatee
- Direct Known Subclasses:
MRole
Generated Model for AD_Role
- Version:
- Release 13 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPreferenceType AD_Reference_ID=330static final StringClient = Cstatic final StringNone = Nstatic final StringOrganization = Ostatic final StringUser = Ustatic final intRoleType AD_Reference_ID=200166static final StringExternal App 1 = E1static final StringExternal App 2 = E2static final StringExternal App 3 = E3static final StringExternal App 4 = E4static final StringExternal App 5 = E5static final StringMobile = MOstatic final StringSwing = SWstatic final StringSystem Support = SSstatic final StringWebService = WSstatic final StringWebUI = ZKstatic final intUserLevel AD_Reference_ID=226static final StringClient = Cstatic final StringClient+Organization = COstatic final StringOrganization = Ostatic final StringSystem = SFields 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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_IDFields inherited from interface org.compiere.model.I_AD_Role
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_Role_UU, COLUMNNAME_AD_Tree_Menu_ID, COLUMNNAME_AD_Tree_Org_ID, COLUMNNAME_Allow_Info_Account, COLUMNNAME_Allow_Info_Asset, COLUMNNAME_Allow_Info_BPartner, COLUMNNAME_Allow_Info_InOut, COLUMNNAME_Allow_Info_Invoice, COLUMNNAME_Allow_Info_Order, COLUMNNAME_Allow_Info_Payment, COLUMNNAME_Allow_Info_Product, COLUMNNAME_Allow_Info_Resource, COLUMNNAME_Allow_Info_Schedule, COLUMNNAME_AmtApproval, COLUMNNAME_AmtApprovalAccum, COLUMNNAME_C_Currency_ID, COLUMNNAME_ConfirmQueryRecords, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DaysApprovalAccum, COLUMNNAME_Description, COLUMNNAME_IsAccessAdvanced, COLUMNNAME_IsAccessAllOrgs, COLUMNNAME_IsActive, COLUMNNAME_IsCanApproveOwnDoc, COLUMNNAME_IsCanExport, COLUMNNAME_IsCanReport, COLUMNNAME_IsChangeLog, COLUMNNAME_IsClientAdministrator, COLUMNNAME_IsDiscountAllowedOnTotal, COLUMNNAME_IsDiscountUptoLimitPrice, COLUMNNAME_IsManual, COLUMNNAME_IsMasterRole, COLUMNNAME_IsMenuAutoExpand, COLUMNNAME_IsPersonalAccess, COLUMNNAME_IsPersonalLock, COLUMNNAME_IsShowAcct, COLUMNNAME_IsUseUserOrgAccess, COLUMNNAME_MaxQueryRecords, COLUMNNAME_Name, COLUMNNAME_OverwritePriceLimit, COLUMNNAME_PredefinedContextVariables, COLUMNNAME_PreferenceType, COLUMNNAME_RoleType, COLUMNNAME_Supervisor_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_UserDiscount, COLUMNNAME_UserLevel, Model, Table_ID, Table_Name -
Constructor Summary
ConstructorsConstructorDescriptionX_AD_Role(Properties ctx, int AD_Role_ID, String trxName) Standard ConstructorX_AD_Role(Properties ctx, int AD_Role_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Role(Properties ctx, String AD_Role_UU, String trxName) Standard ConstructorX_AD_Role(Properties ctx, String AD_Role_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Role(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected intAccessLevelintGet Role.Get AD_Role_UU.Deprecated.intGet Menu Tree.Deprecated.intGet Organization Tree.Get Approval Amount.Get Approval Amount Accumulated.Deprecated.intGet Currency.intGet Confirm Query Records.intGet Days Approval Accumulated.Get Description.Get Record ID/ColumnNameintGet Max Query Records.getName()Get Name.Get Predefined Context Variables.Get Preference Level.Get Role Type.Deprecated.intGet Supervisor.Get User Discount.Get User Level.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Access Advanced.booleanGet Access all Orgs.booleanGet Allow Info Account.booleanGet Allow Info Asset.booleanGet Allow Info BPartner.booleanGet Allow Shipment Info.booleanGet Allow Info Invoice.booleanGet Allow Info Order.booleanGet Allow Info Payment.booleanGet Allow Info Product.booleanGet Allow Info Resource.booleanGet Allow Info Schedule.booleanGet Approve own Documents.booleanGet Can Export.booleanGet Can Report.booleanGet Maintain Change Log.booleanGet Tenant Administrator.booleanGet Is Discount Allowed On Total.booleanGet Is Discount Up to Limit Price.booleanisManual()Get Manual.booleanGet Master Role.booleanGet Auto expand menu.booleanGet Overwrite Price Limit.booleanGet Personal Access.booleanGet Personal Lock.booleanGet Show Accounting.booleanGet Use User Org Access.voidsetAD_Role_ID(int AD_Role_ID) Set Role.voidsetAD_Role_UU(String AD_Role_UU) Set AD_Role_UU.voidsetAD_Tree_Menu_ID(int AD_Tree_Menu_ID) Set Menu Tree.voidsetAD_Tree_Org_ID(int AD_Tree_Org_ID) Set Organization Tree.voidsetAllow_Info_Account(boolean Allow_Info_Account) Set Allow Info Account.voidsetAllow_Info_Asset(boolean Allow_Info_Asset) Set Allow Info Asset.voidsetAllow_Info_BPartner(boolean Allow_Info_BPartner) Set Allow Info BPartner.voidsetAllow_Info_InOut(boolean Allow_Info_InOut) Set Allow Shipment Info.voidsetAllow_Info_Invoice(boolean Allow_Info_Invoice) Set Allow Info Invoice.voidsetAllow_Info_Order(boolean Allow_Info_Order) Set Allow Info Order.voidsetAllow_Info_Payment(boolean Allow_Info_Payment) Set Allow Info Payment.voidsetAllow_Info_Product(boolean Allow_Info_Product) Set Allow Info Product.voidsetAllow_Info_Resource(boolean Allow_Info_Resource) Set Allow Info Resource.voidsetAllow_Info_Schedule(boolean Allow_Info_Schedule) Set Allow Info Schedule.voidsetAmtApproval(BigDecimal AmtApproval) Set Approval Amount.voidsetAmtApprovalAccum(BigDecimal AmtApprovalAccum) Set Approval Amount Accumulated.voidsetC_Currency_ID(int C_Currency_ID) Set Currency.voidsetConfirmQueryRecords(int ConfirmQueryRecords) Set Confirm Query Records.voidsetDaysApprovalAccum(int DaysApprovalAccum) Set Days Approval Accumulated.voidsetDescription(String Description) Set Description.voidsetIsAccessAdvanced(boolean IsAccessAdvanced) Set Access Advanced.voidsetIsAccessAllOrgs(boolean IsAccessAllOrgs) Set Access all Orgs.voidsetIsCanApproveOwnDoc(boolean IsCanApproveOwnDoc) Set Approve own Documents.voidsetIsCanExport(boolean IsCanExport) Set Can Export.voidsetIsCanReport(boolean IsCanReport) Set Can Report.voidsetIsChangeLog(boolean IsChangeLog) Set Maintain Change Log.voidsetIsClientAdministrator(boolean IsClientAdministrator) Set Tenant Administrator.voidsetIsDiscountAllowedOnTotal(boolean IsDiscountAllowedOnTotal) Set Is Discount Allowed On Total.voidsetIsDiscountUptoLimitPrice(boolean IsDiscountUptoLimitPrice) Set Is Discount Up to Limit Price.voidsetIsManual(boolean IsManual) Set Manual.voidsetIsMasterRole(boolean IsMasterRole) Set Master Role.voidsetIsMenuAutoExpand(boolean IsMenuAutoExpand) Set Auto expand menu.voidsetIsPersonalAccess(boolean IsPersonalAccess) Set Personal Access.voidsetIsPersonalLock(boolean IsPersonalLock) Set Personal Lock.voidsetIsShowAcct(boolean IsShowAcct) Set Show Accounting.voidsetIsUseUserOrgAccess(boolean IsUseUserOrgAccess) Set Use User Org Access.voidsetMaxQueryRecords(int MaxQueryRecords) Set Max Query Records.voidSet Name.voidsetOverwritePriceLimit(boolean OverwritePriceLimit) Set Overwrite Price Limit.voidsetPredefinedContextVariables(String PredefinedContextVariables) Set Predefined Context Variables.voidsetPreferenceType(String PreferenceType) Set Preference Level.voidsetRoleType(String RoleType) Set Role Type.voidsetSupervisor_ID(int Supervisor_ID) Set Supervisor.voidsetUserDiscount(BigDecimal UserDiscount) Set User Discount.voidsetUserLevel(String UserLevel) Set User Level.toString()String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_TableAttribute, get_TableAttributeAsBoolean, get_TableAttributeAsInt, get_TableAttributes, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, unlock, update_Tree, validForeignKeys, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.compiere.model.I_AD_Role
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
PREFERENCETYPE_AD_Reference_ID
public static final int PREFERENCETYPE_AD_Reference_IDPreferenceType AD_Reference_ID=330- See Also:
-
PREFERENCETYPE_Client
Client = C- See Also:
-
PREFERENCETYPE_None
None = N- See Also:
-
PREFERENCETYPE_Organization
Organization = O- See Also:
-
PREFERENCETYPE_User
User = U- See Also:
-
ROLETYPE_AD_Reference_ID
public static final int ROLETYPE_AD_Reference_IDRoleType AD_Reference_ID=200166- See Also:
-
ROLETYPE_ExternalApp1
External App 1 = E1- See Also:
-
ROLETYPE_ExternalApp2
External App 2 = E2- See Also:
-
ROLETYPE_ExternalApp3
External App 3 = E3- See Also:
-
ROLETYPE_ExternalApp4
External App 4 = E4- See Also:
-
ROLETYPE_ExternalApp5
External App 5 = E5- See Also:
-
ROLETYPE_Mobile
Mobile = MO- See Also:
-
ROLETYPE_SystemSupport
System Support = SS- See Also:
-
ROLETYPE_Swing
Swing = SW- See Also:
-
ROLETYPE_WebService
WebService = WS- See Also:
-
ROLETYPE_WebUI
WebUI = ZK- See Also:
-
USERLEVEL_AD_Reference_ID
public static final int USERLEVEL_AD_Reference_IDUserLevel AD_Reference_ID=226- See Also:
-
USERLEVEL_Organization
Organization = O- See Also:
-
USERLEVEL_Client
Client = C- See Also:
-
USERLEVEL_ClientPlusOrganization
Client+Organization = CO- See Also:
-
USERLEVEL_System
System = S- See Also:
-
-
Constructor Details
-
X_AD_Role
Standard Constructor -
X_AD_Role
Standard Constructor -
X_AD_Role
Standard Constructor -
X_AD_Role
Standard Constructor -
X_AD_Role
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setAD_Role_ID
public void setAD_Role_ID(int AD_Role_ID) Set Role.- Specified by:
setAD_Role_IDin interfaceI_AD_Role- Parameters:
AD_Role_ID- Responsibility Role
-
getAD_Role_ID
public int getAD_Role_ID()Get Role.- Specified by:
getAD_Role_IDin interfaceI_AD_Role- Returns:
- Responsibility Role
-
setAD_Role_UU
Set AD_Role_UU.- Specified by:
setAD_Role_UUin interfaceI_AD_Role- Parameters:
AD_Role_UU- AD_Role_UU
-
getAD_Role_UU
Get AD_Role_UU.- Specified by:
getAD_Role_UUin interfaceI_AD_Role- Returns:
- AD_Role_UU
-
getAD_Tree_Menu
Deprecated.- Specified by:
getAD_Tree_Menuin interfaceI_AD_Role- Throws:
RuntimeException
-
setAD_Tree_Menu_ID
public void setAD_Tree_Menu_ID(int AD_Tree_Menu_ID) Set Menu Tree.- Specified by:
setAD_Tree_Menu_IDin interfaceI_AD_Role- Parameters:
AD_Tree_Menu_ID- Tree of the menu
-
getAD_Tree_Menu_ID
public int getAD_Tree_Menu_ID()Get Menu Tree.- Specified by:
getAD_Tree_Menu_IDin interfaceI_AD_Role- Returns:
- Tree of the menu
-
getAD_Tree_Org
Deprecated.- Specified by:
getAD_Tree_Orgin interfaceI_AD_Role- Throws:
RuntimeException
-
setAD_Tree_Org_ID
public void setAD_Tree_Org_ID(int AD_Tree_Org_ID) Set Organization Tree.- Specified by:
setAD_Tree_Org_IDin interfaceI_AD_Role- Parameters:
AD_Tree_Org_ID- Trees are used for (financial) reporting and security access (via role)
-
getAD_Tree_Org_ID
public int getAD_Tree_Org_ID()Get Organization Tree.- Specified by:
getAD_Tree_Org_IDin interfaceI_AD_Role- Returns:
- Trees are used for (financial) reporting and security access (via role)
-
setAllow_Info_Account
public void setAllow_Info_Account(boolean Allow_Info_Account) Set Allow Info Account.- Specified by:
setAllow_Info_Accountin interfaceI_AD_Role- Parameters:
Allow_Info_Account- Allow Info Account
-
isAllow_Info_Account
public boolean isAllow_Info_Account()Get Allow Info Account.- Specified by:
isAllow_Info_Accountin interfaceI_AD_Role- Returns:
- Allow Info Account
-
setAllow_Info_Asset
public void setAllow_Info_Asset(boolean Allow_Info_Asset) Set Allow Info Asset.- Specified by:
setAllow_Info_Assetin interfaceI_AD_Role- Parameters:
Allow_Info_Asset- Allow Info Asset
-
isAllow_Info_Asset
public boolean isAllow_Info_Asset()Get Allow Info Asset.- Specified by:
isAllow_Info_Assetin interfaceI_AD_Role- Returns:
- Allow Info Asset
-
setAllow_Info_BPartner
public void setAllow_Info_BPartner(boolean Allow_Info_BPartner) Set Allow Info BPartner.- Specified by:
setAllow_Info_BPartnerin interfaceI_AD_Role- Parameters:
Allow_Info_BPartner- Allow Info BPartner
-
isAllow_Info_BPartner
public boolean isAllow_Info_BPartner()Get Allow Info BPartner.- Specified by:
isAllow_Info_BPartnerin interfaceI_AD_Role- Returns:
- Allow Info BPartner
-
setAllow_Info_InOut
public void setAllow_Info_InOut(boolean Allow_Info_InOut) Set Allow Shipment Info.- Specified by:
setAllow_Info_InOutin interfaceI_AD_Role- Parameters:
Allow_Info_InOut- Allow Shipment Info
-
isAllow_Info_InOut
public boolean isAllow_Info_InOut()Get Allow Shipment Info.- Specified by:
isAllow_Info_InOutin interfaceI_AD_Role- Returns:
- Allow Shipment Info
-
setAllow_Info_Invoice
public void setAllow_Info_Invoice(boolean Allow_Info_Invoice) Set Allow Info Invoice.- Specified by:
setAllow_Info_Invoicein interfaceI_AD_Role- Parameters:
Allow_Info_Invoice- Allow Info Invoice
-
isAllow_Info_Invoice
public boolean isAllow_Info_Invoice()Get Allow Info Invoice.- Specified by:
isAllow_Info_Invoicein interfaceI_AD_Role- Returns:
- Allow Info Invoice
-
setAllow_Info_Order
public void setAllow_Info_Order(boolean Allow_Info_Order) Set Allow Info Order.- Specified by:
setAllow_Info_Orderin interfaceI_AD_Role- Parameters:
Allow_Info_Order- Allow Info Order
-
isAllow_Info_Order
public boolean isAllow_Info_Order()Get Allow Info Order.- Specified by:
isAllow_Info_Orderin interfaceI_AD_Role- Returns:
- Allow Info Order
-
setAllow_Info_Payment
public void setAllow_Info_Payment(boolean Allow_Info_Payment) Set Allow Info Payment.- Specified by:
setAllow_Info_Paymentin interfaceI_AD_Role- Parameters:
Allow_Info_Payment- Allow Info Payment
-
isAllow_Info_Payment
public boolean isAllow_Info_Payment()Get Allow Info Payment.- Specified by:
isAllow_Info_Paymentin interfaceI_AD_Role- Returns:
- Allow Info Payment
-
setAllow_Info_Product
public void setAllow_Info_Product(boolean Allow_Info_Product) Set Allow Info Product.- Specified by:
setAllow_Info_Productin interfaceI_AD_Role- Parameters:
Allow_Info_Product- Allow Info Product
-
isAllow_Info_Product
public boolean isAllow_Info_Product()Get Allow Info Product.- Specified by:
isAllow_Info_Productin interfaceI_AD_Role- Returns:
- Allow Info Product
-
setAllow_Info_Resource
public void setAllow_Info_Resource(boolean Allow_Info_Resource) Set Allow Info Resource.- Specified by:
setAllow_Info_Resourcein interfaceI_AD_Role- Parameters:
Allow_Info_Resource- Allow Info Resource
-
isAllow_Info_Resource
public boolean isAllow_Info_Resource()Get Allow Info Resource.- Specified by:
isAllow_Info_Resourcein interfaceI_AD_Role- Returns:
- Allow Info Resource
-
setAllow_Info_Schedule
public void setAllow_Info_Schedule(boolean Allow_Info_Schedule) Set Allow Info Schedule.- Specified by:
setAllow_Info_Schedulein interfaceI_AD_Role- Parameters:
Allow_Info_Schedule- Allow Info Schedule
-
isAllow_Info_Schedule
public boolean isAllow_Info_Schedule()Get Allow Info Schedule.- Specified by:
isAllow_Info_Schedulein interfaceI_AD_Role- Returns:
- Allow Info Schedule
-
setAmtApproval
Set Approval Amount.- Specified by:
setAmtApprovalin interfaceI_AD_Role- Parameters:
AmtApproval- The approval amount limit for this role
-
getAmtApproval
Get Approval Amount.- Specified by:
getAmtApprovalin interfaceI_AD_Role- Returns:
- The approval amount limit for this role
-
setAmtApprovalAccum
Set Approval Amount Accumulated.- Specified by:
setAmtApprovalAccumin interfaceI_AD_Role- Parameters:
AmtApprovalAccum- The approval amount limit for this role accumulated on a period
-
getAmtApprovalAccum
Get Approval Amount Accumulated.- Specified by:
getAmtApprovalAccumin interfaceI_AD_Role- Returns:
- The approval amount limit for this role accumulated on a period
-
getC_Currency
Deprecated.- Specified by:
getC_Currencyin interfaceI_AD_Role- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_IDin interfaceI_AD_Role- Parameters:
C_Currency_ID- The Currency for this record
-
getC_Currency_ID
public int getC_Currency_ID()Get Currency.- Specified by:
getC_Currency_IDin interfaceI_AD_Role- Returns:
- The Currency for this record
-
setConfirmQueryRecords
public void setConfirmQueryRecords(int ConfirmQueryRecords) Set Confirm Query Records.- Specified by:
setConfirmQueryRecordsin interfaceI_AD_Role- Parameters:
ConfirmQueryRecords- Require Confirmation if more records will be returned by the query (If not defined 500)
-
getConfirmQueryRecords
public int getConfirmQueryRecords()Get Confirm Query Records.- Specified by:
getConfirmQueryRecordsin interfaceI_AD_Role- Returns:
- Require Confirmation if more records will be returned by the query (If not defined 500)
-
setDaysApprovalAccum
public void setDaysApprovalAccum(int DaysApprovalAccum) Set Days Approval Accumulated.- Specified by:
setDaysApprovalAccumin interfaceI_AD_Role- Parameters:
DaysApprovalAccum- The days approval indicates the days to take into account to verify the accumulated approval amount.
-
getDaysApprovalAccum
public int getDaysApprovalAccum()Get Days Approval Accumulated.- Specified by:
getDaysApprovalAccumin interfaceI_AD_Role- Returns:
- The days approval indicates the days to take into account to verify the accumulated approval amount.
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_AD_Role- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_AD_Role- Returns:
- Optional short description of the record
-
setIsAccessAdvanced
public void setIsAccessAdvanced(boolean IsAccessAdvanced) Set Access Advanced.- Specified by:
setIsAccessAdvancedin interfaceI_AD_Role- Parameters:
IsAccessAdvanced- Access Advanced
-
isAccessAdvanced
public boolean isAccessAdvanced()Get Access Advanced.- Specified by:
isAccessAdvancedin interfaceI_AD_Role- Returns:
- Access Advanced
-
setIsAccessAllOrgs
public void setIsAccessAllOrgs(boolean IsAccessAllOrgs) Set Access all Orgs.- Specified by:
setIsAccessAllOrgsin interfaceI_AD_Role- Parameters:
IsAccessAllOrgs- Access all Organizations (no org access control) of the tenant
-
isAccessAllOrgs
public boolean isAccessAllOrgs()Get Access all Orgs.- Specified by:
isAccessAllOrgsin interfaceI_AD_Role- Returns:
- Access all Organizations (no org access control) of the tenant
-
setIsCanApproveOwnDoc
public void setIsCanApproveOwnDoc(boolean IsCanApproveOwnDoc) Set Approve own Documents.- Specified by:
setIsCanApproveOwnDocin interfaceI_AD_Role- Parameters:
IsCanApproveOwnDoc- Users with this role can approve their own documents
-
isCanApproveOwnDoc
public boolean isCanApproveOwnDoc()Get Approve own Documents.- Specified by:
isCanApproveOwnDocin interfaceI_AD_Role- Returns:
- Users with this role can approve their own documents
-
setIsCanExport
public void setIsCanExport(boolean IsCanExport) Set Can Export.- Specified by:
setIsCanExportin interfaceI_AD_Role- Parameters:
IsCanExport- Users with this role can export data
-
isCanExport
public boolean isCanExport()Get Can Export.- Specified by:
isCanExportin interfaceI_AD_Role- Returns:
- Users with this role can export data
-
setIsCanReport
public void setIsCanReport(boolean IsCanReport) Set Can Report.- Specified by:
setIsCanReportin interfaceI_AD_Role- Parameters:
IsCanReport- Users with this role can create reports
-
isCanReport
public boolean isCanReport()Get Can Report.- Specified by:
isCanReportin interfaceI_AD_Role- Returns:
- Users with this role can create reports
-
setIsChangeLog
public void setIsChangeLog(boolean IsChangeLog) Set Maintain Change Log.- Specified by:
setIsChangeLogin interfaceI_AD_Role- Parameters:
IsChangeLog- Maintain a log of changes
-
isChangeLog
public boolean isChangeLog()Get Maintain Change Log.- Specified by:
isChangeLogin interfaceI_AD_Role- Returns:
- Maintain a log of changes
-
setIsClientAdministrator
public void setIsClientAdministrator(boolean IsClientAdministrator) Set Tenant Administrator.- Specified by:
setIsClientAdministratorin interfaceI_AD_Role- Parameters:
IsClientAdministrator- This role is a tenant administrator
-
isClientAdministrator
public boolean isClientAdministrator()Get Tenant Administrator.- Specified by:
isClientAdministratorin interfaceI_AD_Role- Returns:
- This role is a tenant administrator
-
setIsDiscountAllowedOnTotal
public void setIsDiscountAllowedOnTotal(boolean IsDiscountAllowedOnTotal) Set Is Discount Allowed On Total.- Specified by:
setIsDiscountAllowedOnTotalin interfaceI_AD_Role- Parameters:
IsDiscountAllowedOnTotal- Is Discount Allowed On Total
-
isDiscountAllowedOnTotal
public boolean isDiscountAllowedOnTotal()Get Is Discount Allowed On Total.- Specified by:
isDiscountAllowedOnTotalin interfaceI_AD_Role- Returns:
- Is Discount Allowed On Total
-
setIsDiscountUptoLimitPrice
public void setIsDiscountUptoLimitPrice(boolean IsDiscountUptoLimitPrice) Set Is Discount Up to Limit Price.- Specified by:
setIsDiscountUptoLimitPricein interfaceI_AD_Role- Parameters:
IsDiscountUptoLimitPrice- Is Discount Up to Limit Price
-
isDiscountUptoLimitPrice
public boolean isDiscountUptoLimitPrice()Get Is Discount Up to Limit Price.- Specified by:
isDiscountUptoLimitPricein interfaceI_AD_Role- Returns:
- Is Discount Up to Limit Price
-
setIsManual
public void setIsManual(boolean IsManual) Set Manual.- Specified by:
setIsManualin interfaceI_AD_Role- Parameters:
IsManual- This is a manual process
-
isManual
public boolean isManual()Get Manual. -
setIsMasterRole
public void setIsMasterRole(boolean IsMasterRole) Set Master Role.- Specified by:
setIsMasterRolein interfaceI_AD_Role- Parameters:
IsMasterRole- A master role cannot be assigned to users, it is intended to define access to menu option and documents and inherit to other roles
-
isMasterRole
public boolean isMasterRole()Get Master Role.- Specified by:
isMasterRolein interfaceI_AD_Role- Returns:
- A master role cannot be assigned to users, it is intended to define access to menu option and documents and inherit to other roles
-
setIsMenuAutoExpand
public void setIsMenuAutoExpand(boolean IsMenuAutoExpand) Set Auto expand menu.- Specified by:
setIsMenuAutoExpandin interfaceI_AD_Role- Parameters:
IsMenuAutoExpand- If ticked, the menu is automatically expanded
-
isMenuAutoExpand
public boolean isMenuAutoExpand()Get Auto expand menu.- Specified by:
isMenuAutoExpandin interfaceI_AD_Role- Returns:
- If ticked, the menu is automatically expanded
-
setIsPersonalAccess
public void setIsPersonalAccess(boolean IsPersonalAccess) Set Personal Access.- Specified by:
setIsPersonalAccessin interfaceI_AD_Role- Parameters:
IsPersonalAccess- Allow access to all personal records
-
isPersonalAccess
public boolean isPersonalAccess()Get Personal Access.- Specified by:
isPersonalAccessin interfaceI_AD_Role- Returns:
- Allow access to all personal records
-
setIsPersonalLock
public void setIsPersonalLock(boolean IsPersonalLock) Set Personal Lock.- Specified by:
setIsPersonalLockin interfaceI_AD_Role- Parameters:
IsPersonalLock- Allow users with role to lock access to personal records
-
isPersonalLock
public boolean isPersonalLock()Get Personal Lock.- Specified by:
isPersonalLockin interfaceI_AD_Role- Returns:
- Allow users with role to lock access to personal records
-
setIsShowAcct
public void setIsShowAcct(boolean IsShowAcct) Set Show Accounting.- Specified by:
setIsShowAcctin interfaceI_AD_Role- Parameters:
IsShowAcct- Users with this role can see accounting information
-
isShowAcct
public boolean isShowAcct()Get Show Accounting.- Specified by:
isShowAcctin interfaceI_AD_Role- Returns:
- Users with this role can see accounting information
-
setIsUseUserOrgAccess
public void setIsUseUserOrgAccess(boolean IsUseUserOrgAccess) Set Use User Org Access.- Specified by:
setIsUseUserOrgAccessin interfaceI_AD_Role- Parameters:
IsUseUserOrgAccess- Use Org Access defined by user instead of Role Org Access
-
isUseUserOrgAccess
public boolean isUseUserOrgAccess()Get Use User Org Access.- Specified by:
isUseUserOrgAccessin interfaceI_AD_Role- Returns:
- Use Org Access defined by user instead of Role Org Access
-
setMaxQueryRecords
public void setMaxQueryRecords(int MaxQueryRecords) Set Max Query Records.- Specified by:
setMaxQueryRecordsin interfaceI_AD_Role- Parameters:
MaxQueryRecords- If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records
-
getMaxQueryRecords
public int getMaxQueryRecords()Get Max Query Records.- Specified by:
getMaxQueryRecordsin interfaceI_AD_Role- Returns:
- If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records
-
setName
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setOverwritePriceLimit
public void setOverwritePriceLimit(boolean OverwritePriceLimit) Set Overwrite Price Limit.- Specified by:
setOverwritePriceLimitin interfaceI_AD_Role- Parameters:
OverwritePriceLimit- Overwrite Price Limit if the Price List enforces the Price Limit
-
isOverwritePriceLimit
public boolean isOverwritePriceLimit()Get Overwrite Price Limit.- Specified by:
isOverwritePriceLimitin interfaceI_AD_Role- Returns:
- Overwrite Price Limit if the Price List enforces the Price Limit
-
setPredefinedContextVariables
Set Predefined Context Variables.- Specified by:
setPredefinedContextVariablesin interfaceI_AD_Role- Parameters:
PredefinedContextVariables- Predefined context variables to inject when opening a menu entry or a window
-
getPredefinedContextVariables
Get Predefined Context Variables.- Specified by:
getPredefinedContextVariablesin interfaceI_AD_Role- Returns:
- Predefined context variables to inject when opening a menu entry or a window
-
setPreferenceType
Set Preference Level.- Specified by:
setPreferenceTypein interfaceI_AD_Role- Parameters:
PreferenceType- Determines what preferences the user can set
-
getPreferenceType
Get Preference Level.- Specified by:
getPreferenceTypein interfaceI_AD_Role- Returns:
- Determines what preferences the user can set
-
setRoleType
Set Role Type.- Specified by:
setRoleTypein interfaceI_AD_Role- Parameters:
RoleType- Role Type
-
getRoleType
Get Role Type.- Specified by:
getRoleTypein interfaceI_AD_Role- Returns:
- Role Type
-
getSupervisor
Deprecated.- Specified by:
getSupervisorin interfaceI_AD_Role- Throws:
RuntimeException
-
setSupervisor_ID
public void setSupervisor_ID(int Supervisor_ID) Set Supervisor.- Specified by:
setSupervisor_IDin interfaceI_AD_Role- Parameters:
Supervisor_ID- Supervisor for this user/organization - used for escalation and approval
-
getSupervisor_ID
public int getSupervisor_ID()Get Supervisor.- Specified by:
getSupervisor_IDin interfaceI_AD_Role- Returns:
- Supervisor for this user/organization - used for escalation and approval
-
setUserDiscount
Set User Discount.- Specified by:
setUserDiscountin interfaceI_AD_Role- Parameters:
UserDiscount- User Discount
-
getUserDiscount
Get User Discount.- Specified by:
getUserDiscountin interfaceI_AD_Role- Returns:
- User Discount
-
setUserLevel
Set User Level.- Specified by:
setUserLevelin interfaceI_AD_Role- Parameters:
UserLevel- System Tenant Organization
-
getUserLevel
Get User Level.- Specified by:
getUserLevelin interfaceI_AD_Role- Returns:
- System Tenant Organization
-