public class SocialPostInfo extends Object implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
String |
activityType |
static android.os.Parcelable.Creator<SocialPostInfo> |
CREATOR |
SocialSpaceInfo |
destinationSpace |
ExoAccount |
ownerAccount |
List<String> |
postAttachedFiles |
String |
postMessage |
Map<String,String> |
templateParams |
static String |
TYPE_DEFAULT |
static String |
TYPE_DOC |
static String |
TYPE_LINK |
Constructor and Description |
---|
SocialPostInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addTemplateParam(String name,
String value)
Set the template param with the given name and value.
Create a new Map if necessary. |
void |
buildTemplateParams(ShareService.UploadInfo uploadInfo)
Create TemplateParams for a DOC_ACTIVITY
|
int |
describeContents() |
String |
getTemplateParam(String name)
Get the template param with the given name.
|
boolean |
hasAttachment() |
boolean |
isPublic() |
void |
readFromParcel(android.os.Parcel in) |
void |
writeToParcel(android.os.Parcel out,
int flags) |
public static final String TYPE_DEFAULT
public static final String TYPE_DOC
public static final String TYPE_LINK
public ExoAccount ownerAccount
public String postMessage
public SocialSpaceInfo destinationSpace
public String activityType
public static final android.os.Parcelable.Creator<SocialPostInfo> CREATOR
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel out, int flags)
writeToParcel
in interface android.os.Parcelable
public void readFromParcel(android.os.Parcel in)
public boolean isPublic()
public boolean hasAttachment()
public void addTemplateParam(String name, String value)
name
- value
- public String getTemplateParam(String name)
name
- public void buildTemplateParams(ShareService.UploadInfo uploadInfo)
uploadInfo
- Info about the uploaded DOCCopyright © 2003–2016 eXo Platform SAS. All rights reserved.