Examples of GeographicBoundary


Examples of com.google.code.lightssh.project.geo.entity.GeographicBoundary

    this.geoAssociationDao = geoAssociationDao;
  }
 
  public List<GeographicBoundary> list(GeoType type,Boolean active) {
    ListPage<GeographicBoundary> page = new ListPage<GeographicBoundary>( Integer.MAX_VALUE );
    GeographicBoundary geo = new GeographicBoundary( );
    geo.setType(type);
    geo.setActive( active );
    page = super.dao.list(page, geo);
   
    return page.getList();
  }
View Full Code Here

Examples of com.google.code.lightssh.project.geo.entity.GeographicBoundary

  @Override
  public void toggleActive(GeographicBoundary geo) {
    if( geo == null || geo.getIdentity() == null )
      return;
   
    GeographicBoundary db_geo = this.get( geo );
    if( db_geo != null ){
      db_geo.setActive( !db_geo.isActive() );
      dao.update( db_geo );
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.