public class PortalImportOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PortalImportOptions.MergeOption |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELETE_ALL |
static java.lang.String |
IGNORE_MEDIA |
static java.lang.String |
IGNORE_PARAMS |
static java.lang.String |
IGNORE_PRIVS |
static java.lang.String |
IGNORE_ROLES |
static java.lang.String |
IGNORE_TASKS |
Constructor and Description |
---|
PortalImportOptions() |
Modifier and Type | Method and Description |
---|---|
PortalImportOptions.MergeOption |
getOptionsFor(torn.omea.framework.core.OmeaPool pool) |
static java.util.Collection<torn.omea.framework.core.OmeaPool> |
getPools() |
void |
importCompatibleOptions(java.lang.Object... options) |
java.lang.Boolean |
isActivateTasks()
Returns defined behaviour of "active" property for updated/inserted tasks.
|
void |
setActivateTasks(java.lang.Boolean activateTasks)
You may define behaviour of "active" property for updated/inserted tasks.
|
void |
setDefaultOptions() |
void |
setOptionsFor(torn.omea.framework.core.OmeaPool pool,
PortalImportOptions.MergeOption mergeOption) |
void |
setOptionsForApplicationCode(PortalImportOptions.MergeOption mergeOption) |
public static final java.lang.String DELETE_ALL
public static final java.lang.String IGNORE_MEDIA
public static final java.lang.String IGNORE_PRIVS
public static final java.lang.String IGNORE_ROLES
public static final java.lang.String IGNORE_TASKS
public static final java.lang.String IGNORE_PARAMS
public void setActivateTasks(java.lang.Boolean activateTasks)
activateTasks
- set true if you want activate all tasks, false if you want disable all and null if you want to
put them as they are defined in patch filepublic java.lang.Boolean isActivateTasks()
public static java.util.Collection<torn.omea.framework.core.OmeaPool> getPools()
public void importCompatibleOptions(java.lang.Object... options)
public void setOptionsFor(torn.omea.framework.core.OmeaPool pool, PortalImportOptions.MergeOption mergeOption)
public void setOptionsForApplicationCode(PortalImportOptions.MergeOption mergeOption)
public void setDefaultOptions()
public PortalImportOptions.MergeOption getOptionsFor(torn.omea.framework.core.OmeaPool pool)