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.
|
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
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 index)
Gets the nth activities note of a presence person.
|
PresenceActivity |
getNthActivity(int index)
Gets the nth activity of a presence person.
|
PresenceNote |
getNthNote(int index)
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 |
toString() |
@Nullable java.lang.String getId()
int setId(@Nullable java.lang.String id)
id
- The id string to set. Can be null to generate it automatically. int getNbActivities()
PresencePerson
object. int getNbActivitiesNotes()
PresencePerson
int getNbNotes()
PresencePerson
object. int addActivitiesNote(@NonNull PresenceNote note)
note
- The PresenceNote
object to add to the person. int addActivity(@NonNull PresenceActivity activity)
activity
- The PresenceActivity
object to add to the person. int addNote(@NonNull PresenceNote note)
note
- The PresenceNote
object to add to the person. int clearActivities()
int clearActivitiesNotes()
int clearNotes()
@Nullable PresenceNote getNthActivitiesNote(int index)
index
- The index of the activities note to get (the first note having thePresenceNote
object if successful, null@Nullable PresenceActivity getNthActivity(int index)
index
- The index of the activity to get (the first activity having thePresenceActivity
object if successful, null@Nullable PresenceNote getNthNote(int index)
index
- The index of the note to get (the first note having the index 0). PresenceNote
object if successful, nullvoid setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString
in class java.lang.Object