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 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PreferenceType AD_Reference_ID=330static final String
Client = Cstatic final String
None = Nstatic final String
Organization = Ostatic final String
User = Ustatic final int
RoleType AD_Reference_ID=200166static final String
External App 1 = E1static final String
External App 2 = E2static final String
External App 3 = E3static final String
External App 4 = E4static final String
External App 5 = E5static final String
Mobile = MOstatic final String
Swing = SWstatic final String
System Support = SSstatic final String
WebService = WSstatic final String
WebUI = ZKstatic final int
UserLevel AD_Reference_ID=226static final String
Client = Cstatic final String
Client+Organization = COstatic final String
Organization = Ostatic final String
System = 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_ID
Fields 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
ConstructorDescriptionX_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 int
AccessLevelint
Get Role.Get AD_Role_UU.int
Get Menu Tree.int
Get Organization Tree.Get Approval Amount.Get Approval Amount Accumulated.int
Get Currency.int
Get Confirm Query Records.int
Get Days Approval Accumulated.Get Description.Get Record ID/ColumnNameint
Get Max Query Records.getName()
Get Name.Get Predefined Context Variables.Get Preference Level.Get Role Type.int
Get Supervisor.Get User Discount.Get User Level.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Access Advanced.boolean
Get Access all Orgs.boolean
Get Allow Info Account.boolean
Get Allow Info Asset.boolean
Get Allow Info BPartner.boolean
Get Allow Info InOut.boolean
Get Allow Info Invoice.boolean
Get Allow Info Order.boolean
Get Allow Info Payment.boolean
Get Allow Info Product.boolean
Get Allow Info Resource.boolean
Get Allow Info Schedule.boolean
Get Approve own Documents.boolean
Get Can Export.boolean
Get Can Report.boolean
Get Maintain Change Log.boolean
Get Tenant Administrator.boolean
Get Is Discount Allowed On Total.boolean
Get Is Discount Up to Limit Price.boolean
isManual()
Get Manual.boolean
Get Master Role.boolean
Get Auto expand menu.boolean
Get Overwrite Price Limit.boolean
Get Personal Access.boolean
Get Personal Lock.boolean
Get Show Accounting.boolean
Get Use User Org Access.void
setAD_Role_ID
(int AD_Role_ID) Set Role.void
setAD_Role_UU
(String AD_Role_UU) Set AD_Role_UU.void
setAD_Tree_Menu_ID
(int AD_Tree_Menu_ID) Set Menu Tree.void
setAD_Tree_Org_ID
(int AD_Tree_Org_ID) Set Organization Tree.void
setAllow_Info_Account
(boolean Allow_Info_Account) Set Allow Info Account.void
setAllow_Info_Asset
(boolean Allow_Info_Asset) Set Allow Info Asset.void
setAllow_Info_BPartner
(boolean Allow_Info_BPartner) Set Allow Info BPartner.void
setAllow_Info_InOut
(boolean Allow_Info_InOut) Set Allow Info InOut.void
setAllow_Info_Invoice
(boolean Allow_Info_Invoice) Set Allow Info Invoice.void
setAllow_Info_Order
(boolean Allow_Info_Order) Set Allow Info Order.void
setAllow_Info_Payment
(boolean Allow_Info_Payment) Set Allow Info Payment.void
setAllow_Info_Product
(boolean Allow_Info_Product) Set Allow Info Product.void
setAllow_Info_Resource
(boolean Allow_Info_Resource) Set Allow Info Resource.void
setAllow_Info_Schedule
(boolean Allow_Info_Schedule) Set Allow Info Schedule.void
setAmtApproval
(BigDecimal AmtApproval) Set Approval Amount.void
setAmtApprovalAccum
(BigDecimal AmtApprovalAccum) Set Approval Amount Accumulated.void
setC_Currency_ID
(int C_Currency_ID) Set Currency.void
setConfirmQueryRecords
(int ConfirmQueryRecords) Set Confirm Query Records.void
setDaysApprovalAccum
(int DaysApprovalAccum) Set Days Approval Accumulated.void
setDescription
(String Description) Set Description.void
setIsAccessAdvanced
(boolean IsAccessAdvanced) Set Access Advanced.void
setIsAccessAllOrgs
(boolean IsAccessAllOrgs) Set Access all Orgs.void
setIsCanApproveOwnDoc
(boolean IsCanApproveOwnDoc) Set Approve own Documents.void
setIsCanExport
(boolean IsCanExport) Set Can Export.void
setIsCanReport
(boolean IsCanReport) Set Can Report.void
setIsChangeLog
(boolean IsChangeLog) Set Maintain Change Log.void
setIsClientAdministrator
(boolean IsClientAdministrator) Set Tenant Administrator.void
setIsDiscountAllowedOnTotal
(boolean IsDiscountAllowedOnTotal) Set Is Discount Allowed On Total.void
setIsDiscountUptoLimitPrice
(boolean IsDiscountUptoLimitPrice) Set Is Discount Up to Limit Price.void
setIsManual
(boolean IsManual) Set Manual.void
setIsMasterRole
(boolean IsMasterRole) Set Master Role.void
setIsMenuAutoExpand
(boolean IsMenuAutoExpand) Set Auto expand menu.void
setIsPersonalAccess
(boolean IsPersonalAccess) Set Personal Access.void
setIsPersonalLock
(boolean IsPersonalLock) Set Personal Lock.void
setIsShowAcct
(boolean IsShowAcct) Set Show Accounting.void
setIsUseUserOrgAccess
(boolean IsUseUserOrgAccess) Set Use User Org Access.void
setMaxQueryRecords
(int MaxQueryRecords) Set Max Query Records.void
Set Name.void
setOverwritePriceLimit
(boolean OverwritePriceLimit) Set Overwrite Price Limit.void
setPredefinedContextVariables
(String PredefinedContextVariables) Set Predefined Context Variables.void
setPreferenceType
(String PreferenceType) Set Preference Level.void
setRoleType
(String RoleType) Set Role Type.void
setSupervisor_ID
(int Supervisor_ID) Set Supervisor.void
setUserDiscount
(BigDecimal UserDiscount) Set User Discount.void
setUserLevel
(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_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
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_Role
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 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_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAD_Role_ID
public void setAD_Role_ID(int AD_Role_ID) Set Role.- Specified by:
setAD_Role_ID
in interfaceI_AD_Role
- Parameters:
AD_Role_ID
- Responsibility Role
-
getAD_Role_ID
public int getAD_Role_ID()Get Role.- Specified by:
getAD_Role_ID
in interfaceI_AD_Role
- Returns:
- Responsibility Role
-
setAD_Role_UU
Set AD_Role_UU.- Specified by:
setAD_Role_UU
in interfaceI_AD_Role
- Parameters:
AD_Role_UU
- AD_Role_UU
-
getAD_Role_UU
Get AD_Role_UU.- Specified by:
getAD_Role_UU
in interfaceI_AD_Role
- Returns:
- AD_Role_UU
-
getAD_Tree_Menu
- Specified by:
getAD_Tree_Menu
in 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_ID
in 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_ID
in interfaceI_AD_Role
- Returns:
- Tree of the menu
-
getAD_Tree_Org
- Specified by:
getAD_Tree_Org
in 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_ID
in 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_ID
in 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_Account
in 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_Account
in 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_Asset
in 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_Asset
in 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_BPartner
in 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_BPartner
in interfaceI_AD_Role
- Returns:
- Allow Info BPartner
-
setAllow_Info_InOut
public void setAllow_Info_InOut(boolean Allow_Info_InOut) Set Allow Info InOut.- Specified by:
setAllow_Info_InOut
in interfaceI_AD_Role
- Parameters:
Allow_Info_InOut
- Allow Info InOut
-
isAllow_Info_InOut
public boolean isAllow_Info_InOut()Get Allow Info InOut.- Specified by:
isAllow_Info_InOut
in interfaceI_AD_Role
- Returns:
- Allow Info InOut
-
setAllow_Info_Invoice
public void setAllow_Info_Invoice(boolean Allow_Info_Invoice) Set Allow Info Invoice.- Specified by:
setAllow_Info_Invoice
in 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_Invoice
in 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_Order
in 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_Order
in 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_Payment
in 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_Payment
in 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_Product
in 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_Product
in 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_Resource
in 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_Resource
in 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_Schedule
in 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_Schedule
in interfaceI_AD_Role
- Returns:
- Allow Info Schedule
-
setAmtApproval
Set Approval Amount.- Specified by:
setAmtApproval
in interfaceI_AD_Role
- Parameters:
AmtApproval
- The approval amount limit for this role
-
getAmtApproval
Get Approval Amount.- Specified by:
getAmtApproval
in interfaceI_AD_Role
- Returns:
- The approval amount limit for this role
-
setAmtApprovalAccum
Set Approval Amount Accumulated.- Specified by:
setAmtApprovalAccum
in interfaceI_AD_Role
- Parameters:
AmtApprovalAccum
- The approval amount limit for this role accumulated on a period
-
getAmtApprovalAccum
Get Approval Amount Accumulated.- Specified by:
getAmtApprovalAccum
in interfaceI_AD_Role
- Returns:
- The approval amount limit for this role accumulated on a period
-
getC_Currency
- Specified by:
getC_Currency
in interfaceI_AD_Role
- Throws:
RuntimeException
-
setC_Currency_ID
public void setC_Currency_ID(int C_Currency_ID) Set Currency.- Specified by:
setC_Currency_ID
in 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_ID
in interfaceI_AD_Role
- Returns:
- The Currency for this record
-
setConfirmQueryRecords
public void setConfirmQueryRecords(int ConfirmQueryRecords) Set Confirm Query Records.- Specified by:
setConfirmQueryRecords
in 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:
getConfirmQueryRecords
in 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:
setDaysApprovalAccum
in 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:
getDaysApprovalAccum
in 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:
setDescription
in interfaceI_AD_Role
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_Role
- Returns:
- Optional short description of the record
-
setIsAccessAdvanced
public void setIsAccessAdvanced(boolean IsAccessAdvanced) Set Access Advanced.- Specified by:
setIsAccessAdvanced
in interfaceI_AD_Role
- Parameters:
IsAccessAdvanced
- Access Advanced
-
isAccessAdvanced
public boolean isAccessAdvanced()Get Access Advanced.- Specified by:
isAccessAdvanced
in interfaceI_AD_Role
- Returns:
- Access Advanced
-
setIsAccessAllOrgs
public void setIsAccessAllOrgs(boolean IsAccessAllOrgs) Set Access all Orgs.- Specified by:
setIsAccessAllOrgs
in 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:
isAccessAllOrgs
in 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:
setIsCanApproveOwnDoc
in interfaceI_AD_Role
- Parameters:
IsCanApproveOwnDoc
- Users with this role can approve their own documents
-
isCanApproveOwnDoc
public boolean isCanApproveOwnDoc()Get Approve own Documents.- Specified by:
isCanApproveOwnDoc
in interfaceI_AD_Role
- Returns:
- Users with this role can approve their own documents
-
setIsCanExport
public void setIsCanExport(boolean IsCanExport) Set Can Export.- Specified by:
setIsCanExport
in interfaceI_AD_Role
- Parameters:
IsCanExport
- Users with this role can export data
-
isCanExport
public boolean isCanExport()Get Can Export.- Specified by:
isCanExport
in interfaceI_AD_Role
- Returns:
- Users with this role can export data
-
setIsCanReport
public void setIsCanReport(boolean IsCanReport) Set Can Report.- Specified by:
setIsCanReport
in interfaceI_AD_Role
- Parameters:
IsCanReport
- Users with this role can create reports
-
isCanReport
public boolean isCanReport()Get Can Report.- Specified by:
isCanReport
in interfaceI_AD_Role
- Returns:
- Users with this role can create reports
-
setIsChangeLog
public void setIsChangeLog(boolean IsChangeLog) Set Maintain Change Log.- Specified by:
setIsChangeLog
in interfaceI_AD_Role
- Parameters:
IsChangeLog
- Maintain a log of changes
-
isChangeLog
public boolean isChangeLog()Get Maintain Change Log.- Specified by:
isChangeLog
in interfaceI_AD_Role
- Returns:
- Maintain a log of changes
-
setIsClientAdministrator
public void setIsClientAdministrator(boolean IsClientAdministrator) Set Tenant Administrator.- Specified by:
setIsClientAdministrator
in interfaceI_AD_Role
- Parameters:
IsClientAdministrator
- This role is a tenant administrator
-
isClientAdministrator
public boolean isClientAdministrator()Get Tenant Administrator.- Specified by:
isClientAdministrator
in interfaceI_AD_Role
- Returns:
- This role is a tenant administrator
-
setIsDiscountAllowedOnTotal
public void setIsDiscountAllowedOnTotal(boolean IsDiscountAllowedOnTotal) Set Is Discount Allowed On Total.- Specified by:
setIsDiscountAllowedOnTotal
in interfaceI_AD_Role
- Parameters:
IsDiscountAllowedOnTotal
- Is Discount Allowed On Total
-
isDiscountAllowedOnTotal
public boolean isDiscountAllowedOnTotal()Get Is Discount Allowed On Total.- Specified by:
isDiscountAllowedOnTotal
in interfaceI_AD_Role
- Returns:
- Is Discount Allowed On Total
-
setIsDiscountUptoLimitPrice
public void setIsDiscountUptoLimitPrice(boolean IsDiscountUptoLimitPrice) Set Is Discount Up to Limit Price.- Specified by:
setIsDiscountUptoLimitPrice
in interfaceI_AD_Role
- Parameters:
IsDiscountUptoLimitPrice
- Is Discount Up to Limit Price
-
isDiscountUptoLimitPrice
public boolean isDiscountUptoLimitPrice()Get Is Discount Up to Limit Price.- Specified by:
isDiscountUptoLimitPrice
in interfaceI_AD_Role
- Returns:
- Is Discount Up to Limit Price
-
setIsManual
public void setIsManual(boolean IsManual) Set Manual.- Specified by:
setIsManual
in 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:
setIsMasterRole
in 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:
isMasterRole
in 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:
setIsMenuAutoExpand
in interfaceI_AD_Role
- Parameters:
IsMenuAutoExpand
- If ticked, the menu is automatically expanded
-
isMenuAutoExpand
public boolean isMenuAutoExpand()Get Auto expand menu.- Specified by:
isMenuAutoExpand
in interfaceI_AD_Role
- Returns:
- If ticked, the menu is automatically expanded
-
setIsPersonalAccess
public void setIsPersonalAccess(boolean IsPersonalAccess) Set Personal Access.- Specified by:
setIsPersonalAccess
in interfaceI_AD_Role
- Parameters:
IsPersonalAccess
- Allow access to all personal records
-
isPersonalAccess
public boolean isPersonalAccess()Get Personal Access.- Specified by:
isPersonalAccess
in interfaceI_AD_Role
- Returns:
- Allow access to all personal records
-
setIsPersonalLock
public void setIsPersonalLock(boolean IsPersonalLock) Set Personal Lock.- Specified by:
setIsPersonalLock
in interfaceI_AD_Role
- Parameters:
IsPersonalLock
- Allow users with role to lock access to personal records
-
isPersonalLock
public boolean isPersonalLock()Get Personal Lock.- Specified by:
isPersonalLock
in 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:
setIsShowAcct
in interfaceI_AD_Role
- Parameters:
IsShowAcct
- Users with this role can see accounting information
-
isShowAcct
public boolean isShowAcct()Get Show Accounting.- Specified by:
isShowAcct
in 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:
setIsUseUserOrgAccess
in 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:
isUseUserOrgAccess
in 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:
setMaxQueryRecords
in 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:
getMaxQueryRecords
in 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:
setOverwritePriceLimit
in 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:
isOverwritePriceLimit
in interfaceI_AD_Role
- Returns:
- Overwrite Price Limit if the Price List enforces the Price Limit
-
setPredefinedContextVariables
Set Predefined Context Variables.- Specified by:
setPredefinedContextVariables
in 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:
getPredefinedContextVariables
in interfaceI_AD_Role
- Returns:
- Predefined context variables to inject when opening a menu entry or a window
-
setPreferenceType
Set Preference Level.- Specified by:
setPreferenceType
in interfaceI_AD_Role
- Parameters:
PreferenceType
- Determines what preferences the user can set
-
getPreferenceType
Get Preference Level.- Specified by:
getPreferenceType
in interfaceI_AD_Role
- Returns:
- Determines what preferences the user can set
-
setRoleType
Set Role Type.- Specified by:
setRoleType
in interfaceI_AD_Role
- Parameters:
RoleType
- Role Type
-
getRoleType
Get Role Type.- Specified by:
getRoleType
in interfaceI_AD_Role
- Returns:
- Role Type
-
getSupervisor
- Specified by:
getSupervisor
in interfaceI_AD_Role
- Throws:
RuntimeException
-
setSupervisor_ID
public void setSupervisor_ID(int Supervisor_ID) Set Supervisor.- Specified by:
setSupervisor_ID
in 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_ID
in interfaceI_AD_Role
- Returns:
- Supervisor for this user/organization - used for escalation and approval
-
setUserDiscount
Set User Discount.- Specified by:
setUserDiscount
in interfaceI_AD_Role
- Parameters:
UserDiscount
- User Discount
-
getUserDiscount
Get User Discount.- Specified by:
getUserDiscount
in interfaceI_AD_Role
- Returns:
- User Discount
-
setUserLevel
Set User Level.- Specified by:
setUserLevel
in interfaceI_AD_Role
- Parameters:
UserLevel
- System Tenant Organization
-
getUserLevel
Get User Level.- Specified by:
getUserLevel
in interfaceI_AD_Role
- Returns:
- System Tenant Organization
-