com.esri.core.portal
Class PortalItemComment

java.lang.Object
  extended by com.esri.core.portal.PortalItemComment

public class PortalItemComment
extends Object

Class that holds the content from a comment on a PortalItem such as owner, comment, created date.


Constructor Summary
PortalItemComment()
           
 
Method Summary
 boolean equals(Object obj)
          
static PortalItemComment fromJson(org.codehaus.jackson.JsonParser parser)
           
 String getComment()
          Returns the text of the comment.
 String getCommentId()
          Returns the id of the comment.
 long getCreated()
          Returns the date of creation of the comment.
 String getOwner()
          Returns the owner of the comment.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalItemComment

public PortalItemComment()
Method Detail

fromJson

public static PortalItemComment fromJson(org.codehaus.jackson.JsonParser parser)
                                  throws Exception
Throws:
Exception

getOwner

public String getOwner()
Returns the owner of the comment.

Returns:
The owner of the comment

getCommentId

public String getCommentId()
Returns the id of the comment.

Returns:
The id of the comment

getComment

public String getComment()
Returns the text of the comment.

Returns:
The text of the comment

getCreated

public long getCreated()
Returns the date of creation of the comment.

Returns:
The date of creation of the comment

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.