| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.mashup.ImportOptions
public class ImportOptions
This class contains the options used during an import.
| Field Summary | |
|---|---|
| static String | REVISION | 
| Constructor Summary | |
|---|---|
| ImportOptions() | |
| Method Summary | |
|---|---|
|  void | addOption(String key,
          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. | 
|  Object | getOption(String key)Returns the value of a custom option. | 
|  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(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. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String REVISION
| Constructor Detail | 
|---|
public ImportOptions()
| Method Detail | 
|---|
public String toString()
toString in class Objectpublic 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(String key,
                      Object value)
key - the option's key.value - the option's value.public void removeOption(String key)
key - the option's keypublic Object getOption(String key)
key - the option's key.
public Map getOptionMap()
public boolean isAppendMilestone()
public void setAppendMilestone(boolean appendMilestone)
appendMilestone - if true milestones will be added.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||