Class ExportParameters
java.lang.Object
de.espirit.firstspirit.access.export.ExportParameters
- All Implemented Interfaces:
Serializable
Configuration class for
project export
- Since:
- 4.0.17
- See Also:
-
Constructor Summary
ConstructorDescriptionExportParameters
(long projectId, String projectName) Constructs a new ExportParameters object for the project specified by given id and name. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get export cached picture resolutions state.boolean
Indicates whether deleted elements should be exported or not.boolean
Indicates whether contentstore table data will be exported during the belonging project export or not.long
Get the maximum age in milliseconds of export element revisions to include in the export.long
Get the maximum count of revisions of an export element to include in the export.long
Returns the project id this ExportParameters belongs to.Returns the name of the project this ExportParameters belongs to.boolean
isBackup()
Indicates whether this export parameters belongs to a backup task.void
setBackup
(boolean backup) void
setExportCachedPictures
(boolean exportCachedPictures) Set export cached picture resolutions state.void
setExportDeletedElements
(boolean exportDeletedElements) Define whether deleted elements should be exported during belonging project export or not.void
setExportTableData
(boolean exportTableData) Define whether contentstore table data should be exported (true
) during the belonging project export or not {false
}.void
setMaxRevisionAge
(long age) Set the maximum age in milliseconds of export element revisions to include in the export.void
setMaxRevisionCount
(long count) Set the maximum count of revisions of an export element to include in the export.
-
Constructor Details
-
ExportParameters
Constructs a new ExportParameters object for the project specified by given id and name.- Parameters:
projectId
- the id of the project the new created export parameter should belong toprojectName
- the name of the project the new created export parameter should belong to- Since:
- 4.0.17
-
-
Method Details
-
getProjectId
public long getProjectId()Returns the project id this ExportParameters belongs to.- Since:
- 4.0.17
-
getProjectName
Returns the name of the project this ExportParameters belongs to.- Since:
- 4.0.17
-
getMaxRevisionCount
public long getMaxRevisionCount()Get the maximum count of revisions of an export element to include in the export. If the count is not limited -1 is returned. If an element has fewer revisions than the given count all existing element revisions will be included.- Returns:
- The maximum revision count of an export element to include in the export, -1 for unlimited.
- Since:
- 4.0.17
-
setMaxRevisionCount
public void setMaxRevisionCount(long count) Set the maximum count of revisions of an export element to include in the export. Set to -1 if the count should not be limited. If an element has fewer revisions than the given count all element revisions will be included.- Parameters:
count
- The maximum revision count of an export element to include in the export, -1 for unlimited.- Since:
- 4.0.17
-
getMaxRevisionAge
public long getMaxRevisionAge()Get the maximum age in milliseconds of export element revisions to include in the export. If the age is not limited, -1 is returned. At least one revision of each export element will be included, even if it is older.- Returns:
- The maximum age in milliseconds of export element revisions to include in the export, -1 for unlimited.
- Since:
- 4.0.17
-
setMaxRevisionAge
public void setMaxRevisionAge(long age) Set the maximum age in milliseconds of export element revisions to include in the export. If the age is not limited, -1 is returned. At least one revision of each export element will be included, even if it is older.- Parameters:
age
- The maximum age in milliseconds of export element revisions to include in the export, -1 for unlimited.- Since:
- 4.0.17
-
isBackup
public boolean isBackup()Indicates whether this export parameters belongs to a backup task.- Since:
- 4.0.17
- See Also:
-
setBackup
public void setBackup(boolean backup) - Since:
- 4.0.17
-
getExportDeletedElements
public boolean getExportDeletedElements()Indicates whether deleted elements should be exported or not.- Since:
- 4.0.25
- See Also:
-
setExportDeletedElements
public void setExportDeletedElements(boolean exportDeletedElements) Define whether deleted elements should be exported during belonging project export or not.- Parameters:
exportDeletedElements
- usetrue
to activate export of deleted elements,false
otherwise- Since:
- 4.0.25
- See Also:
-
getExportTableData
public boolean getExportTableData()Indicates whether contentstore table data will be exported during the belonging project export or not.- Since:
- 4.0.75
- See Also:
-
setExportTableData
public void setExportTableData(boolean exportTableData) Define whether contentstore table data should be exported (true
) during the belonging project export or not {false
}.- Parameters:
exportTableData
- usetrue
to activate contentstore table data export,false
otherwise- Since:
- 4.0.75
- See Also:
-
getExportCachedPictures
public boolean getExportCachedPictures()Get export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing. Default behavior is including the cached picture resolutions in a export.- Returns:
- True if cached pictures should be exported
- Since:
- 5.2.201
-
setExportCachedPictures
public void setExportCachedPictures(boolean exportCachedPictures) Set export cached picture resolutions state. Cached picture resolutions often take a lot of space and will be created on demand, if they are missing.- Parameters:
exportCachedPictures
- True if cached pictures should be exported- Since:
- 5.2.201
-