

Public Member Functions | |
| UserBean (User user) throws LaserException | |
| void | setIsLogged (boolean flag) |
| String | getDisplayName () |
| String | getName () |
| String[] | getNodeActions () |
| String | getNodeDefaultAction () |
| java.awt.Image | getNodeIcon () |
| cern.gp.beans.PropertyInfo[] | getPropertyInfo () |
| String | getShortDescription () |
| java.util.Collection | getConfigurations () |
| void | setConfigurations (java.util.List conf) |
| ConfigurationBean | getDefaultConfiguration () |
Private Attributes | |
| User | user = null |
| String | name = null |
| boolean | isLogged = false |
| java.util.Collection | configurations = null |
Static Private Attributes | |
| static final Logger | logger = LogFactory.getLogger(UserBean.class.getName()) |
This is Alarm User Beans, (User, which comes from bussines API, wrapper)
| cern::laser::guiplatform::user::UserBean::UserBean | ( | User | user | ) | throws LaserException [inline] |
Creates a new instance of UserBean
References configurations, cern::laser::console::User::getConfigurations(), cern::laser::console::User::getName(), name, and user.
| java.util.Collection cern::laser::guiplatform::user::UserBean::getConfigurations | ( | ) | [inline] |
This method returns configurations for user
References configurations.
Referenced by cern::laser::guiplatform::windows::user::UserExplorer::UserNodeManager::initChildrenMap().
| ConfigurationBean cern::laser::guiplatform::user::UserBean::getDefaultConfiguration | ( | ) | [inline] |
This method returns default configuration for this user
ConfigurationBean object of null if user does not have default configuration | String cern::laser::guiplatform::user::UserBean::getDisplayName | ( | ) | [inline] |
Returns the internal display name of the associated bean. If null is returned a default name will be used.
displayName normal (visible in a property sheet) if getName() is available it is used instead of getDisplayName(), else beanInfo.getBeanDescriptor().getDisplayName() is used Reimplemented from cern::gp::beans::BeanSupport.
| String cern::laser::guiplatform::user::UserBean::getName | ( | ) | [inline] |
Returns the internal name of the associated bean. If null is returned a default name will be used.
name normal (visible in a property sheet) a unique name generated using BeanUtils. generateUniqueBeanName() Reimplemented from cern::gp::beans::BeanSupport.
References name.
| String [] cern::laser::guiplatform::user::UserBean::getNodeActions | ( | ) | [inline] |
Returns an array of qualified name of actions for the node representing the associated bean. Null can be used in the array to represent a separator.
nodeActions hidden (not visible in a property sheet) use the possible tagging of the BeanDescriptor of the BeanInfo : BeanTagger.getActions(beanInfo.getBeanDescriptor()) Reimplemented from cern::gp::beans::BeanSupport.
| String cern::laser::guiplatform::user::UserBean::getNodeDefaultAction | ( | ) | [inline] |
Returns the qualified name of the default action for the node representing the associated bean. The default action is the one triggered when the user double-clic on the node. If null is returned a default default action will be used.
nodeDefaultAction hidden use the possible tagging of the BeanDescriptor of the BeanInfo : BeanTagger.getDefaultAction(beanInfo.getBeanDescriptor()) Reimplemented from cern::gp::beans::BeanSupport.
| java.awt.Image cern::laser::guiplatform::user::UserBean::getNodeIcon | ( | ) | [inline] |
Returns the icon in 16x16 size used to display the node representing the associated bean. If null is returned a default icon will be used.
nodeIcon hidden (not visible in a property sheet) beanInfo.getIcon() Reimplemented from cern::gp::beans::BeanSupport.
References logger.
| cern.gp.beans.PropertyInfo [] cern::laser::guiplatform::user::UserBean::getPropertyInfo | ( | ) | [inline] |
Returns an array of PropertyInfo specifying information on some properties.
Each PropertyInfo of this array defines information for one property of this bean. Defining a PropertyInfo for a given property is usefull when there is no explicit BeanInfo for the bean and when the property have non default characteristics such as, for instance, a specific PropertyEditor.
propertyInfo hidden (not visible in a property sheet) use PropertyDescriptors from BeanInfo Reimplemented from cern::gp::beans::BeanSupport.
| String cern::laser::guiplatform::user::UserBean::getShortDescription | ( | ) | [inline] |
Returns a short description of the associated bean (used in tooltip for instance). If null is returned a default description will be used.
shortDescription normal (visible in a property sheet) beanInfo.getBeanDescriptor(). getShortDescription() Reimplemented from cern::gp::beans::BeanSupport.
| void cern::laser::guiplatform::user::UserBean::setConfigurations | ( | java.util.List | conf | ) | [inline] |
This method sets configuration list for given user
List with ConfigurationBean</objects>
References configurations.
| void cern::laser::guiplatform::user::UserBean::setIsLogged | ( | boolean | flag | ) | [inline] |
References isLogged.
Referenced by cern::laser::guiplatform::windows::user::UserExplorer::UserNodeManager::initChildrenMap().
java.util.Collection cern::laser::guiplatform::user::UserBean::configurations = null [private] |
Configurations for given alarm user (ConfigurationBean objects)
Referenced by getConfigurations(), setConfigurations(), and UserBean().
boolean cern::laser::guiplatform::user::UserBean::isLogged = false [private] |
indicates wheteher this user is logged
Referenced by getDisplayName(), and setIsLogged().
final Logger cern::laser::guiplatform::user::UserBean::logger = LogFactory.getLogger(UserBean.class.getName()) [static, private] |
logger
Referenced by getNodeIcon().
String cern::laser::guiplatform::user::UserBean::name = null [private] |
user first name user last name alarm user name (login name)
Referenced by getDisplayName(), getName(), and UserBean().
User cern::laser::guiplatform::user::UserBean::user = null [private] |
user from business layer
Referenced by UserBean().
1.6.2