com.liferay.faces.util.product.internal
Class ProductBaseImpl

java.lang.Object
  extended by com.liferay.faces.util.product.internal.ProductBaseImpl
All Implemented Interfaces:
Product
Direct Known Subclasses:
ProductCDIImpl, ProductICEfacesImpl, ProductJSFImpl, ProductLiferayFacesAlloyImpl, ProductLiferayFacesBridgeImpl, ProductLiferayFacesPortalImpl, ProductLiferayFacesUtilImpl, ProductLiferayPortalImpl, ProductPrimeFacesImpl, ProductResinImpl, ProductRichFacesImpl, ProductSpringFrameworkImpl, ProductWildFlyImpl

public class ProductBaseImpl
extends Object
implements Product

Author:
Neil Griffin

Field Summary
protected  int buildId
           
protected  boolean detected
           
protected  int majorVersion
           
protected  int minorVersion
           
protected  int revisionVersion
           
protected  String stringValue
           
protected  String title
           
protected  String version
           
 
Constructor Summary
ProductBaseImpl()
           
 
Method Summary
 int getBuildId()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
protected  Package getPackage()
           
 int getRevisionVersion()
           
 String getTitle()
           
 String getVersion()
           
protected  void init(Class<?> clazz, String expectedTitle)
           
protected  void initVersionInfo(String version)
           
 boolean isDetected()
           
protected  int parseInt(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

buildId

protected int buildId

detected

protected boolean detected

majorVersion

protected int majorVersion

minorVersion

protected int minorVersion

revisionVersion

protected int revisionVersion

stringValue

protected String stringValue

title

protected String title

version

protected String version
Constructor Detail

ProductBaseImpl

public ProductBaseImpl()
Method Detail

toString

public String toString()
Specified by:
toString in interface Product
Overrides:
toString in class Object

init

protected void init(Class<?> clazz,
                    String expectedTitle)

initVersionInfo

protected void initVersionInfo(String version)

parseInt

protected int parseInt(String value)

getBuildId

public int getBuildId()
Specified by:
getBuildId in interface Product

isDetected

public boolean isDetected()
Specified by:
isDetected in interface Product

getMajorVersion

public int getMajorVersion()
Specified by:
getMajorVersion in interface Product

getMinorVersion

public int getMinorVersion()
Specified by:
getMinorVersion in interface Product

getPackage

protected Package getPackage()

getRevisionVersion

public int getRevisionVersion()
Specified by:
getRevisionVersion in interface Product

getTitle

public String getTitle()
Specified by:
getTitle in interface Product

getVersion

public String getVersion()
Specified by:
getVersion in interface Product


Copyright © 2015 Liferay, Inc.. All rights reserved.