home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / Notes.jar / lotus / domino / Agent.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-15  |  1.6 KB  |  61 lines

  1. package lotus.domino;
  2.  
  3. public interface Agent extends Base {
  4.    int TRIGGER_NONE = 0;
  5.    int TRIGGER_SCHEDULED = 1;
  6.    int TRIGGER_NEW_MAIL = 2;
  7.    int TRIGGER_DOC_PASTED = 3;
  8.    int TRIGGER_MANUAL = 4;
  9.    int TRIGGER_DOC_UPDATE = 5;
  10.    int TRIGGER_SYNCHRONOUS_NEW_MAIL = 6;
  11.    int TARGET_NONE = 0;
  12.    int TARGET_ALL_DOCS = 1;
  13.    int TARGET_NEW_DOCS = 2;
  14.    int TARGET_NEW_OR_MODIFIED_DOCS = 3;
  15.    int TARGET_SELECTED_DOCS = 4;
  16.    int TARGET_ALL_DOCS_IN_VIEW = 5;
  17.    int TARGET_UNREAD_DOCS_IN_VIEW = 6;
  18.    int TARGET_PROMPT_USER = 7;
  19.    int TARGET_UI_SELECTABLE_OBJECT = 8;
  20.  
  21.    void run() throws NotesException;
  22.  
  23.    int runOnServer() throws NotesException;
  24.  
  25.    void remove() throws NotesException;
  26.  
  27.    void save() throws NotesException;
  28.  
  29.    String getName() throws NotesException;
  30.  
  31.    String getOwner() throws NotesException;
  32.  
  33.    DateTime getLastRun() throws NotesException;
  34.  
  35.    boolean isEnabled() throws NotesException;
  36.  
  37.    void setEnabled(boolean var1) throws NotesException;
  38.  
  39.    String getServerName() throws NotesException;
  40.  
  41.    void setServerName(String var1) throws NotesException;
  42.  
  43.    String getQuery() throws NotesException;
  44.  
  45.    String getComment() throws NotesException;
  46.  
  47.    Database getParent() throws NotesException;
  48.  
  49.    boolean isPublic() throws NotesException;
  50.  
  51.    String getCommonOwner() throws NotesException;
  52.  
  53.    int getTrigger() throws NotesException;
  54.  
  55.    int getTarget() throws NotesException;
  56.  
  57.    boolean isNotesAgent() throws NotesException;
  58.  
  59.    boolean isWebAgent() throws NotesException;
  60. }
  61.