Adempiere 3.5.2a

org.compiere.model
Class X_AD_Role

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_AD_Role
All Implemented Interfaces:
Serializable, Comparator, 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 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int AD_TREE_MENU_ID_AD_Reference_ID
          AD_Tree_Menu_ID AD_Reference_ID=184
static int AD_TREE_ORG_ID_AD_Reference_ID
          AD_Tree_Org_ID AD_Reference_ID=184
static int CONNECTIONPROFILE_AD_Reference_ID
          ConnectionProfile AD_Reference_ID=364
static String CONNECTIONPROFILE_LAN
          LAN = L
static String CONNECTIONPROFILE_TerminalServer
          Terminal Server = T
static String CONNECTIONPROFILE_VPN
          VPN = V
static String CONNECTIONPROFILE_WAN
          WAN = W
static int PREFERENCETYPE_AD_Reference_ID
          PreferenceType AD_Reference_ID=330
static String PREFERENCETYPE_Client
          Client = C
static String PREFERENCETYPE_None
          None = N
static String PREFERENCETYPE_Organization
          Organization = O
static String PREFERENCETYPE_User
          User = U
static int SUPERVISOR_ID_AD_Reference_ID
          Supervisor_ID AD_Reference_ID=286
static int USERLEVEL_AD_Reference_ID
          UserLevel AD_Reference_ID=226
static String USERLEVEL_Client
          Client = C
static String USERLEVEL_ClientPlusOrganization
          Client+Organization = CO
static String USERLEVEL_Organization
          Organization = O
static 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, 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_Role_ID, 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_CashJournal, COLUMNNAME_Allow_Info_CRP, COLUMNNAME_Allow_Info_InOut, COLUMNNAME_Allow_Info_Invoice, COLUMNNAME_Allow_Info_MRP, COLUMNNAME_Allow_Info_Order, COLUMNNAME_Allow_Info_Payment, COLUMNNAME_Allow_Info_Product, COLUMNNAME_Allow_Info_Resource, COLUMNNAME_Allow_Info_Schedule, COLUMNNAME_AmtApproval, COLUMNNAME_C_Currency_ID, COLUMNNAME_ConfirmQueryRecords, COLUMNNAME_ConnectionProfile, COLUMNNAME_Description, COLUMNNAME_IsAccessAllOrgs, COLUMNNAME_IsCanApproveOwnDoc, COLUMNNAME_IsCanExport, COLUMNNAME_IsCanReport, COLUMNNAME_IsChangeLog, COLUMNNAME_IsManual, COLUMNNAME_IsPersonalAccess, COLUMNNAME_IsPersonalLock, COLUMNNAME_IsShowAcct, COLUMNNAME_IsUseUserOrgAccess, COLUMNNAME_MaxQueryRecords, COLUMNNAME_Name, COLUMNNAME_OverwritePriceLimit, COLUMNNAME_PreferenceType, COLUMNNAME_Supervisor_ID, COLUMNNAME_UserDiscount, COLUMNNAME_UserLevel, Model, Table_ID, Table_Name
 
Constructor Summary
X_AD_Role(Properties ctx, int AD_Role_ID, String trxName)
          Standard Constructor
X_AD_Role(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 int getAD_Role_ID()
          Get Role.
 int getAD_Tree_Menu_ID()
          Get Menu Tree.
 int getAD_Tree_Org_ID()
          Get Organization Tree.
 BigDecimal getAmtApproval()
          Get Approval Amount.
 int getC_Currency_ID()
          Get Currency.
 I_C_Currency getC_Currency()
           
 int getConfirmQueryRecords()
          Get Confirm Query Records.
 String getConnectionProfile()
          Get Connection Profile.
 String getDescription()
          Get Description.
 KeyNamePair getKeyNamePair()
          Get Record ID/ColumnName
 int getMaxQueryRecords()
          Get Max Query Records.
 String getName()
          Get Name.
 String getPreferenceType()
          Get Preference Level.
 int getSupervisor_ID()
          Get Supervisor.
 BigDecimal getUserDiscount()
          Get UserDiscount.
 String getUserLevel()
          Get User Level.
protected  POInfo initPO(Properties ctx)
          Load Meta Data
 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_CashJournal()
          Get Allow Info CashJournal.
 boolean isAllow_Info_CRP()
          Get Allow Info CRP.
 boolean isAllow_Info_InOut()
          Get Allow Info InOut.
 boolean isAllow_Info_Invoice()
          Get Allow Info Invoice.
 boolean isAllow_Info_MRP()
          Get Allow Info MRP.
 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 isManual()
          Get Manual.
 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_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_CashJournal(boolean Allow_Info_CashJournal)
          Set Allow Info CashJournal.
 void setAllow_Info_CRP(boolean Allow_Info_CRP)
          Set Allow Info CRP.
 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_MRP(boolean Allow_Info_MRP)
          Set Allow Info MRP.
 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 setC_Currency_ID(int C_Currency_ID)
          Set Currency.
 void setConfirmQueryRecords(int ConfirmQueryRecords)
          Set Confirm Query Records.
 void setConnectionProfile(String ConnectionProfile)
          Set Connection Profile.
 void setDescription(String Description)
          Set Description.
 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 setIsManual(boolean IsManual)
          Set Manual.
 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 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, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, 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_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

AD_TREE_MENU_ID_AD_Reference_ID

public static final int AD_TREE_MENU_ID_AD_Reference_ID
AD_Tree_Menu_ID AD_Reference_ID=184

See Also:
Constant Field Values

AD_TREE_ORG_ID_AD_Reference_ID

public static final int AD_TREE_ORG_ID_AD_Reference_ID
AD_Tree_Org_ID AD_Reference_ID=184

See Also:
Constant Field Values

CONNECTIONPROFILE_AD_Reference_ID

public static final int CONNECTIONPROFILE_AD_Reference_ID
ConnectionProfile AD_Reference_ID=364

See Also:
Constant Field Values

CONNECTIONPROFILE_LAN

public static final String CONNECTIONPROFILE_LAN
LAN = L

See Also:
Constant Field Values

CONNECTIONPROFILE_TerminalServer

public static final String CONNECTIONPROFILE_TerminalServer
Terminal Server = T

See Also:
Constant Field Values

CONNECTIONPROFILE_VPN

public static final String CONNECTIONPROFILE_VPN
VPN = V

See Also:
Constant Field Values

CONNECTIONPROFILE_WAN

public static final String CONNECTIONPROFILE_WAN
WAN = W

See Also:
Constant Field Values

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_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

PREFERENCETYPE_None

public static final String PREFERENCETYPE_None
None = N

See Also:
Constant Field Values

SUPERVISOR_ID_AD_Reference_ID

public static final int SUPERVISOR_ID_AD_Reference_ID
Supervisor_ID AD_Reference_ID=286

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_System

public static final String USERLEVEL_System
System = S

See Also:
Constant Field Values

USERLEVEL_Client

public static final String USERLEVEL_Client
Client = C

See Also:
Constant Field Values

USERLEVEL_Organization

public static final String USERLEVEL_Organization
Organization = O

See Also:
Constant Field Values

USERLEVEL_ClientPlusOrganization

public static final String USERLEVEL_ClientPlusOrganization
Client+Organization = CO

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 class PO
Returns:
6 - System - Client

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setAD_Role_ID

public void setAD_Role_ID(int AD_Role_ID)
Set Role.

Specified by:
setAD_Role_ID in interface I_AD_Role
Parameters:
AD_Role_ID - Responsibility Role

getAD_Role_ID

public int getAD_Role_ID()
Get Role.

Specified by:
getAD_Role_ID in interface I_AD_Role
Returns:
Responsibility Role

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 interface I_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 interface I_AD_Role
Returns:
Tree of the menu

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 interface I_AD_Role
Parameters:
AD_Tree_Org_ID - Tree to determine organizational hierarchy

getAD_Tree_Org_ID

public int getAD_Tree_Org_ID()
Get Organization Tree.

Specified by:
getAD_Tree_Org_ID in interface I_AD_Role
Returns:
Tree to determine organizational hierarchy

setAllow_Info_Account

public void setAllow_Info_Account(boolean Allow_Info_Account)
Set Allow Info Account.

Specified by:
setAllow_Info_Account in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_AD_Role
Returns:
Allow Info BPartner

setAllow_Info_CashJournal

public void setAllow_Info_CashJournal(boolean Allow_Info_CashJournal)
Set Allow Info CashJournal.

Specified by:
setAllow_Info_CashJournal in interface I_AD_Role
Parameters:
Allow_Info_CashJournal - Allow Info CashJournal

isAllow_Info_CashJournal

public boolean isAllow_Info_CashJournal()
Get Allow Info CashJournal.

Specified by:
isAllow_Info_CashJournal in interface I_AD_Role
Returns:
Allow Info CashJournal

setAllow_Info_CRP

public void setAllow_Info_CRP(boolean Allow_Info_CRP)
Set Allow Info CRP.

Specified by:
setAllow_Info_CRP in interface I_AD_Role
Parameters:
Allow_Info_CRP - Allow Info CRP

isAllow_Info_CRP

public boolean isAllow_Info_CRP()
Get Allow Info CRP.

Specified by:
isAllow_Info_CRP in interface I_AD_Role
Returns:
Allow Info CRP

setAllow_Info_InOut

public void setAllow_Info_InOut(boolean Allow_Info_InOut)
Set Allow Info InOut.

Specified by:
setAllow_Info_InOut in interface I_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 interface I_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 interface I_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 interface I_AD_Role
Returns:
Allow Info Invoice

setAllow_Info_MRP

public void setAllow_Info_MRP(boolean Allow_Info_MRP)
Set Allow Info MRP.

Specified by:
setAllow_Info_MRP in interface I_AD_Role
Parameters:
Allow_Info_MRP - Allow Info MRP

isAllow_Info_MRP

public boolean isAllow_Info_MRP()
Get Allow Info MRP.

Specified by:
isAllow_Info_MRP in interface I_AD_Role
Returns:
Allow Info MRP

setAllow_Info_Order

public void setAllow_Info_Order(boolean Allow_Info_Order)
Set Allow Info Order.

Specified by:
setAllow_Info_Order in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_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 interface I_AD_Role
Returns:
Allow Info Schedule

setAmtApproval

public void setAmtApproval(BigDecimal AmtApproval)
Set Approval Amount.

Specified by:
setAmtApproval in interface I_AD_Role
Parameters:
AmtApproval - The approval amount limit for this role

getAmtApproval

public BigDecimal getAmtApproval()
Get Approval Amount.

Specified by:
getAmtApproval in interface I_AD_Role
Returns:
The approval amount limit for this role

getC_Currency

public I_C_Currency getC_Currency()
                           throws Exception
Specified by:
getC_Currency in interface I_AD_Role
Throws:
Exception

setC_Currency_ID

public void setC_Currency_ID(int C_Currency_ID)
Set Currency.

Specified by:
setC_Currency_ID in interface I_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 interface I_AD_Role
Returns:
The Currency for this record

setConfirmQueryRecords

public void setConfirmQueryRecords(int ConfirmQueryRecords)
Set Confirm Query Records.

Specified by:
setConfirmQueryRecords in interface I_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 interface I_AD_Role
Returns:
Require Confirmation if more records will be returned by the query (If not defined 500)

setConnectionProfile

public void setConnectionProfile(String ConnectionProfile)
Set Connection Profile.

Specified by:
setConnectionProfile in interface I_AD_Role
Parameters:
ConnectionProfile - How a Java Client connects to the server(s)

getConnectionProfile

public String getConnectionProfile()
Get Connection Profile.

Specified by:
getConnectionProfile in interface I_AD_Role
Returns:
How a Java Client connects to the server(s)

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_AD_Role
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_AD_Role
Returns:
Optional short description of the record

setIsAccessAllOrgs

public void setIsAccessAllOrgs(boolean IsAccessAllOrgs)
Set Access all Orgs.

Specified by:
setIsAccessAllOrgs in interface I_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 interface I_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 interface I_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 interface I_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 interface I_AD_Role
Parameters:
IsCanExport - Users with this role can export data

isCanExport

public boolean isCanExport()
Get Can Export.

Specified by:
isCanExport in interface I_AD_Role
Returns:
Users with this role can export data

setIsCanReport

public void setIsCanReport(boolean IsCanReport)
Set Can Report.

Specified by:
setIsCanReport in interface I_AD_Role
Parameters:
IsCanReport - Users with this role can create reports

isCanReport

public boolean isCanReport()
Get Can Report.

Specified by:
isCanReport in interface I_AD_Role
Returns:
Users with this role can create reports

setIsChangeLog

public void setIsChangeLog(boolean IsChangeLog)
Set Maintain Change Log.

Specified by:
setIsChangeLog in interface I_AD_Role
Parameters:
IsChangeLog - Maintain a log of changes

isChangeLog

public boolean isChangeLog()
Get Maintain Change Log.

Specified by:
isChangeLog in interface I_AD_Role
Returns:
Maintain a log of changes

setIsManual

public void setIsManual(boolean IsManual)
Set Manual.

Specified by:
setIsManual in interface I_AD_Role
Parameters:
IsManual - This is a manual process

isManual

public boolean isManual()
Get Manual.

Specified by:
isManual in interface I_AD_Role
Returns:
This is a manual process

setIsPersonalAccess

public void setIsPersonalAccess(boolean IsPersonalAccess)
Set Personal Access.

Specified by:
setIsPersonalAccess in interface I_AD_Role
Parameters:
IsPersonalAccess - Allow access to all personal records

isPersonalAccess

public boolean isPersonalAccess()
Get Personal Access.

Specified by:
isPersonalAccess in interface I_AD_Role
Returns:
Allow access to all personal records

setIsPersonalLock

public void setIsPersonalLock(boolean IsPersonalLock)
Set Personal Lock.

Specified by:
setIsPersonalLock in interface I_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 interface I_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 interface I_AD_Role
Parameters:
IsShowAcct - Users with this role can see accounting information

isShowAcct

public boolean isShowAcct()
Get Show Accounting.

Specified by:
isShowAcct in interface I_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 interface I_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 interface I_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 interface I_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 interface I_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.

Specified by:
setName in interface I_AD_Role
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_AD_Role
Returns:
Alphanumeric identifier of the entity

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 interface I_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 interface I_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 interface I_AD_Role
Parameters:
PreferenceType - Determines what preferences the user can set

getPreferenceType

public String getPreferenceType()
Get Preference Level.

Specified by:
getPreferenceType in interface I_AD_Role
Returns:
Determines what preferences the user can set

setSupervisor_ID

public void setSupervisor_ID(int Supervisor_ID)
Set Supervisor.

Specified by:
setSupervisor_ID in interface I_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 interface I_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 interface I_AD_Role
Parameters:
UserDiscount - UserDiscount

getUserDiscount

public BigDecimal getUserDiscount()
Get UserDiscount.

Specified by:
getUserDiscount in interface I_AD_Role
Returns:
UserDiscount

setUserLevel

public void setUserLevel(String UserLevel)
Set User Level.

Specified by:
setUserLevel in interface I_AD_Role
Parameters:
UserLevel - System Client Organization

getUserLevel

public String getUserLevel()
Get User Level.

Specified by:
getUserLevel in interface I_AD_Role
Returns:
System Client Organization

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.