Ignore:
Timestamp:
Apr 20, 2010, 5:21:42 PM (14 years ago)
Author:
tobias
Message:

comments added
all methods of the wsdl file implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/src/de/dass_it/vanhelsing/gui/JobScheduleBean.java

    r864 r865  
    88import javax.faces.context.FacesContext;
    99
    10 /*
     10/**
    1111 * JobSchedule will list all schedules and the jobs which are associated
    1212 * with a given schedule.
     
    1515        private DataTree dataTree;
    1616        private ConcreteUserObjectItem selectedObject;
    17 
    1817        public JobScheduleBean(){
    1918                init();
    2019        }
    21        
     20        /**
     21         * creates a data tree for the job / schedule view
     22         */
    2223        private void init(){
    2324                Client c = new Client();
     
    4748        }
    4849       
     50        /**
     51         * creates a new node in the data tree
     52         * @param ae    ActionEvent parameter as required by JSF. Not used by this method
     53         */
    4954        public void createNodeListener(ActionEvent ae){
    5055                //Methode kann nur mit ausgewählten ParentNode ausgeführt werden
     
    5560                //dataTree.createNode(parent, userObject);
    5661        }
     62        /**
     63         * updates the selected node of the data tree
     64         * @param ae    ActionEvent parameter as required by JSF. Not used by this method
     65         */
    5766        public void updateNodeListener(ActionEvent ae){
    5867                BeanUtil.setInfoMessage(null, "Die Methode ist noch nicht implementiert");
    5968               
    6069        }
     70        /**
     71         * delete the selected node of the data tree
     72         * @param ae
     73         */
    6174        public void deleteNodeListener(ActionEvent ae){
    6275                DefaultMutableTreeNode node;
     
    8598                dataTree.getTree().reload();
    8699        }
     100        /**
     101         * rebuilds the data tree
     102         * @param ae    ActionEvent parameter as required by JSF. Not used by this method
     103         */
    87104        public void reloadTreeListener(ActionEvent ae){
    88105                init();
     
    92109               
    93110        }
    94 
     111        /**
     112         * getter method for the dataTree attribute
     113         * @return dataTree             returns the dataTree object. If you want to user Javas tree methods directly
     114         */
    95115        public DataTree getDataTree(){
    96116                return dataTree;
    97117        }
    98 
     118        /**
     119         * setter method for the dataTree attribute.
     120         * @param dataTree      the new dataTree object
     121         */
    99122        public void setDataTree(DataTree dataTree){
    100123                this.dataTree = dataTree;
Note: See TracChangeset for help on using the changeset viewer.