public interface PresencePerson
Modifier and Type | Method and Description |
---|---|
int |
addActivitiesNote(PresenceNote note)
Adds an activities note to a presence person.
|
int |
addActivity(PresenceActivity activity)
Adds an activity to a presence person.
|
int |
addNote(PresenceNote note)
Adds a note to a presence person.
|
int |
clearActivities()
Clears the activities of a presence person.
|
int |
clearActivitiesNotes()
Clears the activities notes of a presence person.
|
int |
clearNotes()
Clears the notes of a presence person.
|
java.lang.String |
getId()
Gets the id of a presence person.
|
int |
getNbActivities()
Gets the number of activities included in the presence person.
|
int |
getNbActivitiesNotes()
Gets the number of activities notes included in the presence person.
|
int |
getNbNotes()
Gets the number of notes included in the presence person.
|
PresenceNote |
getNthActivitiesNote(int idx)
Gets the nth activities note of a presence person.
|
PresenceActivity |
getNthActivity(int idx)
Gets the nth activity of a presence person.
|
PresenceNote |
getNthNote(int idx)
Gets the nth note of a presence person.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
setId(java.lang.String id)
Sets the id of a presence person.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String getId()
int setId(java.lang.String id)
id
- The id string to set. Can be null to generate it automatically.int getNbActivities()
PresencePerson
object.int getNbActivitiesNotes()
PresencePerson
object.int getNbNotes()
PresencePerson
object.int addActivitiesNote(PresenceNote note)
note
- The PresenceNote
object to add to the person.int addActivity(PresenceActivity activity)
activity
- The PresenceActivity
object to add to the person.int addNote(PresenceNote note)
note
- The PresenceNote
object to add to the person.int clearActivities()
int clearActivitiesNotes()
int clearNotes()
PresenceNote getNthActivitiesNote(int idx)
idx
- The index of the activities note to get (the first note having the
index 0).PresenceNote
object if successful, null
otherwise.PresenceActivity getNthActivity(int idx)
idx
- The index of the activity to get (the first activity having the
index 0).PresenceActivity
object if successful, null
otherwise.PresenceNote getNthNote(int idx)
idx
- The index of the note to get (the first note having the index 0).PresenceNote
object if successful, null
otherwise.void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()