|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AssetExportService
Export/Import using CRX Package
| Method Summary | |
|---|---|
void |
deletePackage(java.lang.String packageName)
Deletes the specified package |
Downloadable |
exportAll(java.lang.String packageName)
Exports all assets(published/mark-for-published assets) and data dictionary (non-system) |
Downloadable |
exportAsset(java.util.List assetIDs,
java.lang.String packageName)
Export assets as CRX package |
Downloadable |
exportAsset(java.util.List assetIDs,
java.lang.String packageName,
boolean findRelatedAssets)
Export assets as CRX package |
java.util.List |
getExportAllInfo()
Information about all assets being exported |
java.util.List |
getExportInfo(java.util.List assetIDs)
List of all assets which will be exported when asset with assetID is exported/imported |
java.util.List |
getImportInfo(Downloadable file)
Deprecated. use getImportInfo2 |
java.util.Map |
getImportInfo2(Downloadable file)
List all the assets, categories and data dictionary to be imported from the file. |
java.util.List |
importAsset(Downloadable file)
Deprecated. use importAsset2 |
java.util.List |
importAsset2(java.util.Map packageInfo)
Imports assets. |
| Method Detail |
|---|
java.util.List getExportInfo(java.util.List assetIDs)
throws ICCException
assetIDs - list of ID of assets to be exported
ICCException
Downloadable exportAsset(java.util.List assetIDs,
java.lang.String packageName)
throws ICCException
assetIDs - assetIDs list of ID of assets to be exportedpackageName -
ICCException
Downloadable exportAsset(java.util.List assetIDs,
java.lang.String packageName,
boolean findRelatedAssets)
throws ICCException
assetIDs - assetIDs list of ID of assets to be exportedfindRelatedAssets - - when true the assets related to assetIDs are also retrieved and exported. This API is useful if you
already have the complete list of assets (including the related assets).packageName -
ICCException
java.util.List getImportInfo(Downloadable file)
throws ICCException
file - Downloadable object having zip file content
ICCException
java.util.Map getImportInfo2(Downloadable file)
throws ICCException
file - Downloadable object having zip file content
| Key | Value |
|---|---|
| PackageName | (String) Name of the package. |
| PackageFileName | (String) Name of the package file. |
| NewAssets | (List<Object>) List of assets being imported first time on the system. |
| OldAssets | (List<Object>) List of assets being imported which already exist on the system. |
ICCException
java.util.List importAsset(Downloadable file)
throws ICCException
file - Downloadable object having zip file content
ICCException
java.util.List importAsset2(java.util.Map packageInfo)
throws ICCException
packageInfo - map containing following key value pairs:
| Key | Value |
|---|---|
| PackageName | (String) Name of the package. |
| PackageFileName | (String) Name of the package file. |
| NewAssets | (List<Object>) List of assets being imported first time on the system. |
| OldAssets | (List<Object>) List of assets being imported which already exist on the system. |
ICCExceptionvoid deletePackage(java.lang.String packageName)
packageName - name of the package to be deleted.
ICCException
java.util.List getExportAllInfo()
throws ICCException
ICCException
Downloadable exportAll(java.lang.String packageName)
throws ICCException
packageName -
ICCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||