com.liferay.portal.plugin
Class PluginPackageImpl
java.lang.Object
com.liferay.portal.plugin.PluginPackageImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.plugin.PluginPackage, Serializable, Comparable<com.liferay.portal.kernel.plugin.PluginPackage>
public class PluginPackageImpl
- extends Object
- implements Comparable<com.liferay.portal.kernel.plugin.PluginPackage>, com.liferay.portal.kernel.plugin.PluginPackage, Serializable
- See Also:
- Serialized Form
| Fields inherited from interface com.liferay.portal.kernel.plugin.PluginPackage |
REPOSITORY_XML_FILENAME_EXTENSION, REPOSITORY_XML_FILENAME_PREFIX |
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(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.plugin.PluginPackage>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId in interface com.liferay.portal.kernel.plugin.PluginPackage
getArtifactURL
public String getArtifactURL()
- Specified by:
getArtifactURL in interface com.liferay.portal.kernel.plugin.PluginPackage
getAuthor
public String getAuthor()
- Specified by:
getAuthor in interface com.liferay.portal.kernel.plugin.PluginPackage
getChangeLog
public String getChangeLog()
- Specified by:
getChangeLog in interface com.liferay.portal.kernel.plugin.PluginPackage
getContext
public String getContext()
- Specified by:
getContext in interface com.liferay.portal.kernel.plugin.PluginPackage
getDeploymentSettings
public Properties getDeploymentSettings()
- Specified by:
getDeploymentSettings in interface com.liferay.portal.kernel.plugin.PluginPackage
getDownloadURL
public String getDownloadURL()
- Specified by:
getDownloadURL in interface com.liferay.portal.kernel.plugin.PluginPackage
getGroupId
public String getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.kernel.plugin.PluginPackage
getLicenses
public List<com.liferay.portal.kernel.plugin.License> getLicenses()
- Specified by:
getLicenses in interface com.liferay.portal.kernel.plugin.PluginPackage
getLiferayVersions
public List<String> getLiferayVersions()
- Specified by:
getLiferayVersions in interface com.liferay.portal.kernel.plugin.PluginPackage
getLongDescription
public String getLongDescription()
- Specified by:
getLongDescription in interface com.liferay.portal.kernel.plugin.PluginPackage
getModifiedDate
public Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.kernel.plugin.PluginPackage
getModuleId
public String getModuleId()
- Specified by:
getModuleId in interface com.liferay.portal.kernel.plugin.PluginPackage
getName
public String getName()
- Specified by:
getName in interface com.liferay.portal.kernel.plugin.PluginPackage
getPackageId
public String getPackageId()
- Specified by:
getPackageId in interface com.liferay.portal.kernel.plugin.PluginPackage
getPageURL
public String getPageURL()
- Specified by:
getPageURL in interface com.liferay.portal.kernel.plugin.PluginPackage
getRecommendedDeploymentContext
public String getRecommendedDeploymentContext()
- Specified by:
getRecommendedDeploymentContext in interface com.liferay.portal.kernel.plugin.PluginPackage
getRepository
public com.liferay.portal.kernel.plugin.RemotePluginPackageRepository getRepository()
- Specified by:
getRepository in interface com.liferay.portal.kernel.plugin.PluginPackage
getRepositoryURL
public String getRepositoryURL()
- Specified by:
getRepositoryURL in interface com.liferay.portal.kernel.plugin.PluginPackage
getRequiredDeploymentContexts
public List<String> getRequiredDeploymentContexts()
- Specified by:
getRequiredDeploymentContexts in interface com.liferay.portal.kernel.plugin.PluginPackage
getScreenshots
public List<com.liferay.portal.kernel.plugin.Screenshot> getScreenshots()
- Specified by:
getScreenshots in interface com.liferay.portal.kernel.plugin.PluginPackage
getShortDescription
public String getShortDescription()
- Specified by:
getShortDescription in interface com.liferay.portal.kernel.plugin.PluginPackage
getTags
public List<String> getTags()
- Specified by:
getTags in interface com.liferay.portal.kernel.plugin.PluginPackage
getTypes
public List<String> getTypes()
- Specified by:
getTypes in interface com.liferay.portal.kernel.plugin.PluginPackage
getVersion
public String getVersion()
- Specified by:
getVersion in interface com.liferay.portal.kernel.plugin.PluginPackage
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isLaterVersionThan
public boolean isLaterVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
- Specified by:
isLaterVersionThan in interface com.liferay.portal.kernel.plugin.PluginPackage
isPreviousVersionThan
public boolean isPreviousVersionThan(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
- Specified by:
isPreviousVersionThan in interface com.liferay.portal.kernel.plugin.PluginPackage
isSameVersionAs
public boolean isSameVersionAs(com.liferay.portal.kernel.plugin.PluginPackage pluginPackage)
- Specified by:
isSameVersionAs in interface com.liferay.portal.kernel.plugin.PluginPackage
setAuthor
public void setAuthor(String author)
- Specified by:
setAuthor in interface com.liferay.portal.kernel.plugin.PluginPackage
setChangeLog
public void setChangeLog(String changeLog)
- Specified by:
setChangeLog in interface com.liferay.portal.kernel.plugin.PluginPackage
setContext
public void setContext(String context)
- Specified by:
setContext in interface com.liferay.portal.kernel.plugin.PluginPackage
setDeploymentSettings
public void setDeploymentSettings(Properties deploymentSettings)
- Specified by:
setDeploymentSettings in interface com.liferay.portal.kernel.plugin.PluginPackage
setDownloadURL
public void setDownloadURL(String downloadURL)
- Specified by:
setDownloadURL in interface com.liferay.portal.kernel.plugin.PluginPackage
setLicenses
public void setLicenses(List<com.liferay.portal.kernel.plugin.License> licenses)
- Specified by:
setLicenses in interface com.liferay.portal.kernel.plugin.PluginPackage
setLiferayVersions
public void setLiferayVersions(List<String> liferayVersions)
- Specified by:
setLiferayVersions in interface com.liferay.portal.kernel.plugin.PluginPackage
setLongDescription
public void setLongDescription(String longDescription)
- Specified by:
setLongDescription in interface com.liferay.portal.kernel.plugin.PluginPackage
setModifiedDate
public void setModifiedDate(Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.kernel.plugin.PluginPackage
setName
public void setName(String name)
- Specified by:
setName in interface com.liferay.portal.kernel.plugin.PluginPackage
setPageURL
public void setPageURL(String pageURL)
- Specified by:
setPageURL in interface com.liferay.portal.kernel.plugin.PluginPackage
setRecommendedDeploymentContext
public void setRecommendedDeploymentContext(String recommendedDeploymentContext)
- Specified by:
setRecommendedDeploymentContext in interface com.liferay.portal.kernel.plugin.PluginPackage
setRepository
public void setRepository(com.liferay.portal.kernel.plugin.RemotePluginPackageRepository repository)
- Specified by:
setRepository in interface com.liferay.portal.kernel.plugin.PluginPackage
setRequiredDeploymentContexts
public void setRequiredDeploymentContexts(List<String> requiredDeploymentContexts)
- Specified by:
setRequiredDeploymentContexts in interface com.liferay.portal.kernel.plugin.PluginPackage
setScreenshots
public void setScreenshots(List<com.liferay.portal.kernel.plugin.Screenshot> screenshots)
- Specified by:
setScreenshots in interface com.liferay.portal.kernel.plugin.PluginPackage
setShortDescription
public void setShortDescription(String shortDescription)
- Specified by:
setShortDescription in interface com.liferay.portal.kernel.plugin.PluginPackage
setTags
public void setTags(List<String> tags)
- Specified by:
setTags in interface com.liferay.portal.kernel.plugin.PluginPackage
setTypes
public void setTypes(List<String> types)
- Specified by:
setTypes in interface com.liferay.portal.kernel.plugin.PluginPackage
toString
public String toString()
- Overrides:
toString in class Object