Liferay 6.1.2-ce-ga3

com.liferay.portal.plugin
Class PluginPackageImpl

java.lang.Object
  extended by com.liferay.portal.plugin.PluginPackageImpl
All Implemented Interfaces:
PluginPackage, Serializable, Comparable<PluginPackage>

public class PluginPackageImpl
extends Object
implements Comparable<PluginPackage>, PluginPackage, Serializable

See Also:
Serialized Form

Field Summary
static String STATUS_ALL
           
static String STATUS_INSTALLATION_IN_PROCESS
           
static String STATUS_NEWER_VERSION_INSTALLED
           
static String STATUS_NOT_INSTALLED
           
static String STATUS_NOT_INSTALLED_OR_OLDER_VERSION_INSTALLED
           
static String STATUS_OLDER_VERSION_INSTALLED
           
static String STATUS_SAME_VERSION_INSTALLED
           
 
Constructor Summary
PluginPackageImpl(String moduleId)
           
 
Method Summary
 int compareTo(PluginPackage pluginPackage)
           
 boolean equals(Object obj)
           
 String getArtifactId()
           
 String getArtifactURL()
           
 String getAuthor()
           
 String getChangeLog()
           
 String getContext()
           
 Properties getDeploymentSettings()
           
 String getDownloadURL()
           
 String getGroupId()
           
 List<License> getLicenses()
           
 List<String> getLiferayVersions()
           
 String getLongDescription()
           
 Date getModifiedDate()
           
 String getModuleId()
           
 String getName()
           
 String getPackageId()
           
 String getPageURL()
           
 String getRecommendedDeploymentContext()
           
 RemotePluginPackageRepository getRepository()
           
 String getRepositoryURL()
           
 List<String> getRequiredDeploymentContexts()
           
 List<Screenshot> getScreenshots()
           
 String getShortDescription()
           
 List<String> getTags()
           
 List<String> getTypes()
           
 String getVersion()
           
 int hashCode()
           
 boolean isLaterVersionThan(PluginPackage pluginPackage)
           
 boolean isPreviousVersionThan(PluginPackage pluginPackage)
           
 boolean isSameVersionAs(PluginPackage pluginPackage)
           
 void setAuthor(String author)
           
 void setChangeLog(String changeLog)
           
 void setContext(String context)
           
 void setDeploymentSettings(Properties deploymentSettings)
           
 void setDownloadURL(String downloadURL)
           
 void setLicenses(List<License> licenses)
           
 void setLiferayVersions(List<String> liferayVersions)
           
 void setLongDescription(String longDescription)
           
 void setModifiedDate(Date modifiedDate)
           
 void setName(String name)
           
 void setPageURL(String pageURL)
           
 void setRecommendedDeploymentContext(String recommendedDeploymentContext)
           
 void setRepository(RemotePluginPackageRepository repository)
           
 void setRequiredDeploymentContexts(List<String> requiredDeploymentContexts)
           
 void setScreenshots(List<Screenshot> screenshots)
           
 void setShortDescription(String shortDescription)
           
 void setTags(List<String> tags)
           
 void setTypes(List<String> types)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STATUS_ALL

public static final String STATUS_ALL
See Also:
Constant Field Values

STATUS_INSTALLATION_IN_PROCESS

public static final String STATUS_INSTALLATION_IN_PROCESS
See Also:
Constant Field Values

STATUS_NEWER_VERSION_INSTALLED

public static final String STATUS_NEWER_VERSION_INSTALLED
See Also:
Constant Field Values

STATUS_NOT_INSTALLED

public static final String STATUS_NOT_INSTALLED
See Also:
Constant Field Values

STATUS_NOT_INSTALLED_OR_OLDER_VERSION_INSTALLED

public static final String STATUS_NOT_INSTALLED_OR_OLDER_VERSION_INSTALLED
See Also:
Constant Field Values

STATUS_OLDER_VERSION_INSTALLED

public static final String STATUS_OLDER_VERSION_INSTALLED
See Also:
Constant Field Values

STATUS_SAME_VERSION_INSTALLED

public static final String STATUS_SAME_VERSION_INSTALLED
See Also:
Constant Field Values
Constructor Detail

PluginPackageImpl

public PluginPackageImpl(String moduleId)
Method Detail

compareTo

public int compareTo(PluginPackage pluginPackage)
Specified by:
compareTo in interface Comparable<PluginPackage>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getArtifactId

public String getArtifactId()
Specified by:
getArtifactId in interface PluginPackage

getArtifactURL

public String getArtifactURL()
Specified by:
getArtifactURL in interface PluginPackage

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface PluginPackage

getChangeLog

public String getChangeLog()
Specified by:
getChangeLog in interface PluginPackage

getContext

public String getContext()
Specified by:
getContext in interface PluginPackage

getDeploymentSettings

public Properties getDeploymentSettings()
Specified by:
getDeploymentSettings in interface PluginPackage

getDownloadURL

public String getDownloadURL()
Specified by:
getDownloadURL in interface PluginPackage

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface PluginPackage

getLicenses

public List<License> getLicenses()
Specified by:
getLicenses in interface PluginPackage

getLiferayVersions

public List<String> getLiferayVersions()
Specified by:
getLiferayVersions in interface PluginPackage

getLongDescription

public String getLongDescription()
Specified by:
getLongDescription in interface PluginPackage

getModifiedDate

public Date getModifiedDate()
Specified by:
getModifiedDate in interface PluginPackage

getModuleId

public String getModuleId()
Specified by:
getModuleId in interface PluginPackage

getName

public String getName()
Specified by:
getName in interface PluginPackage

getPackageId

public String getPackageId()
Specified by:
getPackageId in interface PluginPackage

getPageURL

public String getPageURL()
Specified by:
getPageURL in interface PluginPackage

getRecommendedDeploymentContext

public String getRecommendedDeploymentContext()
Specified by:
getRecommendedDeploymentContext in interface PluginPackage

getRepository

public RemotePluginPackageRepository getRepository()
Specified by:
getRepository in interface PluginPackage

getRepositoryURL

public String getRepositoryURL()
Specified by:
getRepositoryURL in interface PluginPackage

getRequiredDeploymentContexts

public List<String> getRequiredDeploymentContexts()
Specified by:
getRequiredDeploymentContexts in interface PluginPackage

getScreenshots

public List<Screenshot> getScreenshots()
Specified by:
getScreenshots in interface PluginPackage

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface PluginPackage

getTags

public List<String> getTags()
Specified by:
getTags in interface PluginPackage

getTypes

public List<String> getTypes()
Specified by:
getTypes in interface PluginPackage

getVersion

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isLaterVersionThan

public boolean isLaterVersionThan(PluginPackage pluginPackage)
Specified by:
isLaterVersionThan in interface PluginPackage

isPreviousVersionThan

public boolean isPreviousVersionThan(PluginPackage pluginPackage)
Specified by:
isPreviousVersionThan in interface PluginPackage

isSameVersionAs

public boolean isSameVersionAs(PluginPackage pluginPackage)
Specified by:
isSameVersionAs in interface PluginPackage

setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface PluginPackage

setChangeLog

public void setChangeLog(String changeLog)
Specified by:
setChangeLog in interface PluginPackage

setContext

public void setContext(String context)
Specified by:
setContext in interface PluginPackage

setDeploymentSettings

public void setDeploymentSettings(Properties deploymentSettings)
Specified by:
setDeploymentSettings in interface PluginPackage

setDownloadURL

public void setDownloadURL(String downloadURL)
Specified by:
setDownloadURL in interface PluginPackage

setLicenses

public void setLicenses(List<License> licenses)
Specified by:
setLicenses in interface PluginPackage

setLiferayVersions

public void setLiferayVersions(List<String> liferayVersions)
Specified by:
setLiferayVersions in interface PluginPackage

setLongDescription

public void setLongDescription(String longDescription)
Specified by:
setLongDescription in interface PluginPackage

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface PluginPackage

setName

public void setName(String name)
Specified by:
setName in interface PluginPackage

setPageURL

public void setPageURL(String pageURL)
Specified by:
setPageURL in interface PluginPackage

setRecommendedDeploymentContext

public void setRecommendedDeploymentContext(String recommendedDeploymentContext)
Specified by:
setRecommendedDeploymentContext in interface PluginPackage

setRepository

public void setRepository(RemotePluginPackageRepository repository)
Specified by:
setRepository in interface PluginPackage

setRequiredDeploymentContexts

public void setRequiredDeploymentContexts(List<String> requiredDeploymentContexts)
Specified by:
setRequiredDeploymentContexts in interface PluginPackage

setScreenshots

public void setScreenshots(List<Screenshot> screenshots)
Specified by:
setScreenshots in interface PluginPackage

setShortDescription

public void setShortDescription(String shortDescription)
Specified by:
setShortDescription in interface PluginPackage

setTags

public void setTags(List<String> tags)
Specified by:
setTags in interface PluginPackage

setTypes

public void setTypes(List<String> types)
Specified by:
setTypes in interface PluginPackage

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.1.2-ce-ga3