|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_AD_Role
public class X_AD_Role
Generated Model for AD_Role
| Field Summary | |
|---|---|
protected BigDecimal |
accessLevel
|
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 |
DISPLAYCLIENTORG_AD_Reference_ID
DisplayClientOrg AD_Reference_ID=427 |
static String |
DISPLAYCLIENTORG_AlwaysTenantOrganization
Always Tenant, Organization = A |
static String |
DISPLAYCLIENTORG_NeitherTenantNorOrg
Neither Tenant nor Org = N |
static String |
DISPLAYCLIENTORG_OnlyOrganization
Only Organization = O |
protected static KeyNamePair |
Model
|
static int |
PREFERENCETYPE_AD_Reference_ID
PreferenceType AD_Reference_ID=330 |
static String |
PREFERENCETYPE_None
None = N |
static String |
PREFERENCETYPE_Organization
Organization = O |
static String |
PREFERENCETYPE_Tenant
Tenant = C |
static String |
PREFERENCETYPE_User
User = U |
static int |
SUPERVISOR_ID_AD_Reference_ID
Supervisor_ID AD_Reference_ID=286 |
static int |
Table_ID
AD_Table_ID=156 |
static String |
Table_Name
TableName=AD_Role |
static long |
updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0 |
static int |
USERLEVEL_AD_Reference_ID
UserLevel AD_Reference_ID=226 |
static String |
USERLEVEL_Organization
Organization = O |
static String |
USERLEVEL_System
System = S |
static String |
USERLEVEL_Tenant
Tenant = C |
static String |
USERLEVEL_TenantPlusOrganization
Tenant+Organization = CO |
static int |
WINUSERDEFLEVEL_AD_Reference_ID
WinUserDefLevel AD_Reference_ID=428 |
static String |
WINUSERDEFLEVEL_None
None = N |
static String |
WINUSERDEFLEVEL_RoleOrUser
Role (or User) = R |
static String |
WINUSERDEFLEVEL_TenantOrRoleOrUser
Tenant (or Role or User) = C |
static String |
WINUSERDEFLEVEL_UserOnly
User only = U |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
X_AD_Role(Ctx ctx,
int AD_Role_ID,
String trxName)
Standard Constructor |
|
X_AD_Role(Ctx 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. |
int |
getConfirmQueryRecords()
Get Confirm Query Records. |
String |
getConnectionProfile()
Get Connection Profile. |
String |
getDescription()
Get Description. |
String |
getDisplayClientOrg()
Get Display. |
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. |
String |
getUserLevel()
Get User Level. |
String |
getWinUserDefLevel()
Get Customization Level. |
protected POInfo |
initPO(Ctx ctx)
Load Meta Data |
boolean |
isAccessAllOrgs()
Get Access all Orgs. |
boolean |
isAdministrator()
Get Administrator. |
boolean |
isCanApproveOwnDoc()
Get Approve own Documents. |
boolean |
isCanExport()
Get Can Export. |
boolean |
isCanReport()
Get Can Report. |
boolean |
isChangeLog()
Get Maintain Change Log. |
boolean |
isConnectionProfileValid(String test)
Is test a valid value. |
boolean |
isDisplayClientOrgValid(String test)
Is test a valid value. |
boolean |
isManual()
Get Manual. |
boolean |
isOverrideReturnPolicy()
Get Override Return Policy. |
boolean |
isOverwritePriceLimit()
Get Overwrite Price Limit. |
boolean |
isPersonalAccess()
Get Personal Access. |
boolean |
isPersonalLock()
Get Personal Lock. |
boolean |
isPreferenceTypeValid(String test)
Is test a valid value. |
boolean |
isShowAcct()
Get Show Accounting. |
boolean |
isUseBPRestrictions()
Get Use BP Restrictions. |
boolean |
isUserLevelValid(String test)
Is test a valid value. |
boolean |
isUseUserOrgAccess()
Get Use User Org Access. |
boolean |
isWinUserDefLevelValid(String test)
Is test a valid value. |
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 |
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 |
setDisplayClientOrg(String DisplayClientOrg)
Set Display. |
void |
setIsAccessAllOrgs(boolean IsAccessAllOrgs)
Set Access all Orgs. |
void |
setIsAdministrator(boolean IsAdministrator)
Set Administrator. |
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 |
setIsUseBPRestrictions(boolean IsUseBPRestrictions)
Set Use BP Restrictions. |
void |
setIsUseUserOrgAccess(boolean IsUseUserOrgAccess)
Set Use User Org Access. |
void |
setMaxQueryRecords(int MaxQueryRecords)
Set Max Query Records. |
void |
setName(String Name)
Set Name. |
void |
setOverrideReturnPolicy(boolean OverrideReturnPolicy)
Set Override Return Policy. |
void |
setOverwritePriceLimit(boolean OverwritePriceLimit)
Set Overwrite Price Limit. |
void |
setPreferenceType(String PreferenceType)
Set Preference Level. |
void |
setSupervisor_ID(int Supervisor_ID)
Set Supervisor. |
void |
setUserLevel(String UserLevel)
Set User Level. |
void |
setWinUserDefLevel(String WinUserDefLevel)
Set Customization Level. |
String |
toString()
Info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long updatedMS
public static final int Table_ID
public static final String Table_Name
protected static KeyNamePair Model
protected BigDecimal accessLevel
public static final int AD_TREE_MENU_ID_AD_Reference_ID
public static final int AD_TREE_ORG_ID_AD_Reference_ID
public static final int CONNECTIONPROFILE_AD_Reference_ID
public static final String CONNECTIONPROFILE_LAN
public static final String CONNECTIONPROFILE_TerminalServer
public static final String CONNECTIONPROFILE_VPN
public static final String CONNECTIONPROFILE_WAN
public static final int DISPLAYCLIENTORG_AD_Reference_ID
public static final String DISPLAYCLIENTORG_AlwaysTenantOrganization
public static final String DISPLAYCLIENTORG_NeitherTenantNorOrg
public static final String DISPLAYCLIENTORG_OnlyOrganization
public static final int PREFERENCETYPE_AD_Reference_ID
public static final String PREFERENCETYPE_Tenant
public static final String PREFERENCETYPE_None
public static final String PREFERENCETYPE_Organization
public static final String PREFERENCETYPE_User
public static final int SUPERVISOR_ID_AD_Reference_ID
public static final int USERLEVEL_AD_Reference_ID
public static final String USERLEVEL_Organization
public static final String USERLEVEL_Tenant
public static final String USERLEVEL_TenantPlusOrganization
public static final String USERLEVEL_System
public static final int WINUSERDEFLEVEL_AD_Reference_ID
public static final String WINUSERDEFLEVEL_TenantOrRoleOrUser
public static final String WINUSERDEFLEVEL_None
public static final String WINUSERDEFLEVEL_RoleOrUser
public static final String WINUSERDEFLEVEL_UserOnly
| Constructor Detail |
|---|
public X_AD_Role(Ctx ctx,
int AD_Role_ID,
String trxName)
ctx - contextAD_Role_ID - idtrxName - transaction
public X_AD_Role(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Ctx ctx)
initPO in class POctx - context
public String toString()
toString in class POpublic void setAD_Role_ID(int AD_Role_ID)
AD_Role_ID - Responsibility Rolepublic int getAD_Role_ID()
public void setAD_Tree_Menu_ID(int AD_Tree_Menu_ID)
AD_Tree_Menu_ID - Tree of the menupublic int getAD_Tree_Menu_ID()
public void setAD_Tree_Org_ID(int AD_Tree_Org_ID)
AD_Tree_Org_ID - Tree to determine organizational hierarchypublic int getAD_Tree_Org_ID()
public void setAmtApproval(BigDecimal AmtApproval)
AmtApproval - The approval amount limit for this rolepublic BigDecimal getAmtApproval()
public void setC_Currency_ID(int C_Currency_ID)
C_Currency_ID - The Currency for this recordpublic int getC_Currency_ID()
public void setConfirmQueryRecords(int ConfirmQueryRecords)
ConfirmQueryRecords - Require Confirmation if more records will be returned by the query (If not defined 500)public int getConfirmQueryRecords()
public boolean isConnectionProfileValid(String test)
test - testvalue
public void setConnectionProfile(String ConnectionProfile)
ConnectionProfile - How a Java Client connects to the server(s)public String getConnectionProfile()
public void setDescription(String Description)
Description - Optional short description of the recordpublic String getDescription()
public boolean isDisplayClientOrgValid(String test)
test - testvalue
public void setDisplayClientOrg(String DisplayClientOrg)
DisplayClientOrg - Display Policy for Tenant and Organizationpublic String getDisplayClientOrg()
public void setIsAccessAllOrgs(boolean IsAccessAllOrgs)
IsAccessAllOrgs - Access all Organizations (no org access control) of the clientpublic boolean isAccessAllOrgs()
public void setIsAdministrator(boolean IsAdministrator)
IsAdministrator - This is an administrator rolepublic boolean isAdministrator()
public void setIsCanApproveOwnDoc(boolean IsCanApproveOwnDoc)
IsCanApproveOwnDoc - Users with this role can approve their own documentspublic boolean isCanApproveOwnDoc()
public void setIsCanExport(boolean IsCanExport)
IsCanExport - Users with this role can export datapublic boolean isCanExport()
public void setIsCanReport(boolean IsCanReport)
IsCanReport - Users with this role can create reportspublic boolean isCanReport()
public void setIsChangeLog(boolean IsChangeLog)
IsChangeLog - Maintain a log of changespublic boolean isChangeLog()
public void setIsManual(boolean IsManual)
IsManual - This is a manual process or entrypublic boolean isManual()
public void setIsPersonalAccess(boolean IsPersonalAccess)
IsPersonalAccess - Allow access to all personal recordspublic boolean isPersonalAccess()
public void setIsPersonalLock(boolean IsPersonalLock)
IsPersonalLock - Allow users with role to lock access to personal recordspublic boolean isPersonalLock()
public void setIsShowAcct(boolean IsShowAcct)
IsShowAcct - Users with this role can see accounting informationpublic boolean isShowAcct()
public void setIsUseBPRestrictions(boolean IsUseBPRestrictions)
IsUseBPRestrictions - Restrict users to only Business Partners they are associated withpublic boolean isUseBPRestrictions()
public void setIsUseUserOrgAccess(boolean IsUseUserOrgAccess)
IsUseUserOrgAccess - Use Org Access defined by user instead of Role Org Accesspublic boolean isUseUserOrgAccess()
public void setMaxQueryRecords(int MaxQueryRecords)
MaxQueryRecords - If defined, you cannot query more records as defined - the query criteria needs to be changed to query less recordspublic int getMaxQueryRecords()
public void setName(String Name)
Name - Alphanumeric identifier of the entitypublic String getName()
public KeyNamePair getKeyNamePair()
public void setOverrideReturnPolicy(boolean OverrideReturnPolicy)
OverrideReturnPolicy - Override Return Policy if the policy timeframe is exceededpublic boolean isOverrideReturnPolicy()
public void setOverwritePriceLimit(boolean OverwritePriceLimit)
OverwritePriceLimit - Overwrite Price Limit if the Price List enforces the Price Limitpublic boolean isOverwritePriceLimit()
public boolean isPreferenceTypeValid(String test)
test - testvalue
public void setPreferenceType(String PreferenceType)
PreferenceType - Determines what preferences the user can setpublic String getPreferenceType()
public void setSupervisor_ID(int Supervisor_ID)
Supervisor_ID - Supervisor for this user/organization - used for escalation and approvalpublic int getSupervisor_ID()
public boolean isUserLevelValid(String test)
test - testvalue
public void setUserLevel(String UserLevel)
UserLevel - System Client Organizationpublic String getUserLevel()
public boolean isWinUserDefLevelValid(String test)
test - testvalue
public void setWinUserDefLevel(String WinUserDefLevel)
WinUserDefLevel - Level for Window Layout Customizationpublic String getWinUserDefLevel()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||