public class LayerLinkConfig extends Object implements Persistent
Modifier and Type | Class and Description |
---|---|
static class |
LayerLinkConfig.RegisterPersistence |
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
static String |
LAYERLINKCONFIG_PERSISTENCE_DEFINITION_NAME |
protected List<LinkConfig> |
linkList |
Constructor and Description |
---|
LayerLinkConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addLink(int position,
LinkConfig config) |
void |
addLink(LinkConfig config) |
void |
addLink(String actionCode,
String fieldName) |
void |
addLink(String actionCode,
String fieldName,
String extension) |
String |
getClassName() |
LinkConfig |
getLink(int index) |
boolean |
isEnabled() |
int |
linkCount() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
LinkConfig |
removeLink(int linkIndex) |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setEnabled(boolean enabled) |
protected List<LinkConfig> linkList
protected boolean enabled
public static final String LAYERLINKCONFIG_PERSISTENCE_DEFINITION_NAME
public void addLink(LinkConfig config)
public void addLink(int position, LinkConfig config)
public LinkConfig removeLink(int linkIndex)
public LinkConfig getLink(int index)
public int linkCount()
public String getClassName()
public boolean isEnabled()
public void setEnabled(boolean enabled)
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException