Class AssetImportConflicts.AssetImportConflict
- java.lang.Object
-
- de.xima.fc.gui.bean.resource.model.AssetImportConflicts.AssetImportConflict
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AssetImportConflicts
public static final class AssetImportConflicts.AssetImportConflict extends Object implements Serializable
An uploaded asset export that conflicts with an existing asset.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getData()The content of the uploaded file.StringgetExistingName()The name of the existing asset with the same UUID.StringgetExportedName()The name of the asset in the uploaded export.StringgetFileName()The name of the uploaded file.EAssetImportConflictResolutiongetResolution()The chosen resolution of the conflict.booleanisCanOverwrite()Whether the user may overwrite the existing asset.voidsetResolution(EAssetImportConflictResolution resolution)
-
-
-
Method Detail
-
setResolution
public void setResolution(EAssetImportConflictResolution resolution)
- Parameters:
resolution- The chosen resolution of the conflict.EAssetImportConflictResolution.REPLACEis ignored if the user may not overwrite the existing asset.
-
getFileName
public String getFileName()
The name of the uploaded file.
-
getData
public byte[] getData()
The content of the uploaded file.
-
getExportedName
public String getExportedName()
The name of the asset in the uploaded export.
-
getExistingName
public String getExistingName()
The name of the existing asset with the same UUID.
-
isCanOverwrite
public boolean isCanOverwrite()
Whether the user may overwrite the existing asset.
-
getResolution
public EAssetImportConflictResolution getResolution()
The chosen resolution of the conflict.
-
-