KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > pim > business > api > OwnerI


1 package org.enhydra.pim.business.api;
2
3
4 import java.util.Vector JavaDoc;
5
6 import org.enhydra.pim.exception.EnhydraPimException;
7
8 /**
9  * @author P.Djojic Apr 20, 2005 9:17:58 PM
10  *
11  * TODO UserI
12  */

13
14 public interface OwnerI extends BasePimInterface{
15
16     /**
17      * Is user registred.
18      * @return true if user is registred.
19      */

20     public boolean isValid();
21
22     /**
23      * Sets Username.
24      * @param _username new value.
25      *
26      * @uml.property name="username"
27      */

28     public void setUsername(String JavaDoc _username);
29
30     /**
31      * Return value of Username.
32      * @return value of Username.
33      *
34      * @uml.property name="username"
35      */

36     public String JavaDoc getUsername();
37
38     /**
39      * Sets Password.
40      * @param _password new value.
41      *
42      * @uml.property name="password"
43      */

44     public void setPassword(String JavaDoc _password);
45
46     /**
47      * Return value of Password.
48      * @return value of Password.
49      *
50      * @uml.property name="password"
51      */

52     public String JavaDoc getPassword();
53
54         
55     /**
56      * Returns User Notes.
57      * @return User Notes.
58      */

59     public Vector JavaDoc getNotes();
60     
61     
62     /**
63      * Add User Note.
64      * @param _note User Note.
65      */

66     public void addNote(NoteI _note);
67     
68     
69     /**
70      * Remove User Note.
71      * @param Remove _note Note.
72      */

73     public void removeNote(NoteI _note);
74     
75     
76     /**
77      * Returns User Person Contacts.
78      * @return Returns User Person Contacts.
79      * @throws EnhydraPimException
80      */

81     public Vector JavaDoc getPersons() throws EnhydraPimException;
82     
83     
84     /**
85      * Add User Person Contacts.
86      * @param _person User Person Contacts.
87      * @throws EnhydraPimException
88      */

89     public void addPerson(PersonI _person) throws EnhydraPimException;
90     
91     
92     /**
93      * Remove User Person Contacts.
94      * @param _person User Person Contacts.
95      * @throws EnhydraPimException
96      */

97     public void removePerson(PersonI _person) throws EnhydraPimException;
98     
99     
100     /**
101      * Returns User Tasks.
102      * @return Returns User Tasks.
103      */

104     public Vector JavaDoc getTasks();
105  
106     
107     /**
108      * Add User Task.
109      * @param _task User Task.
110      */

111     public void addTask(TaskI _task);
112     
113     
114     /**
115      * Remove User Task.
116      * @param _task User Task.
117      */

118     public void removeTask(TaskI _task);
119     
120         
121     
122 }
Popular Tags