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 |
clearActivitesNotes()
Clears the activities notes of a presence person.
|
int |
clearActivities()
Clears the activities of a presence person.
|
int |
clearNotes()
Clears the notes of a presence person.
|
String |
getId()
Gets the id of a presence person.
|
long |
getNativePtr()
Gets the native pointer for this object.
|
long |
getNbActivities()
Gets the number of activities included in the presence person.
|
long |
getNbActivitiesNotes()
Gets the number of activities notes included in the presence person.
|
long |
getNbNotes()
Gets the number of notes included in the presence person.
|
PresenceNote |
getNthActivitiesNote(long idx)
Gets the nth activities note of a presence person.
|
PresenceActivity |
getNthActivity(long idx)
Gets the nth activity of a presence person.
|
PresenceNote |
getNthNote(long idx)
Gets the nth note of a presence person.
|
int |
setId(String id)
Sets the id of a presence person.
|
String getId()
int setId(String id)
id
- The id string to set. Can be null to generate it automatically.long getNbActivities()
PresenceActivity getNthActivity(long idx)
idx
- The index of the activity to get (the first activity having the index 0).int addActivity(PresenceActivity activity)
activity
- The #PresenceActivity object to add to the person.int clearActivities()
long getNbNotes()
PresenceNote getNthNote(long idx)
idx
- The index of the note to get (the first note having the index 0).int addNote(PresenceNote note)
note
- The #PresenceNote object to add to the person.int clearNotes()
long getNbActivitiesNotes()
PresenceNote getNthActivitiesNote(long idx)
idx
- The index of the activities note to get (the first note having the index 0).int addActivitiesNote(PresenceNote note)
note
- The #PresenceNote object to add to the person.int clearActivitesNotes()
long getNativePtr()