The DELETED column is used like this:
"Y" means deactivated user
"X" means a deactivated external user
"N" means regular activated user
"E" means activated external user
Creates a flat list from the hierarchical list:
adds the first level reportBeans to the flat list and
recursively add the children lists depending on addAllChildren
Adds the custom defined bundles (which are not defined in the struts config)
in the application context, where the are looked up by the struts custom tags
Adds a ILocalizedLabelBean to the localized lookup index
Used by "online" adding or modifying a localized entity
The localized strings from the ResourceBundle will not be added now
because it is not sure that this strings are actualized in the resource bundles right now
TODO: in the future when the localized resources will be stored in the database using a web-interface editor
this method should be called also from this code, this time with not null ResourceBundle list
Adds a TWorkItem to the workitem index
Used by creating a new and by updateing (delete old and create new) of an existing workItem
Although workItemBean contains no history bean it is not needed
because by creating only an "emtpy" state change history is created.
Method called to associate a TPrivateReportRepository object to this object
through the TPrivateReportRepository foreign key attribute using connection.
Method called to associate a TProjectReportRepository object to this object
through the TProjectReportRepository foreign key attribute using connection.
Method called to associate a TVersionControlParameter object to this object
through the TVersionControlParameter foreign key attribute using connection.
The application bean contains all information that needs
to be kept across the lifetime of the application, e.g. the
number of currently logged on users, the uptime, etc.
Helper class needed because multiple=true works only for string selected values
Hopefully we can get rid of this class as soon as
the select works correctly also for arrays of other types (beside string arrays)
The business logic should be implemented with Integer arrays in order to ease
the upgrade after the select tab will work correctly:
then only the bean fields should be changed from String[] to Integer[] and remove
all occurences of methods of this class
The methods of this class mediate between the struts action and the business logic
class used to save the config data for AssignRolesForm in session
(it would be enough to set the AssignRolesForm to session scope in struts-config,
but the role and department lists should be resetted before populating the bean and
that means that this config data will not be preserved.
class used to save the config data for AssignRolesForm in session
(An other object of type AssignRolesForm saved in the session would be enough,
but then by PropertyUtils.copyProperties() also the dropdown list
and other data elements would be saved, which just waste space in the session)
Some system fields does not need the required flag even if
they are not required: for ex. superiorWorkitem or comment
Also for priority and lastEditedBy: although they are required at database
level accidentally they was marked as not required at TField table