public class LayerLinkConfig extends java.lang.Object implements Persistent
Modifier and Type | Class and Description |
---|---|
static class |
LayerLinkConfig.RegisterPersistence |
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
static java.lang.String |
LAYERLINKCONFIG_PERSISTENCE_DEFINITION_NAME |
protected java.util.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(java.lang.String actionCode,
java.lang.String fieldName) |
void |
addLink(java.lang.String actionCode,
java.lang.String fieldName,
java.lang.String extension) |
java.lang.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 java.util.List<LinkConfig> linkList
protected boolean enabled
public static final java.lang.String LAYERLINKCONFIG_PERSISTENCE_DEFINITION_NAME
public void addLink(LinkConfig config)
public void addLink(int position, LinkConfig config)
public void addLink(java.lang.String actionCode, java.lang.String fieldName)
public void addLink(java.lang.String actionCode, java.lang.String fieldName, java.lang.String extension)
public LinkConfig removeLink(int linkIndex)
public LinkConfig getLink(int index)
public int linkCount()
public java.lang.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