com.adobe.idp.applicationmanager.application
Class ImportApplicationInfo

java.lang.Object
  extended by com.adobe.idp.applicationmanager.application.ImportApplicationInfo
All Implemented Interfaces:
java.io.Serializable

public class ImportApplicationInfo
extends java.lang.Object
implements java.io.Serializable

An ImportApplicationInfo object is used to set and retrieve the settings to be used for import of the application archive.

See Also:
Serialized Form

Constructor Summary
ImportApplicationInfo()
          default constructor needed for Flex Remoting
ImportApplicationInfo(boolean overwrite)
           
ImportApplicationInfo(boolean overwrite, Document archiveSettingsDocument)
           
ImportApplicationInfo(boolean overwrite, java.util.Map importParams)
           
ImportApplicationInfo(boolean overwrite, java.util.Map importParams, Document archiveSettingsDocument)
          Constructor to create a ImportApplicationInfo object which used to set and retrieve the settings to be used for import of the application archive.
 
Method Summary
 Document getArchiveSettingsDocument()
          Retrieves the ArchiveSettingsDocument Document
 java.util.Map getImportParams()
          Retrieves the ImportParams.
 boolean getOverwrite()
          Retrieves the overwrite setting, true means to update/overwrite existing items.
 void setArchiveSettingsDocument(Document archiveSettingsDocument)
          Sets the ArchiveSettingsDocument Document
 void setImportParams(java.util.Map importParams)
          Sets the ImportParams.
 void setOverwrite(boolean overwrite)
          Sets the overwrite setting, true means to update/overwrite existing items.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportApplicationInfo

public ImportApplicationInfo(boolean overwrite,
                             java.util.Map importParams,
                             Document archiveSettingsDocument)
Constructor to create a ImportApplicationInfo object which used to set and retrieve the settings to be used for import of the application archive.

Parameters:
overwrite - true means to update/overwrite existing items on import.
importParams - Map containing the archive names of the components, as keys, with the boolean value of true to indicate the items is to be imported and false to indicate not to import the item. These names can be retrieved by calling com.adobe.idp.applicationmanager.client.previewApplicationArchive and getting the names of the archive components from the ApplicationStatus
archiveSettingsDocument - a Document containing a valid XML file of settings to overide in the LCA import

ImportApplicationInfo

public ImportApplicationInfo(boolean overwrite)

ImportApplicationInfo

public ImportApplicationInfo()
default constructor needed for Flex Remoting


ImportApplicationInfo

public ImportApplicationInfo(boolean overwrite,
                             java.util.Map importParams)

ImportApplicationInfo

public ImportApplicationInfo(boolean overwrite,
                             Document archiveSettingsDocument)
Method Detail

getArchiveSettingsDocument

public Document getArchiveSettingsDocument()
Retrieves the ArchiveSettingsDocument Document

Returns:
The ArchiveSettingsDocument.

setArchiveSettingsDocument

public void setArchiveSettingsDocument(Document archiveSettingsDocument)
Sets the ArchiveSettingsDocument Document

Parameters:
id - The ArchiveSettingsDocument.

getImportParams

public java.util.Map getImportParams()
Retrieves the ImportParams.

Returns:
The ImportParams.

setImportParams

public void setImportParams(java.util.Map importParams)
Sets the ImportParams.

Parameters:
id - The ImportParams.

getOverwrite

public boolean getOverwrite()
Retrieves the overwrite setting, true means to update/overwrite existing items.

Returns:
The overwrite setting.

setOverwrite

public void setOverwrite(boolean overwrite)
Sets the overwrite setting, true means to update/overwrite existing items.

Parameters:
id - The overwrite setting.