com.liferay.portal.plugin
Class PluginPackageImpl
java.lang.Object
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
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
PluginPackageImpl
public PluginPackageImpl(String moduleId)
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