code: public List<Layer<?>> getLayersByServerId(String serverLayerId) {
  		List<Layer<?>> l = new ArrayList<Layer<?>>();
  		if (layers != null) {
  			for (Layer<?> layer : layers) {
  				if (layer.getServerLayerId().equals(serverLayerId)) {
  					l.add(layer);
  				}
  			}
  		}
  		return l;
  	}
docs: Get all layers with the specified server layer id.
  
  @param serverLayerId
  The layer's server layer ID.
  @return Returns list of layers with the specified server layer id.