public abstract class AbstractPage extends DesignerArtifact implements Previewable, Identifiable, ElementContainer, Assetable
| Constructor and Description |
|---|
AbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(ElementVisitor<T> visitor)
Visits all the elements of this page with the given element visitor
|
void |
addAsset(Asset asset) |
void |
addAssets(Set<Asset> assets) |
void |
addData(String name,
Data value)
Deprecated.
|
void |
addVariable(String name,
Variable value) |
boolean |
equals(Object obj) |
Set<Asset> |
getAssets() |
Map<String,Data> |
getData()
Deprecated.
|
boolean |
getHasValidationError() |
String |
getId()
Unique id for a component
|
Set<String> |
getInactiveAssets() |
org.joda.time.Instant |
getLastUpdate() |
String |
getName()
Gets the name of a previewable object
|
List<List<Element>> |
getRows()
Gets the rows of this previewable
|
Map<String,Variable> |
getVariables()
Gets the variables used when previewing this previewable
|
boolean |
hasAsset(AssetType type,
String name) |
int |
hashCode() |
void |
removeVariable(String variableName) |
void |
setAssets(Set<Asset> assets) |
void |
setData(Map<String,Data> data)
Deprecated.
|
void |
setHasValidationError(boolean hasValidationError) |
void |
setId(String id) |
void |
setInactiveAssets(Set<String> inactiveAssets) |
void |
setLastUpdate(org.joda.time.Instant lastUpdate)
The last update is audited
|
void |
setName(String name) |
void |
setRows(List<List<Element>> rows) |
void |
setVariables(Map<String,Variable> variables) |
String |
toString() |
getArtifactVersion, getDesignerVersion, getModelVersion, getPreviousArtifactVersion, getPreviousDesignerVersion, getStatus, getType, isFavorite, setDesignerVersion, setDesignerVersionIfEmpty, setFavorite, setModelVersion, setModelVersionIfEmpty, setPreviousArtifactVersion, setPreviousDesignerVersion, setStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetArtifactVersion, getDesignerVersion, getModelVersion, getType, isFavorite, setDesignerVersionIfEmpty, setFavorite, setModelVersionIfEmptypublic String getId()
IdentifiablegetId in interface Identifiablepublic void setId(String id)
public String getName()
PreviewablegetName in interface IdentifiablegetName in interface Previewablepublic void setName(String name)
public org.joda.time.Instant getLastUpdate()
public void setLastUpdate(org.joda.time.Instant lastUpdate)
IdentifiablesetLastUpdate in interface Identifiablepublic List<List<Element>> getRows()
PreviewablegetRows in interface ElementContainergetRows in interface Previewablepublic Set<String> getInactiveAssets()
getInactiveAssets in interface Previewable@Deprecated public Map<String,Data> getData()
@Deprecated public void setData(Map<String,Data> data)
@Deprecated public void addData(String name, Data value)
public Map<String,Variable> getVariables()
PreviewablegetVariables in interface Previewablepublic void addVariable(String name, Variable value)
addVariable in interface Previewablepublic void removeVariable(String variableName) throws NotFoundException
removeVariable in interface PreviewableNotFoundExceptionpublic <T> T accept(ElementVisitor<T> visitor)
public boolean getHasValidationError()
public void setHasValidationError(boolean hasValidationError)
Copyright © 2020. All rights reserved.