Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Class AbuseReport

java.lang.Object
  extended by com.jivesoftware.community.AbuseReport

public class AbuseReport
extends java.lang.Object

This class contains all the necessary information to file an abuse report.

See Also:
AbuseType

Constructor Summary
AbuseReport()
           
AbuseReport(long abuseID)
           
 
Method Summary
 AbuseType getAbuseType()
          Gets the AbuseType for this abuse report.
 java.lang.String getComment()
          Gets a comment explaining this abuse report.
 long getID()
          Gets the unique ID of this abuse report.
 ForumMessage getMessage()
          Gets the forum message that caused this abuse report.
 java.util.Date getReportDate()
          Gets the date that this abuse report was created.
 User getUser()
          Gets the user that created this abuse report.
 void setAbuseType(AbuseType abuseType)
          Sets the AbuseType for this abuse report.
 void setComment(java.lang.String comment)
          Sets a comment explaining this abuse report.
 void setID(long ID)
          Sets the unique ID of this abuse report.
 void setMessage(ForumMessage message)
          Sets the forum message that caused this abuse report.
 void setReportDate(java.util.Date reportDate)
          Sets the date that this abuse report was created.
 void setUser(User user)
          Sets the user that created this abuse report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbuseReport

public AbuseReport()

AbuseReport

public AbuseReport(long abuseID)
Method Detail

getID

public long getID()
Gets the unique ID of this abuse report.

Returns:
the unique ID of this abuse report.

setID

public void setID(long ID)
Sets the unique ID of this abuse report.

Parameters:
ID - the unique ID of this abuse report.

getAbuseType

public AbuseType getAbuseType()
Gets the AbuseType for this abuse report.

Returns:
the AbuseType for this abuse report.

setAbuseType

public void setAbuseType(AbuseType abuseType)
Sets the AbuseType for this abuse report.

Parameters:
abuseType - the AbuseType for this abuse report.

getMessage

public ForumMessage getMessage()
Gets the forum message that caused this abuse report.

Returns:
the forum message that caused this abuse report

setMessage

public void setMessage(ForumMessage message)
Sets the forum message that caused this abuse report.

Parameters:
message - the forum message that caused this abuse report

getUser

public User getUser()
Gets the user that created this abuse report.

Returns:
the user that created this abuse report.

setUser

public void setUser(User user)
Sets the user that created this abuse report.

Parameters:
user - the user that created this abuse report

getReportDate

public java.util.Date getReportDate()
Gets the date that this abuse report was created.

Returns:
the date that this abuse report was created

setReportDate

public void setReportDate(java.util.Date reportDate)
Sets the date that this abuse report was created.

Parameters:
reportDate - the date that this abuse report was created

getComment

public java.lang.String getComment()
Gets a comment explaining this abuse report.

Returns:
a comment explaining this abuse report

setComment

public void setComment(java.lang.String comment)
Sets a comment explaining this abuse report.

Parameters:
comment - a comment explaining this abuse report

Clearspace Project Page

Copyright © 1999-2007 Jive Software.