Class PartialMdExportToken
java.lang.Object
com.gooddata.sdk.model.md.maintenance.PartialMdExportToken
Partial metadata export token. Serves as configuration structure for import.
Serialization only.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPartialMdExportToken(String token) Creates new PartialMdExportToken.PartialMdExportToken(String token, boolean importAttributeProperties) Creates new PartialMdExportToken. -
Method Summary
Modifier and TypeMethodDescriptiongetToken()booleanbooleanbooleanvoidsetImportAttributeProperties(boolean importAttributeProperties) Sets the flagimportAttributeProperties.voidsetOverwriteNewer(boolean overwriteNewer) Sets the flagoverwriteNewer.voidsetUpdateLDMObjects(boolean updateLDMObjects) Sets the flagupdateLDMObjects.toString()
-
Field Details
-
URI
- See Also:
-
-
Constructor Details
-
PartialMdExportToken
Creates new PartialMdExportToken.
Sets default values to properties:- importAttributeProperties - default false
- overwriteNewer - default true
- updateLDMObjects - default false
- Parameters:
token- token identifying metadata partially exported from another project
-
PartialMdExportToken
Creates new PartialMdExportToken. For internal purposes only.
Sets default values to properties:- overwriteNewer - default true
- updateLDMObjects - default false
- Parameters:
token- token identifying metadata partially exported from another projectimportAttributeProperties- seesetImportAttributeProperties(boolean)
-
-
Method Details
-
getToken
-
isOverwriteNewer
public boolean isOverwriteNewer() -
isUpdateLDMObjects
public boolean isUpdateLDMObjects() -
isImportAttributeProperties
public boolean isImportAttributeProperties() -
setOverwriteNewer
public void setOverwriteNewer(boolean overwriteNewer) Sets the flagoverwriteNewer. Iftrue, UDM/ADM objects are overwritten without checking modification time.- Parameters:
overwriteNewer- flag value to be set
-
setUpdateLDMObjects
public void setUpdateLDMObjects(boolean updateLDMObjects) Sets the flagupdateLDMObjects. Iftrue, related LDM objects name, description and tags are overwritten- Parameters:
updateLDMObjects- flag value to be set
-
setImportAttributeProperties
public void setImportAttributeProperties(boolean importAttributeProperties) Sets the flagimportAttributeProperties. Iftrue, following attribute properties are cloned:- for attribute - import drillDownStepAttributeDF setting
- for attributeDisplayForm - import type setting
'updateLDMObjects = true'for all mentioned types.
It will not reliably work (can fail) for exports without'exportAttributeProperties = true'.- Parameters:
importAttributeProperties- flag value to be set
-
toString
-