/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. */ public void setProperty(String strProperty, String strValue) { this.setProperty(strProperty, strValue, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. */ public void setProperty(String strProperty, String strValue) { this.setProperty(strProperty, strValue, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. */ public void setProperty(String strProperty, String strValue) { this.setProperty(strProperty, strValue, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * SetProperty Method. */ public boolean setProperty(String strKey, String strProperty) { ((PropertiesField)this.getField(Product.PROPERTIES)).setProperty(strKey, strProperty); return true; } /**
/** * SetProperty Method. */ public boolean setProperty(String strKey, String strProperty) { ((PropertiesField)this.getField(Product.PROPERTIES)).setProperty(strKey, strProperty); return true; } /**
/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. * @param iDisplayOption If true, display the new field. * @param iMoveMove The move mode. * @return An error code (NORMAL_RETURN for success). */ public int setProperty(String strProperty, String strValue, boolean bDisplayOption, int iMoveMode) { if (m_setPropertiesDescriptions != null) if (m_setPropertiesDescriptions.contains(strProperty)) { byte[] rgbValue = strValue.getBytes(); rgbValue = XorEncryptedConverter.encrypt(rgbValue, key); char[] chars = Base64.encode(rgbValue); strValue = new String(chars); } return super.setProperty(strProperty, strValue, bDisplayOption, iMoveMode); } private static final byte key = 'P';
/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. * @param iDisplayOption If true, display the new field. * @param iMoveMove The move mode. * @return An error code (NORMAL_RETURN for success). */ public int setProperty(String strProperty, String strValue, boolean bDisplayOption, int iMoveMode) { if (m_setPropertiesDescriptions != null) if (m_setPropertiesDescriptions.contains(strProperty)) { byte[] rgbValue = strValue.getBytes(); rgbValue = XorEncryptedConverter.encrypt(rgbValue, key); char[] chars = Base64.encode(rgbValue); strValue = new String(chars); } return super.setProperty(strProperty, strValue, bDisplayOption, iMoveMode); } private static final byte key = 'P';
/** * Set this property. * @param strProperty The property key. * @param strValue The property value. */ public void setProperty(String strName, String strData) { Record recUserRegistration = this.getUserRegistration(); ((PropertiesField)recUserRegistration.getField(UserRegistration.kProperties)).setProperty(strName, strData); } /**
/** * Set the error message in this record for this message type. */ public void setErrorMessage(MessageDataParent messageData, String strError) { ((PropertiesField)this.getField(BookingDetail.ERROR_PROPERTIES)).setProperty(((BaseProductMessageDesc)messageData).getMessageTypeParam() + '.' + BookingDetail.MESSAGE_PARAM + '.' + BookingDetail.ERROR_PARAM, strError, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set the error message in this record for this message type. */ public void setErrorMessage(MessageDataParent messageData, String strError) { ((PropertiesField)this.getField(BookingDetail.ERROR_PROPERTIES)).setProperty(((BaseProductMessageDesc)messageData).getMessageTypeParam() + '.' + BookingDetail.MESSAGE_PARAM + '.' + BookingDetail.ERROR_PARAM, strError, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set this property. * @param strProperty The property key. * @param strValue The property value. */ public void setProperty(String strName, String strData) { Record recUserRegistration = this.getUserRegistration(); ((PropertiesField)recUserRegistration.getField(UserRegistrationModel.PROPERTIES)).setProperty(strName, strData); } /**
/** * Set this property in the user's property area. * @param strProperty The property key. * @param strValue The property value. * @param iDisplayOption If true, display the new field. * @param iMoveMove The move mode. * @return An error code (NORMAL_RETURN for success). */ public int setProperty(String strProperty, String strValue, boolean bDisplayOption, int iMoveMode) { if (m_setPropertiesDescriptions != null) if (m_setPropertiesDescriptions.contains(strProperty)) { byte[] rgbValue = strValue.getBytes(); rgbValue = XorEncryptedConverter.encrypt(rgbValue, key); char[] chars = Base64.encode(rgbValue); strValue = new String(chars); } return super.setProperty(strProperty, strValue, bDisplayOption, iMoveMode); } private static final byte key = 'P';
/** * SetProperty Method. */ public boolean setProperty(String strKey, String strProperty) { if (TrxMessageHeader.DESTINATION_PARAM.equalsIgnoreCase(strKey)) this.getField(Vendor.WEB).setString(strProperty); else ((PropertiesField)this.getField(Vendor.PROPERTIES)).setProperty(strKey, strProperty); return true; } /**
/** * Convert and move string to this field. * Set this property in the property field. * @param strString the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code (or NORMAL_RETURN). */ public int setString(String fieldPtr, boolean bDisplayOption, int iMoveMode) // init this field override for other value { if (this.getField() instanceof PropertiesField) // Always return ((PropertiesField)this.getField()).setProperty(m_strProperty, fieldPtr, bDisplayOption, iMoveMode); return DBConstants.NORMAL_RETURN; } }
/** * Convert and move string to this field. * Set this property in the property field. * @param strString the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code (or NORMAL_RETURN). */ public int setString(String fieldPtr, boolean bDisplayOption, int iMoveMode) // init this field override for other value { if (this.getField() instanceof PropertiesField) // Always return ((PropertiesField)this.getField()).setProperty(m_strProperty, fieldPtr, bDisplayOption, iMoveMode); return DBConstants.NORMAL_RETURN; } }
/** * Convert and move string to this field. * Set this property in the property field. * @param strString the state to set the data to. * @param bDisplayOption Display the data on the screen if true. * @param iMoveMode INIT, SCREEN, or READ move mode. * @return The error code (or NORMAL_RETURN). */ public int setString(String fieldPtr, boolean bDisplayOption, int iMoveMode) // init this field override for other value { if (this.getField() instanceof PropertiesField) // Always return ((PropertiesField)this.getField()).setProperty(m_strProperty, fieldPtr, bDisplayOption, iMoveMode); return DBConstants.NORMAL_RETURN; } }
/** * Set the error message in this record for this status type. */ public void setErrorMessage(String iStatusType, String strError) { ((PropertiesField)this.getField(BookingDetail.ERROR_PROPERTIES)).setProperty(this.getFieldParam(this.getField(iStatusType)) + '.' + BookingDetail.MESSAGE_PARAM + '.' + BookingDetail.ERROR_PARAM, strError, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set the error message in this record for this status type. */ public void setErrorMessage(String iStatusType, String strError) { ((PropertiesField)this.getField(BookingDetail.ERROR_PROPERTIES)).setProperty(this.getFieldParam(this.getField(iStatusType)) + '.' + BookingDetail.MESSAGE_PARAM + '.' + BookingDetail.ERROR_PARAM, strError, DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); } /**
/** * Set this property in the user's property area. * @param strLanguage The language code. */ public void setLanguage(String strLanguage) { Record recUserInfo = (Record)this.getUserInfo(); if (recUserInfo != null) { boolean flag = recUserInfo.getField(UserInfoModel.PROPERTIES).isModified(); boolean[] brgEnabled = recUserInfo.getField(UserInfoModel.PROPERTIES).setEnableListeners(false); ((PropertiesField)recUserInfo.getField(UserInfoModel.PROPERTIES)).setProperty(DBParams.LANGUAGE, strLanguage); recUserInfo.getField(UserInfoModel.PROPERTIES).setModified(flag); recUserInfo.getField(UserInfoModel.PROPERTIES).setEnableListeners(brgEnabled); } super.setLanguage(strLanguage); } /**
/** * Set this property in the user's property area. * @param strLanguage The language code. */ public void setLanguage(String strLanguage) { Record recUserInfo = this.getUserInfo(); if (recUserInfo != null) { boolean flag = recUserInfo.getField(UserInfo.kProperties).isModified(); boolean[] brgEnabled = recUserInfo.getField(UserInfo.kProperties).setEnableListeners(false); ((PropertiesField)recUserInfo.getField(UserInfo.kProperties)).setProperty(DBParams.LANGUAGE, strLanguage); recUserInfo.getField(UserInfo.kProperties).setModified(flag); recUserInfo.getField(UserInfo.kProperties).setEnableListeners(brgEnabled); } super.setLanguage(strLanguage); } /**