Package com.kheops.jmap.client.layers
Class PersonalLayerInfo
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.client.layers.LayerInfo
com.kheops.jmap.client.layers.VectorLayerInfo
com.kheops.jmap.client.layers.PersonalLayerInfo
- All Implemented Interfaces:
ILayer,IVectorLayer,LayerConstants,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.kheops.jmap.client.layers.VectorLayerInfo
acl, attributeMetaData, authorColumnName, creationTimeColumnName, hasEmptyUnivTile, hyperlinks, idAttributeName, keyAttributeName, labelsConfig, LAYER_CLASS_NAME, modificationTimeColumnName, mouseOverConfiguration, nCol, nRow, offset, requestMode, thematicsFields inherited from class com.kheops.jmap.client.layers.LayerInfo
description, dynamicRefresh, elementFactory, elementType, extent, id, infoReportConfig, lastUpdateTime, layerProperties, maximumVisibleScale, metadataUrl, minimumVisibleScale, name, readOnlyMask, styleManagerFields inherited from interface com.kheops.jmap.client.layers.LayerConstants
DEFAULT_MAXIMUM_SCALE, DEFAULT_MINIMUM_SCALE, PERSONAL_LAYER_BASE_ID, PERSONAL_LAYER_MAX_ID, PROJECT_LAYER_BASE_ID, PROJECT_LAYER_MAX_ID, PROPERTY_ALL_SETTINGS, PROPERTY_ALWAYS_DRAW_SELECTION, PROPERTY_DRAW_GRID, PROPERTY_EDITABLE, PROPERTY_EDITING, PROPERTY_INCLUDE_IN_CONTEXT, PROPERTY_INDEX, PROPERTY_LISTED, PROPERTY_LOCAL, PROPERTY_MAX_SCALE, PROPERTY_MIN_SCALE, PROPERTY_PUBLISHED, PROPERTY_QUERIABLE, PROPERTY_SELECTABLE, PROPERTY_USE_CLIENT_CACHE, PROPERTY_VISIBLE, REQUEST_MODE_BY_REGION, REQUEST_MODE_BY_TILE, RESERVED_LAYER_BASE_ID, RESERVED_LAYER_MAX_ID, SYSTEM_LAYER_BASE_AUTO_ID, SYSTEM_LAYER_BASE_ID, SYSTEM_LAYER_MAX_ID, TILING_MODE_AUTO, TILING_MODE_MANUAL, USER_LAYER_BASE_AUTO_ID, USER_LAYER_BASE_ID, USER_LAYER_MAX_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRead()booleancanWrite()clone()Returns a deep clone of the current LayerInfo instance.protected voidClones all properties from this LayerInfo into the specified LayerInfo instance.getAcl()returns PersonalLayerInfo.AUTHOR_ATTRIBUTEreturns PersonalLayerInfo.CREATION_TIME_ATTRIBUTEreturns PersonalLayerInfo.MODIFICATION_TIME_ATTRIBUTEintbooleanbooleanisOwner()voidsetAttributeMetaData(Attribute[] attributes) voidsetAuthorColumnName(String authorColumnName) Should not be called as this method does nothing for PersonalLayerInfo, AUTHOR_ATTRIBUTE is always usedvoidsetCreationTimeColumnName(String creationTimeColumnName) Should not be called as this method does nothing for PersonalLayerInfo, CREATION_TIME_ATTRIBUTE is always usedvoidsetModificationTimeColumnName(String modificationTimeColumnName) Should not be called as this method does nothing for PersonalLayerInfo, MODIFICATION_TIME_ATTRIBUTE is always usedvoidsetPermissions(int permissions) voidsetTableName(String tableName) Methods inherited from class com.kheops.jmap.client.layers.VectorLayerInfo
getLabelsConfig, getMouseOverConfiguration, getNCol, getNRow, getOffset, getTiles, getUseClientCache, isHasEmptyUnivTile, setAcl, setHasEmptyUnivTile, setLabelsConfig, setMouseOverConfiguration, setNCol, setNRow, setOffset, setTiles, setUseClientCacheMethods inherited from class com.kheops.jmap.client.layers.LayerInfo
getDescription, getName, getReadOnlyProperties, isDynamic, isIndex, isListed, isLocal, isSelectable, isVisible, setDescription, setElementType, setIndex, setListed, setLocal, setName, setProperty, setReadOnlyProperties, setReadOnlyProperty, setSelectable, setVisibleMethods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, removeTranslationsOtherThan, setTranslation, updateTranslationsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kheops.jmap.client.layers.ILayer
getDescription, getDescription, getDynamicRefresh, getElementType, getExtent, getId, getInfoReportConfig, getLastUpdateTime, getLayerProperties, getMaximumVisibleScale, getMetadataUrl, getMinimumVisibleScale, getName, getName, getReadOnlyProperties, getStyleManager, isDynamic, isIndex, isListed, isLocal, isSelectable, isVisible, setDescription, setDescription, setDynamicRefresh, setElementType, setId, setIndex, setInfoReportConfig, setLastUpdateTime, setLayerProperties, setListed, setLocal, setMaximumVisibleScale, setMetadataUrl, setMinimumVisibleScale, setName, setName, setProperty, setReadOnlyProperties, setReadOnlyProperty, setSelectable, setStyleManager, setVisibleMethods inherited from interface com.kheops.jmap.client.layers.IVectorLayer
getAttributeMetaData, getClusterDisplayStrategyInfo, getDatabaseConfigInfo, getElementFactory, getForms, getHeatMapDisplayStrategyInfo, getHyperlinks, getIdAttributeName, getKeyAttributeName, getRequestMode, getSubForms, getThematics, setClusterDisplayStrategyInfo, setDatabaseConfigInfo, setElementFactory, setForms, setHeatMapDisplayStrategyInfo, setHyperlinks, setIdAttributeName, setKeyAttributeName, setRequestMode, setSubForms, setThematics
-
Field Details
-
PERMISSIONS_NONE
public static final int PERMISSIONS_NONE- See Also:
-
PERMISSIONS_READ
public static final int PERMISSIONS_READ- See Also:
-
PERMISSIONS_WRITE
public static final int PERMISSIONS_WRITE- See Also:
-
PERMISSIONS_OWNER
public static final int PERMISSIONS_OWNER- See Also:
-
PERMISSIONS_ALL
public static final int PERMISSIONS_ALL- See Also:
-
AUTHOR_ATTRIBUTE
- See Also:
-
CREATION_TIME_ATTRIBUTE
- See Also:
-
MODIFICATION_TIME_ATTRIBUTE
- See Also:
-
AREA_ATTRIBUTE
- See Also:
-
LENGTH_ATTRIBUTE
- See Also:
-
CENTROID_X_ATTRIBUTE
- See Also:
-
CENTROID_Y_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
PersonalLayerInfo
public PersonalLayerInfo()
-
-
Method Details
-
getLayerClassName
- Overrides:
getLayerClassNamein classVectorLayerInfo- Returns:
-
setAttributeMetaData
- Parameters:
attributes-
-
clone
Description copied from class:LayerInfoReturns a deep clone of the current LayerInfo instance.- Specified by:
clonein interfaceILayer- Specified by:
clonein interfaceIVectorLayer- Overrides:
clonein classVectorLayerInfo- Returns:
-
clone
Description copied from class:VectorLayerInfoClones all properties from this LayerInfo into the specified LayerInfo instance.- Overrides:
clonein classVectorLayerInfo- Parameters:
layerInfo- the instance that will receive cloned properties.
-
isEditable
public boolean isEditable()- Specified by:
isEditablein interfaceIVectorLayer- Overrides:
isEditablein classVectorLayerInfo- Returns:
-
canRead
public boolean canRead() -
canWrite
public boolean canWrite() -
isOwner
public boolean isOwner() -
getTableName
-
getPermissions
public int getPermissions() -
setPermissions
public void setPermissions(int permissions) -
setTableName
-
getCreationTimeColumnName
returns PersonalLayerInfo.CREATION_TIME_ATTRIBUTE- Returns:
- creation time column name for editable VectorLayers
-
getModificationTimeColumnName
returns PersonalLayerInfo.MODIFICATION_TIME_ATTRIBUTE- Returns:
- modificationTime column name for editable VectorLayers
-
getAuthorColumnName
returns PersonalLayerInfo.AUTHOR_ATTRIBUTE- Returns:
- author column name for editable VectorLayers
-
setCreationTimeColumnName
Should not be called as this method does nothing for PersonalLayerInfo, CREATION_TIME_ATTRIBUTE is always used- Parameters:
creationTimeColumnName- for editable VectorLayers
-
setModificationTimeColumnName
Should not be called as this method does nothing for PersonalLayerInfo, MODIFICATION_TIME_ATTRIBUTE is always used- Parameters:
modificationTimeColumnName- for editable VectorLayers
-
setAuthorColumnName
Should not be called as this method does nothing for PersonalLayerInfo, AUTHOR_ATTRIBUTE is always used- Parameters:
authorColumnName- for editable VectorLayers
-
getAcl
- Specified by:
getAclin interfaceIVectorLayer- Overrides:
getAclin classVectorLayerInfo- Returns:
- acl for VectorLayers
-