/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { return super.getTask(); } /**
/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { return super.getTask(); } /**
/** * Retrieve/Create a user properties record with this lookup key. * @param strPropertyCode The key I'm looking up. * @return The UserProperties for this registration key. */ public PropertyOwner retrieveUserProperties(String strRegistrationKey) { if (this.getTask() != null) return this.getTask().retrieveUserProperties(strRegistrationKey); return null; // Not found } /**
/** * Retrieve/Create a user properties record with this lookup key. * @param strPropertyCode The key I'm looking up. * @return The UserProperties for this registration key. */ public PropertyOwner retrieveUserProperties(String strRegistrationKey) { if (this.getTask() != null) return this.getTask().retrieveUserProperties(strRegistrationKey); return null; // Not found } /**
/** * Get the path to the target servlet. * @param strServletParam The servlet type (html or xml) * @return the servlet path. * NOTE: Move this down. */ public String getServletPath(String strServletParam) { return Utility.getServletPath(this.getTask(), strServletParam); } /**
/** * Display a dialog/status box with this error. * @param strError The error text. * @param The level of the error (debug/warning/error/etc). */ public void displayError(String strError, int iWarningLevel) { if ((strError == null) || (strError.length() == 0)) return; // No error Task task = this.getTask(); if (task != null) task.setStatusText(strError, iWarningLevel); } /**
/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { if (this.getParentScreen() != null) return this.getParentScreen().getTask(); return null; // Never } /**
/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { if (this.getScreenField() instanceof BasePanel) return ((BasePanel)this.getScreenField()).getTask(); else return this.getScreenField().getParentScreen().getTask(); } }
/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { if (this.getParentScreen() != null) return this.getParentScreen().getTask(); return null; // Never } /**
/** * Get the environment to use for this record owner. * @return Record owner's environment, or null to use the default enviroment. */ public Task getTask() { if (this.getScreenField() instanceof BasePanel) return ((BasePanel)this.getScreenField()).getTask(); else return this.getScreenField().getParentScreen().getTask(); } /**