
if (typeof this['TextSearchViewConstraint'] != 'function') {
  function TextSearchViewConstraint() {
    this.prefix = null;
    this.keyword = null;
    this.property = 0;
    this.object = 0;
    this.type = null;
  }
}

if (typeof this['SearchableTreeViewConstraint'] != 'function') {
  function SearchableTreeViewConstraint() {
    this.treeId = null;
    this.selectedDomain = null;
    this.type = null;
  }
}

if (typeof this['RoleBasedTreeViewConstraint'] != 'function') {
  function RoleBasedTreeViewConstraint() {
    this.treeId = null;
    this.selectedDomain = null;
    this.selectedRole = 0;
    this.type = null;
  }
}

if (typeof this['JSEvent'] != 'function') {
  function JSEvent() {
    this.originInstance = null;
    this.targetInstance = null;
    this.eventType = null;
    this.targetType = null;
    this.originType = null;
  }
}

if (typeof this['TimeConstraint'] != 'function') {
  function TimeConstraint() {
    this.type = null;
  }
}

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

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

FriendFinder._path = '/kulsa/dwr';

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

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

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

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

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


