
// Provide a default path to dwr.engine
if (typeof this['dwr'] == 'undefined') this.dwr = {};
if (typeof dwr['engine'] == 'undefined') dwr.engine = {};

if (typeof this['SightingsController'] == 'undefined') this.SightingsController = {};

SightingsController._path = '/dwr';

SightingsController.getMediaItems = function(p0, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'getMediaItems', p0, callback);
};

SightingsController.addSightingToSpecies = function(p0, p1, p2, p3, p4, p5, p6, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'addSightingToSpecies', p0, p1, p2, p3, p4, p5, p6, callback);
};

SightingsController.moveSighting = function(p0, p1, p2, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'moveSighting', p0, p1, p2, callback);
};

SightingsController.editSighting = function(p0, p1, p2, p3, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'editSighting', p0, p1, p2, p3, callback);
};

SightingsController.removeSighting = function(p0, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'removeSighting', p0, callback);
};

SightingsController.addSightingToEntry = function(p0, p1, p2, p3, p4, p5, p6, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'addSightingToEntry', p0, p1, p2, p3, p4, p5, p6, callback);
};

SightingsController.getAllMediaItems = function(callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'getAllMediaItems', callback);
};

SightingsController.getAllAlbums = function(callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'getAllAlbums', callback);
};

SightingsController.linkMediaItems = function(p0, p1, callback) {
  dwr.engine._execute(SightingsController._path, 'SightingsController', 'linkMediaItems', p0, p1, callback);
};



