|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.mobile.android.api.model.impl.ActivityEntryImpl
public class ActivityEntryImpl
ActivityEntry :
Constructor Summary | |
---|---|
ActivityEntryImpl()
|
Method Summary | |
---|---|
GregorianCalendar |
getCreatedAt()
Returns the timestamp in the session’s locale when the activity entry was created. |
String |
getCreatedBy()
Returns the username of the person who posted the activity entry. |
Map<String,String> |
getData()
Returns a map of all extra data specific to a certain type of activity entry. |
String |
getData(String key)
Returns the value of a specific key available in the extra data. |
String |
getIdentifier()
Returns the identifier of this specific activity entry. |
String |
getSiteShortName()
Returns the identifier of this specific activity. |
String |
getType()
Returns the type of the activity entry e.g. |
static ActivityEntryImpl |
parseJson(Map<String,Object> jo)
Parse Json Response from Alfresco REST API to create an ActivityEntry. |
static ActivityEntryImpl |
parsePublicAPIJson(Map<String,Object> jo)
Parse Json Response from Alfresco Public API to create an ActivityEntry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivityEntryImpl()
Method Detail |
---|
public static ActivityEntryImpl parseJson(Map<String,Object> jo)
jo
- : json response that contains data from the repository
public static ActivityEntryImpl parsePublicAPIJson(Map<String,Object> jo)
jo
- : json response that contains data from the repository
public Map<String,String> getData()
getData
in interface ActivityEntry
public String getData(String key)
getData
in interface ActivityEntry
key
- key associated to a specific extra value
public String getIdentifier()
getIdentifier
in interface ActivityEntry
public String getSiteShortName()
getSiteShortName
in interface ActivityEntry
public String getCreatedBy()
getCreatedBy
in interface ActivityEntry
public GregorianCalendar getCreatedAt()
getCreatedAt
in interface ActivityEntry
public String getType()
getType
in interface ActivityEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |