Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum
Class ForumsLicenseUtils

java.lang.Object
  extended by com.jivesoftware.base.license.LicenseUtils
      extended by com.jivesoftware.forum.ForumsLicenseUtils

public class ForumsLicenseUtils
extends com.jivesoftware.base.license.LicenseUtils

Subclass of product manager that provides helper methods for forums specific functionality


Nested Class Summary
static class ForumsLicenseUtils.Editions
          Possible forums addition constants
 
Field Summary
static java.lang.String PRODUCT
          The name of the forums product
 
Constructor Summary
ForumsLicenseUtils()
           
 
Method Summary
static com.jivesoftware.base.license.Edition getEdition()
          Returns the edition object for forums
static com.jivesoftware.base.license.Product getProduct()
          Returns the correct project object for forums
static boolean isGold()
          Returns true if the exact version is Gold
static boolean isGoldOrGreater()
          Returns true if the edition is gold edition or a greater version
static boolean isProfessional()
          Returns true if the professional version is gold
static boolean isProfessionalOrGreater()
          Returns true if the edition is professional edition or a greater version
static boolean isSilver()
          Returns true if the exact version is silver
static boolean isSilverOrGreater()
          Returns true if the edition is silver edition or a greater version (ie gold)
 
Methods inherited from class com.jivesoftware.base.license.LicenseUtils
getEditionDisplayName, getNumClusterMembers, getProductDisplayName, getPropertyDisplayName, getSeatStatus, getSeatStatus, isLicensed, isProductInstalled, isSeatStatusBlocked, isSeatStatusExceeded, isSeatStatusOK, isSeatStatusWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRODUCT

public static final java.lang.String PRODUCT
The name of the forums product

See Also:
Constant Field Values
Constructor Detail

ForumsLicenseUtils

public ForumsLicenseUtils()
Method Detail

isSilverOrGreater

public static boolean isSilverOrGreater()
Returns true if the edition is silver edition or a greater version (ie gold)

Returns:
true if the edition is silver edition or a greater version

isSilver

public static boolean isSilver()
Returns true if the exact version is silver

Returns:
true if the exact version is silver

isGoldOrGreater

public static boolean isGoldOrGreater()
Returns true if the edition is gold edition or a greater version

Returns:
true if the edition is gold edition or a greater version

isGold

public static boolean isGold()
Returns true if the exact version is Gold

Returns:
true if the exact version is Gold

isProfessionalOrGreater

public static boolean isProfessionalOrGreater()
Returns true if the edition is professional edition or a greater version

Returns:
true if the edition is professional edition or a greater version

isProfessional

public static boolean isProfessional()
Returns true if the professional version is gold

Returns:
true if the professional version is gold

getProduct

public static com.jivesoftware.base.license.Product getProduct()
Returns the correct project object for forums

Returns:
the correct project object for forums

getEdition

public static com.jivesoftware.base.license.Edition getEdition()
Returns the edition object for forums

Returns:
the edition object for forums

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.