public class CmsModuleImportData extends java.lang.Object
Constructor and Description |
---|
CmsModuleImportData() |
Modifier and Type | Method and Description |
---|---|
void |
addResource(CmsResourceImportData resourceData)
Adds the information for a single resource.
|
boolean |
checkUpdatable(CmsObject cms)
Checks if the installed module is updatable with the version from the import zip file.
|
CmsObject |
getCms()
Gets the CMS object.
|
java.util.Map<CmsUUID,CmsUUID> |
getConflictingIds()
Gets the map of conflicting ids.
|
CmsModule |
getModule()
Gets the module metadata from the import zip.
|
java.util.List<CmsResourceImportData> |
getResourceData()
Gets the list of resource data objects for the manifest entries.
|
void |
setCms(CmsObject cms)
Sets the CMS object.
|
void |
setModule(CmsModule module)
Sets the module metadata.
|
public CmsModuleImportData()
public void addResource(CmsResourceImportData resourceData)
resourceData
- the information for a single resourcepublic boolean checkUpdatable(CmsObject cms)
cms
- the current CMS contextpublic java.util.Map<CmsUUID,CmsUUID> getConflictingIds()
The keys are structure ids from the manifest, the values are structure ids from the VFS.
public CmsModule getModule()
public java.util.List<CmsResourceImportData> getResourceData()
public void setCms(CmsObject cms)
cms
- the CMS object to set