org.exoplatform.social.service.rest.api.models
Class ActivityRestIn

java.lang.Object
  extended by org.exoplatform.social.service.rest.api.models.ActivityRestIn

public class ActivityRestIn
extends Object

The Activity Input model for Social Rest APIs.

Since:
1.2.3
Author:
phuonglm

Constructor Summary
ActivityRestIn()
           
 
Method Summary
 Float getPriority()
          Gets the activity priority, optional value.
 Map<String,String> getTemplateParams()
          Gets the activity's template params, optional value.
 String getTitle()
          Gets the activity title, required value.
 String getTitleId()
          Gets activity's title id, optional value.
 String getType()
          Gets the activity type, optional value.
 boolean isValid()
          Utility to check if this object contains valid inputs.
 void setPriority(Float priority)
          Sets the activity priority, optional value.
 void setTemplateParams(Map<String,String> templateParams)
          Sets the activity's template params, optional value.
 void setTitle(String title)
          Sets the activity title, required value.
 void setTitleId(String titleId)
          Sets activity's title id, optional value.
 void setType(String type)
          Sets the activity type, optional value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityRestIn

public ActivityRestIn()
Method Detail

getTitle

public String getTitle()
Gets the activity title, required value.

Returns:
the activity title

setTitle

public void setTitle(String title)
Sets the activity title, required value.

Parameters:
title -

getType

public String getType()
Gets the activity type, optional value.

Returns:
the activity type

setType

public void setType(String type)
Sets the activity type, optional value.

Parameters:
type - the activity type

getPriority

public Float getPriority()
Gets the activity priority, optional value.

Returns:
the activity priority.

setPriority

public void setPriority(Float priority)
Sets the activity priority, optional value.

Parameters:
priority - the activity priority

getTitleId

public String getTitleId()
Gets activity's title id, optional value.

Returns:
the activity title's id

setTitleId

public void setTitleId(String titleId)
Sets activity's title id, optional value.

Parameters:
titleId - the activity title's id

getTemplateParams

public Map<String,String> getTemplateParams()
Gets the activity's template params, optional value.

Returns:
the activity's template params

setTemplateParams

public void setTemplateParams(Map<String,String> templateParams)
Sets the activity's template params, optional value.

Parameters:
templateParams - the template params

isValid

public boolean isValid()
Utility to check if this object contains valid inputs.

Returns:
true or false


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.