Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.ban
Class Ban

java.lang.Object
  extended by com.jivesoftware.base.ban.Ban

public class Ban
extends java.lang.Object

Represents a ban object


Constructor Summary
Ban(long ID, int banType)
           
Ban(java.lang.String ipAddress, User admin, int banLevel, java.util.Date expirationDate, java.lang.String comment)
           
Ban(User bannedUser, User admin, int banLevel, java.util.Date expirationDate, java.lang.String comment)
           
 
Method Summary
 User getAdmin()
           
 int getBanLevel()
           
 User getBannedUser()
           
 int getBanType()
           
 java.lang.String getComment()
           
 java.util.Date getCreationDate()
           
 java.util.Date getExpirationDate()
           
 long getID()
           
 java.lang.String getIpAddress()
           
 void setAdmin(User admin)
           
 void setBanLevel(int banLevel)
           
 void setBannedUser(User bannedUser)
           
 void setComment(java.lang.String comment)
           
 void setCreationDate(java.util.Date creationDate)
           
 void setExpirationDate(java.util.Date expirationDate)
           
 void setIpAddress(java.lang.String ipAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ban

public Ban(long ID,
           int banType)

Ban

public Ban(User bannedUser,
           User admin,
           int banLevel,
           java.util.Date expirationDate,
           java.lang.String comment)

Ban

public Ban(java.lang.String ipAddress,
           User admin,
           int banLevel,
           java.util.Date expirationDate,
           java.lang.String comment)
Method Detail

getID

public long getID()

getBanType

public int getBanType()

setBannedUser

public void setBannedUser(User bannedUser)

getBannedUser

public User getBannedUser()

setIpAddress

public void setIpAddress(java.lang.String ipAddress)

getIpAddress

public java.lang.String getIpAddress()

setAdmin

public void setAdmin(User admin)

getAdmin

public User getAdmin()

setBanLevel

public void setBanLevel(int banLevel)

getBanLevel

public int getBanLevel()

setCreationDate

public void setCreationDate(java.util.Date creationDate)

getCreationDate

public java.util.Date getCreationDate()

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)

getExpirationDate

public java.util.Date getExpirationDate()

setComment

public void setComment(java.lang.String comment)

getComment

public java.lang.String getComment()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.