public class AdmSecurityProfile extends SecurityProfile
| Modifier and Type | Field and Description |
|---|---|
private static int[] |
cvDsplySeq
The configured display sequences for profile settings.
|
private static java.lang.String[] |
cvDsplyTxt
The configured display text for profile settings.
|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
AdmSecurityProfile(SecurityProfile secprof,
boolean first)
Constructs an
AdmSecurityProfile object using all values from
the given security profile object. |
| Modifier and Type | Method and Description |
|---|---|
Checkbox |
getSettingsCheckbox(int index)
Returns the checkbox for the setting at the given display index.
|
int |
getSettingsCount()
Returns the number of settings to display.
|
java.lang.String |
getSettingsText(int index)
Returns the text description for the setting at the given display index.
|
java.lang.String |
getSettingsYesNo(int index)
Returns the Yes/No text for the setting at the given display index.
|
void |
resetSettings()
Resets all settings to
false (which is "N" in the db table). |
void |
setSettingsFlag(int index)
Sets the settings flag at the given display index.
|
getAllowAcctAccess, getAllowAddToCart, getAllowAddToFavorites, getAllowBuyFromCart, getAllowCheckOut, getAllowCreateQuotes, getAllowEditBillto, getAllowEditContact, getAllowEditCrCard, getAllowEditLogon, getAllowEditShipto, getAllowInvoiceHistory, getAllowOrderHistory, getAllowPlaceOrders, getAllowPriceOverride, getBuyFromFavoritesOnly, getCode, getDescription, getDisplayNegativeWhseQtys, getDisplayWhseQtys, getSettings, getSettingsFlag, getShowNoPrices, getShowNoQuantities, setAllowAcctAccess, setAllowAddToCart, setAllowAddToFavorites, setAllowCreateQuotes, setAllowEditBillto, setAllowEditContact, setAllowEditCrCard, setAllowEditLogon, setAllowEditShipto, setAllowInvoiceHistory, setAllowOrderHistory, setAllowPlaceOrders, setAllowPriceOverride, setBuyFromFavoritesOnly, setCode, setDescription, setDisplayNegativeWhseQtys, setDisplayWhseQtys, setSettings, setSettingsFlag, setShowNoPrices, setShowNoQuantitiesafter, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
private static int[] cvDsplySeq
private static java.lang.String[] cvDsplyTxt
public AdmSecurityProfile(SecurityProfile secprof, boolean first)
AdmSecurityProfile object using all values from
the given security profile object.secprof - (SecurityProfile) The security profile on which this
object is based.first - (boolean) true if this is the first of several
objects being created, otherwise false. Used to control
when the class' static variables are initialized.public int getSettingsCount()
public Checkbox getSettingsCheckbox(int index)
index - (int) The display sequence for the desired index.public java.lang.String getSettingsText(int index)
index - (int) The display index for the desired text.public java.lang.String getSettingsYesNo(int index)
index - (int) The display index for the desired text.public void resetSettings()
false (which is "N" in the db table).public void setSettingsFlag(int index)
index - (int) The display index of the flag to set.