public class ImportOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
ImportOptions() |
Modifier and Type | Method and Description |
---|---|
void |
addOption(java.lang.String key,
java.lang.Object value)
Add a custom option.
|
Member |
getImportAuthor()
Returns the author used for new imported publications.
|
Workspace |
getImportWorkspace()
Returns the workspace used for new imported publications.
|
java.lang.Object |
getOption(java.lang.String key)
Returns the value of a custom option.
|
java.util.Map |
getOptionMap()
Returns the map of custom options.
|
boolean |
isAppendMilestone()
Returns true if milestones must be append in the store before and after the import process.
|
boolean |
isImportAsLocal()
Returns true if the imported data must be convert to local data.
|
boolean |
isImportCategories()
Returns true if the categories have to be imported.
|
boolean |
isImportFiles()
Returns true if the attached files have to be imported.
|
void |
removeOption(java.lang.String key)
Remove a custom option.
|
void |
setAppendMilestone(boolean appendMilestone)
Indicates if milestones must be append in the store before and after the import process.
|
void |
setImportAsLocal(boolean importAsLocal)
Indicates if the imported data must be converted to local data.
|
void |
setImportAuthor(Member importAuthor)
Sets the author used for new imported publications.
|
void |
setImportCategories(boolean importCategories)
Indicates if the categories have to be imported.
|
void |
setImportFiles(boolean importFiles)
Indicates if the attached files have to be imported.
|
void |
setImportWorkspace(Workspace importWorkspace)
Sets the workspace used for new imported publications.
|
java.lang.String |
toString() |
public static final java.lang.String REVISION
public java.lang.String toString()
toString
in class java.lang.Object
public Workspace getImportWorkspace()
public void setImportWorkspace(Workspace importWorkspace)
importWorkspace
- the workspace to used for new imported publications.public Member getImportAuthor()
public void setImportAuthor(Member importAuthor)
importAuthor
- the author to used for new imported publication.public boolean isImportFiles()
public void setImportFiles(boolean importFiles)
importFiles
- if true the attached files will be imported.public boolean isImportCategories()
public void setImportCategories(boolean importCategories)
importCategories
- if true the categories will be imported.public boolean isImportAsLocal()
public void setImportAsLocal(boolean importAsLocal)
importAsLocal
- if true the imported data will be converted to local data.public void addOption(java.lang.String key, java.lang.Object value)
key
- the option's key.value
- the option's value.public void removeOption(java.lang.String key)
key
- the option's keypublic java.lang.Object getOption(java.lang.String key)
key
- the option's key.public java.util.Map getOptionMap()
public boolean isAppendMilestone()
public void setAppendMilestone(boolean appendMilestone)
appendMilestone
- if true milestones will be added.Copyright © 2001-2010 Jalios SA. All Rights Reserved.