public class PluginPackageImpl
extends Object
implements Comparable<com.liferay.portal.kernel.plugin.PluginPackage>, com.liferay.portal.kernel.plugin.PluginPackage, Serializable
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PluginPackageImpl(String moduleId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
boolean |
equals(Object obj) |
String |
getArtifactId() |
String |
getArtifactURL() |
String |
getAuthor() |
String |
getChangeLog() |
String |
getContext() |
Properties |
getDeploymentSettings() |
String |
getDownloadURL() |
String |
getGroupId() |
List<com.liferay.portal.kernel.plugin.License> |
getLicenses() |
List<String> |
getLiferayVersions() |
String |
getLongDescription() |
Date |
getModifiedDate() |
String |
getModuleId() |
String |
getName() |
String |
getPackageId() |
String |
getPageURL() |
String |
getRecommendedDeploymentContext() |
com.liferay.portal.kernel.plugin.RemotePluginPackageRepository |
getRepository() |
String |
getRepositoryURL() |
List<String> |
getRequiredDeploymentContexts() |
List<com.liferay.portal.kernel.plugin.Screenshot> |
getScreenshots() |
String |
getShortDescription() |
List<String> |
getTags() |
List<String> |
getTypes() |
String |
getVersion() |
int |
hashCode() |
boolean |
isLaterVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
boolean |
isPreviousVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) |
boolean |
isSameVersionAs(com.liferay.portal.kernel.plugin.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<com.liferay.portal.kernel.plugin.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(com.liferay.portal.kernel.plugin.RemotePluginPackageRepository repository) |
void |
setRequiredDeploymentContexts(List<String> requiredDeploymentContexts) |
void |
setScreenshots(List<com.liferay.portal.kernel.plugin.Screenshot> screenshots) |
void |
setShortDescription(String shortDescription) |
void |
setTags(List<String> tags) |
void |
setTypes(List<String> types) |
String |
toString() |
public static final String STATUS_ALL
public static final String STATUS_INSTALLATION_IN_PROCESS
public static final String STATUS_NEWER_VERSION_INSTALLED
public static final String STATUS_NOT_INSTALLED
public static final String STATUS_NOT_INSTALLED_OR_OLDER_VERSION_INSTALLED
public static final String STATUS_OLDER_VERSION_INSTALLED
public static final String STATUS_SAME_VERSION_INSTALLED
public int compareTo(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
compareTo
in interface Comparable<com.liferay.portal.kernel.plugin.PluginPackage>
public boolean equals(Object obj)
equals
in class Object
public String getArtifactId()
getArtifactId
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getArtifactURL()
getArtifactURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getAuthor()
getAuthor
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getChangeLog()
getChangeLog
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getContext()
getContext
in interface com.liferay.portal.kernel.plugin.PluginPackage
public Properties getDeploymentSettings()
getDeploymentSettings
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getDownloadURL()
getDownloadURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getGroupId()
getGroupId
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<com.liferay.portal.kernel.plugin.License> getLicenses()
getLicenses
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<String> getLiferayVersions()
getLiferayVersions
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getLongDescription()
getLongDescription
in interface com.liferay.portal.kernel.plugin.PluginPackage
public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getModuleId()
getModuleId
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getName()
getName
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getPackageId()
getPackageId
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getPageURL()
getPageURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getRecommendedDeploymentContext()
getRecommendedDeploymentContext
in interface com.liferay.portal.kernel.plugin.PluginPackage
public com.liferay.portal.kernel.plugin.RemotePluginPackageRepository getRepository()
getRepository
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getRepositoryURL()
getRepositoryURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<String> getRequiredDeploymentContexts()
getRequiredDeploymentContexts
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<com.liferay.portal.kernel.plugin.Screenshot> getScreenshots()
getScreenshots
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getShortDescription()
getShortDescription
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<String> getTags()
getTags
in interface com.liferay.portal.kernel.plugin.PluginPackage
public List<String> getTypes()
getTypes
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String getVersion()
getVersion
in interface com.liferay.portal.kernel.plugin.PluginPackage
public int hashCode()
hashCode
in class Object
public boolean isLaterVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
isLaterVersionThan
in interface com.liferay.portal.kernel.plugin.PluginPackage
public boolean isPreviousVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
isPreviousVersionThan
in interface com.liferay.portal.kernel.plugin.PluginPackage
public boolean isSameVersionAs(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
isSameVersionAs
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setAuthor(String author)
setAuthor
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setChangeLog(String changeLog)
setChangeLog
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setContext(String context)
setContext
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setDeploymentSettings(Properties deploymentSettings)
setDeploymentSettings
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setDownloadURL(String downloadURL)
setDownloadURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setLicenses(List<com.liferay.portal.kernel.plugin.License> licenses)
setLicenses
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setLiferayVersions(List<String> liferayVersions)
setLiferayVersions
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setLongDescription(String longDescription)
setLongDescription
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setName(String name)
setName
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setPageURL(String pageURL)
setPageURL
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setRecommendedDeploymentContext(String recommendedDeploymentContext)
setRecommendedDeploymentContext
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setRepository(com.liferay.portal.kernel.plugin.RemotePluginPackageRepository repository)
setRepository
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setRequiredDeploymentContexts(List<String> requiredDeploymentContexts)
setRequiredDeploymentContexts
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setScreenshots(List<com.liferay.portal.kernel.plugin.Screenshot> screenshots)
setScreenshots
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setShortDescription(String shortDescription)
setShortDescription
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setTags(List<String> tags)
setTags
in interface com.liferay.portal.kernel.plugin.PluginPackage
public void setTypes(List<String> types)
setTypes
in interface com.liferay.portal.kernel.plugin.PluginPackage
public String toString()
toString
in class Object