Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community
Class AbuseReport

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

public class AbuseReport
extends 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.
 String getComment()
          Gets a comment explaining this abuse report.
 long getID()
          Gets the unique ID of this abuse report.
 JiveObject getJiveObject()
          Gets the forum message that caused this abuse report.
 long getObjectID()
          Returns the message ID of the forum message.
 int getObjectType()
           
 Date getReportDate()
          Gets the date that this abuse report was created.
 User getUser()
          Gets the user that created this abuse report.
 long getUserID()
          The user ID of the abuse message.
 void setAbuseType(AbuseType abuseType)
          Sets the AbuseType for this abuse report.
 void setComment(String comment)
          Sets a comment explaining this abuse report.
 void setID(long ID)
          Sets the unique ID of this abuse report.
 void setJiveObject(JiveObject jiveObject)
          Sets the forum message that caused this abuse report.
 void setObjectID(long objectID)
          Sets the ID of the forum message for this abuse report.
 void setObjectType(int objectType)
           
 void setReportDate(Date reportDate)
          Sets the date that this abuse report was created.
 void setUser(User user)
          Sets the user that created this abuse report.
 void setUserID(long userID)
          Sets the ID of the user who created the 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

getUserID

public long getUserID()
The user ID of the abuse message.

Returns:

setUserID

public void setUserID(long userID)
Sets the ID of the user who created the abuse report.

Parameters:
userID -

getObjectType

public int getObjectType()

setObjectType

public void setObjectType(int objectType)

getObjectID

public long getObjectID()
Returns the message ID of the forum message.

Returns:

setObjectID

public void setObjectID(long objectID)
Sets the ID of the forum message for this abuse report.

Parameters:
objectID -

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.

getJiveObject

public JiveObject getJiveObject()
Gets the forum message that caused this abuse report.

Returns:
the forum message that caused this abuse report

setJiveObject

public void setJiveObject(JiveObject jiveObject)
Sets the forum message that caused this abuse report.

Parameters:
jiveObject - the object 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 Date getReportDate()
Gets the date that this abuse report was created.

Returns:
the date that this abuse report was created

setReportDate

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

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

getComment

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

Returns:
a comment explaining this abuse report

setComment

public void setComment(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.