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
public class X_AD_Role extends PO implements I_AD_Role, I_Persistent
Generated Model for AD_Role- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PREFERENCETYPE_AD_Reference_ID
PreferenceType AD_Reference_ID=330static String
PREFERENCETYPE_Client
Client = Cstatic String
PREFERENCETYPE_None
None = Nstatic String
PREFERENCETYPE_Organization
Organization = Ostatic String
PREFERENCETYPE_User
User = Ustatic int
ROLETYPE_AD_Reference_ID
RoleType AD_Reference_ID=200166static String
ROLETYPE_ExternalApp1
External App 1 = E1static String
ROLETYPE_ExternalApp2
External App 2 = E2static String
ROLETYPE_ExternalApp3
External App 3 = E3static String
ROLETYPE_ExternalApp4
External App 4 = E4static String
ROLETYPE_ExternalApp5
External App 5 = E5static String
ROLETYPE_Mobile
Mobile = MOstatic String
ROLETYPE_Swing
Swing = SWstatic String
ROLETYPE_SystemSupport
System Support = SSstatic String
ROLETYPE_WebService
WebService = WSstatic String
ROLETYPE_WebUI
WebUI = ZKstatic int
USERLEVEL_AD_Reference_ID
UserLevel AD_Reference_ID=226static String
USERLEVEL_Client
Client = Cstatic String
USERLEVEL_ClientPlusOrganization
Client+Organization = COstatic String
USERLEVEL_Organization
Organization = Ostatic String
USERLEVEL_System
System = S-
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_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_IsDiscountAllowedOnTotal, COLUMNNAME_IsDiscountUptoLimitPrice, COLUMNNAME_IsManual, COLUMNNAME_IsMasterRole, COLUMNNAME_IsMenuAutoExpand, COLUMNNAME_IsPersonalAccess, COLUMNNAME_IsPersonalLock, COLUMNNAME_IsShowAcct, COLUMNNAME_IsUseUserOrgAccess, COLUMNNAME_MaxQueryRecords, COLUMNNAME_Name, COLUMNNAME_OverwritePriceLimit, COLUMNNAME_PreferenceType, COLUMNNAME_RoleType, COLUMNNAME_Supervisor_ID, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_UserDiscount, COLUMNNAME_UserLevel, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_Role(Properties ctx, int AD_Role_ID, String trxName)
Standard ConstructorX_AD_Role(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()
AccessLevelint
getAD_Role_ID()
Get Role.String
getAD_Role_UU()
Get AD_Role_UU.I_AD_Tree
getAD_Tree_Menu()
int
getAD_Tree_Menu_ID()
Get Menu Tree.I_AD_Tree
getAD_Tree_Org()
int
getAD_Tree_Org_ID()
Get Organization Tree.BigDecimal
getAmtApproval()
Get Approval Amount.BigDecimal
getAmtApprovalAccum()
Get Approval Amount Accumulated.I_C_Currency
getC_Currency()
int
getC_Currency_ID()
Get Currency.int
getConfirmQueryRecords()
Get Confirm Query Records.int
getDaysApprovalAccum()
Get Days Approval Accumulated.String
getDescription()
Get Description.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getMaxQueryRecords()
Get Max Query Records.String
getName()
Get Name.String
getPreferenceType()
Get Preference Level.String
getRoleType()
Get Role Type.I_AD_User
getSupervisor()
int
getSupervisor_ID()
Get Supervisor.BigDecimal
getUserDiscount()
Get UserDiscount.String
getUserLevel()
Get User Level.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAccessAdvanced()
Get Access Advanced.boolean
isAccessAllOrgs()
Get Access all Orgs.boolean
isAllow_Info_Account()
Get Allow Info Account.boolean
isAllow_Info_Asset()
Get Allow Info Asset.boolean
isAllow_Info_BPartner()
Get Allow Info BPartner.boolean
isAllow_Info_InOut()
Get Allow Info InOut.boolean
isAllow_Info_Invoice()
Get Allow Info Invoice.boolean
isAllow_Info_Order()
Get Allow Info Order.boolean
isAllow_Info_Payment()
Get Allow Info Payment.boolean
isAllow_Info_Product()
Get Allow Info Product.boolean
isAllow_Info_Resource()
Get Allow Info Resource.boolean
isAllow_Info_Schedule()
Get Allow Info Schedule.boolean
isCanApproveOwnDoc()
Get Approve own Documents.boolean
isCanExport()
Get Can Export.boolean
isCanReport()
Get Can Report.boolean
isChangeLog()
Get Maintain Change Log.boolean
isDiscountAllowedOnTotal()
Get IsDiscountAllowedOnTotal.boolean
isDiscountUptoLimitPrice()
Get IsDiscountUptoLimitPrice.boolean
isManual()
Get Manual.boolean
isMasterRole()
Get Master Role.boolean
isMenuAutoExpand()
Get Auto expand menu.boolean
isOverwritePriceLimit()
Get Overwrite Price Limit.boolean
isPersonalAccess()
Get Personal Access.boolean
isPersonalLock()
Get Personal Lock.boolean
isShowAcct()
Get Show Accounting.boolean
isUseUserOrgAccess()
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
setIsDiscountAllowedOnTotal(boolean IsDiscountAllowedOnTotal)
Set IsDiscountAllowedOnTotal.void
setIsDiscountUptoLimitPrice(boolean IsDiscountUptoLimitPrice)
Set IsDiscountUptoLimitPrice.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
setName(String Name)
Set Name.void
setOverwritePriceLimit(boolean OverwritePriceLimit)
Set Overwrite Price Limit.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 UserDiscount.void
setUserLevel(String UserLevel)
Set User Level.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_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 Detail
-
PREFERENCETYPE_AD_Reference_ID
public static final int PREFERENCETYPE_AD_Reference_ID
PreferenceType AD_Reference_ID=330- See Also:
- Constant Field Values
-
PREFERENCETYPE_Client
public static final String PREFERENCETYPE_Client
Client = C- See Also:
- Constant Field Values
-
PREFERENCETYPE_None
public static final String PREFERENCETYPE_None
None = N- See Also:
- Constant Field Values
-
PREFERENCETYPE_Organization
public static final String PREFERENCETYPE_Organization
Organization = O- See Also:
- Constant Field Values
-
PREFERENCETYPE_User
public static final String PREFERENCETYPE_User
User = U- See Also:
- Constant Field Values
-
ROLETYPE_AD_Reference_ID
public static final int ROLETYPE_AD_Reference_ID
RoleType AD_Reference_ID=200166- See Also:
- Constant Field Values
-
ROLETYPE_ExternalApp1
public static final String ROLETYPE_ExternalApp1
External App 1 = E1- See Also:
- Constant Field Values
-
ROLETYPE_ExternalApp2
public static final String ROLETYPE_ExternalApp2
External App 2 = E2- See Also:
- Constant Field Values
-
ROLETYPE_ExternalApp3
public static final String ROLETYPE_ExternalApp3
External App 3 = E3- See Also:
- Constant Field Values
-
ROLETYPE_ExternalApp4
public static final String ROLETYPE_ExternalApp4
External App 4 = E4- See Also:
- Constant Field Values
-
ROLETYPE_ExternalApp5
public static final String ROLETYPE_ExternalApp5
External App 5 = E5- See Also:
- Constant Field Values
-
ROLETYPE_Mobile
public static final String ROLETYPE_Mobile
Mobile = MO- See Also:
- Constant Field Values
-
ROLETYPE_SystemSupport
public static final String ROLETYPE_SystemSupport
System Support = SS- See Also:
- Constant Field Values
-
ROLETYPE_Swing
public static final String ROLETYPE_Swing
Swing = SW- See Also:
- Constant Field Values
-
ROLETYPE_WebService
public static final String ROLETYPE_WebService
WebService = WS- See Also:
- Constant Field Values
-
ROLETYPE_WebUI
public static final String ROLETYPE_WebUI
WebUI = ZK- See Also:
- Constant Field Values
-
USERLEVEL_AD_Reference_ID
public static final int USERLEVEL_AD_Reference_ID
UserLevel AD_Reference_ID=226- See Also:
- Constant Field Values
-
USERLEVEL_Organization
public static final String USERLEVEL_Organization
Organization = O- See Also:
- Constant Field Values
-
USERLEVEL_Client
public static final String USERLEVEL_Client
Client = C- See Also:
- Constant Field Values
-
USERLEVEL_ClientPlusOrganization
public static final String USERLEVEL_ClientPlusOrganization
Client+Organization = CO- See Also:
- Constant Field Values
-
USERLEVEL_System
public static final String USERLEVEL_System
System = S- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_Role
public X_AD_Role(Properties ctx, int AD_Role_ID, String trxName)
Standard Constructor
-
X_AD_Role
public X_AD_Role(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
-
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
public void setAD_Role_UU(String AD_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
public String getAD_Role_UU()
Get AD_Role_UU.- Specified by:
getAD_Role_UU
in interfaceI_AD_Role
- Returns:
- AD_Role_UU
-
getAD_Tree_Menu
public I_AD_Tree getAD_Tree_Menu() throws RuntimeException
- 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
public I_AD_Tree getAD_Tree_Org() throws RuntimeException
- 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
public void setAmtApproval(BigDecimal AmtApproval)
Set Approval Amount.- Specified by:
setAmtApproval
in interfaceI_AD_Role
- Parameters:
AmtApproval
- The approval amount limit for this role
-
getAmtApproval
public BigDecimal getAmtApproval()
Get Approval Amount.- Specified by:
getAmtApproval
in interfaceI_AD_Role
- Returns:
- The approval amount limit for this role
-
setAmtApprovalAccum
public void setAmtApprovalAccum(BigDecimal AmtApprovalAccum)
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
public BigDecimal 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
public I_C_Currency getC_Currency() throws RuntimeException
- 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
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_Role
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String 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 client
-
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 client
-
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
-
setIsDiscountAllowedOnTotal
public void setIsDiscountAllowedOnTotal(boolean IsDiscountAllowedOnTotal)
Set IsDiscountAllowedOnTotal.- Specified by:
setIsDiscountAllowedOnTotal
in interfaceI_AD_Role
- Parameters:
IsDiscountAllowedOnTotal
- IsDiscountAllowedOnTotal
-
isDiscountAllowedOnTotal
public boolean isDiscountAllowedOnTotal()
Get IsDiscountAllowedOnTotal.- Specified by:
isDiscountAllowedOnTotal
in interfaceI_AD_Role
- Returns:
- IsDiscountAllowedOnTotal
-
setIsDiscountUptoLimitPrice
public void setIsDiscountUptoLimitPrice(boolean IsDiscountUptoLimitPrice)
Set IsDiscountUptoLimitPrice.- Specified by:
setIsDiscountUptoLimitPrice
in interfaceI_AD_Role
- Parameters:
IsDiscountUptoLimitPrice
- IsDiscountUptoLimitPrice
-
isDiscountUptoLimitPrice
public boolean isDiscountUptoLimitPrice()
Get IsDiscountUptoLimitPrice.- Specified by:
isDiscountUptoLimitPrice
in interfaceI_AD_Role
- Returns:
- IsDiscountUptoLimitPrice
-
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
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair 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
-
setPreferenceType
public void setPreferenceType(String PreferenceType)
Set Preference Level.- Specified by:
setPreferenceType
in interfaceI_AD_Role
- Parameters:
PreferenceType
- Determines what preferences the user can set
-
getPreferenceType
public String getPreferenceType()
Get Preference Level.- Specified by:
getPreferenceType
in interfaceI_AD_Role
- Returns:
- Determines what preferences the user can set
-
setRoleType
public void setRoleType(String RoleType)
Set Role Type.- Specified by:
setRoleType
in interfaceI_AD_Role
- Parameters:
RoleType
- Role Type
-
getRoleType
public String getRoleType()
Get Role Type.- Specified by:
getRoleType
in interfaceI_AD_Role
- Returns:
- Role Type
-
getSupervisor
public I_AD_User getSupervisor() throws RuntimeException
- 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
public void setUserDiscount(BigDecimal UserDiscount)
Set UserDiscount.- Specified by:
setUserDiscount
in interfaceI_AD_Role
- Parameters:
UserDiscount
- UserDiscount
-
getUserDiscount
public BigDecimal getUserDiscount()
Get UserDiscount.- Specified by:
getUserDiscount
in interfaceI_AD_Role
- Returns:
- UserDiscount
-
setUserLevel
public void setUserLevel(String UserLevel)
Set User Level.- Specified by:
setUserLevel
in interfaceI_AD_Role
- Parameters:
UserLevel
- System Client Organization
-
getUserLevel
public String getUserLevel()
Get User Level.- Specified by:
getUserLevel
in interfaceI_AD_Role
- Returns:
- System Client Organization
-
-