Exemplo n.º 1
0
        public Boolean delete(String name)
        {
            try
            {
                ArrayList  trip  = new ArrayList();
                IKmlFolder _trip = t_pool.getByName(name);

                String[] att = t_pool.getTripDetailsForTrip(Module.getIndex(name).ToString());
                _trip.setVisibility(0);
                trip.Add(name);
                trip.Add(_trip);
                trip.Add(att);

                t_pool.remove(name);
                record.del_trip(trip);
                return(true);
            }
            catch
            {
                return(false);
            }
        }