Package org.gvsig.remoteclient.wfs
Class WFSStatus
java.lang.Object
org.gvsig.remoteclient.RemoteClientStatus
org.gvsig.remoteclient.wfs.WFSStatus
public class WFSStatus
extends org.gvsig.remoteclient.RemoteClientStatus
The status of the current WFS connection
- Author:
- Jorge Piera LlodrĂ¡ (piera_jor@gva.es)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe value hits indicates that a web feature service should process the GetFeature request and rather than return the entire result set, it should simply indicate the number of feature instance of the requested feature type(s) that satisfy the request.static final intThe default value results indicates that a web feature service should generate a complete response that contains all the features that satisfy the request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFeatureLocked(String lockId) Adds a new IdvoidaddFeatureToLock(String idFeature) Adds a new feature lockedvoidaddFeatureToLock(String propertyName, String propertyValue) Adds a new feature lockedintgetFeatureLockedAt(int i) Gets an identifier tha is blockedintintgetFeatureToLockAt(int i) Gets an identifier of a feature that is blockedString[]intvoidvoidRemove all the features to lockvoidvoidvoidsetExpiry(int expiry) voidsetFeatureName(String featureName) voidvoidvoidsetFilterByArea(org.gvsig.fmap.geom.Geometry geometry, String attributeName, String srs, Integer operation) voidsetFilterByArea(org.gvsig.fmap.geom.primitive.Envelope envelope, String attributeName, String srs, Integer operation) voidsetFilterByAttribute(String filterQuery) voidSet the lock action to allvoidSet teh lock action to somevoidsetLockedArea(Rectangle2D lockedArea, String lockedAreaProperty) voidsetMaxFeatures(Integer buffer) voidsetNamespaceLocation(String namespaceLocation) voidsetNamespacePrefix(String namespacePrefix) voidsetOnlineResource(String url) voidsetPassword(String password) voidsetResultType(int resultType) voidsetTimeout(Integer timeout) voidsetUserName(String userName) Methods inherited from class org.gvsig.remoteclient.RemoteClientStatus
getExceptionFormat, getFormat, getHeight, getInfoFormat, getProtocol, getSrs, getWidth, setExceptionFormat, setFormat, setHeight, setInfoFormat, setProtocol, setSrs, setWidth
-
Field Details
-
RESULTYPE_RESULTS
public static final int RESULTYPE_RESULTSThe default value results indicates that a web feature service should generate a complete response that contains all the features that satisfy the request.- See Also:
-
RESULTYPE_HITS
public static final int RESULTYPE_HITSThe value hits indicates that a web feature service should process the GetFeature request and rather than return the entire result set, it should simply indicate the number of feature instance of the requested feature type(s) that satisfy the request.- See Also:
-
-
Constructor Details
-
WFSStatus
-
WFSStatus
-
-
Method Details
-
getMaxFeatures
- Returns:
- Returns the buffer.
-
setMaxFeatures
- Parameters:
buffer- The buffer to set.
-
getFeatureName
- Returns:
- Returns the featureName.
-
getFeatureFullName
-
setFeatureName
- Parameters:
featureName- The featureName to set.
-
getFields
- Returns:
- Returns the fields.
-
setFields
- Parameters:
fields- The fields to set.
-
setFields
-
getPassword
- Returns:
- Returns the password.
-
setPassword
- Parameters:
password- The password to set.
-
getTimeout
- Returns:
- Returns the timeout.
-
setTimeout
- Parameters:
timeout- The timeout to set.
-
getUserName
- Returns:
- Returns the userName.
-
setUserName
- Parameters:
userName- The userName to set.
-
getOnlineResource
-
setOnlineResource
-
getFilterByAttribute
- Returns:
- Returns the filterQuery.
-
setFilterByAttribute
- Parameters:
filterQuery- The filterQuery to set.
-
setFilterByArea
public void setFilterByArea(org.gvsig.fmap.geom.Geometry geometry, String attributeName, String srs, Integer operation) - Parameters:
operation- The geometric operation to apply. It has to be a value fromAbstractFilterfilterByArea- the filterByArea to set
-
removeFilterByArea
public void removeFilterByArea() -
removeFilterByAttribute
public void removeFilterByAttribute() -
removeAllFilters
public void removeAllFilters() -
setFilterByArea
public void setFilterByArea(org.gvsig.fmap.geom.primitive.Envelope envelope, String attributeName, String srs, Integer operation) - Parameters:
operation- The geometric operation to apply. It has to be a value fromAbstractFilterfilterByArea- the filterByArea to set
-
getFilterByArea
- Returns:
- the filterByArea
-
getFilterQueryLocked
- Returns:
- the filterQueryLocked
-
getFilterQueryLockedPost
- Returns:
- the filterQueryLocked
-
getExpiry
public int getExpiry()- Returns:
- the expiry
-
setExpiry
public void setExpiry(int expiry) - Parameters:
expiry- the expiry to set
-
getLockAction
- Returns:
- the lockAction
-
setLockActionToAll
public void setLockActionToAll()Set the lock action to all -
setLockActionToSome
public void setLockActionToSome()Set teh lock action to some -
createNewTransaction
-
getTransaction
-
getFeaturesToLockSize
public int getFeaturesToLockSize()- Returns:
- the neumber of features blocked
-
getFeatureToLockAt
Gets an identifier of a feature that is blocked- Parameters:
i- The id position- Returns:
- The Id
-
removeFeaturesToLock
public void removeFeaturesToLock()Remove all the features to lock -
addFeatureToLock
Adds a new feature locked- Parameters:
idFeature- the feature id
-
addFeatureToLock
Adds a new feature locked- Parameters:
idFeature- the feature id
-
getFeaturesLocked
public int getFeaturesLocked()- Returns:
- the idsLocked size
-
getFeatureLockedAt
Gets an identifier tha is blocked- Parameters:
i- The id position- Returns:
- The Id
-
addFeatureLocked
Adds a new Id- Parameters:
idLocked- the idLocked to add
-
getLockedArea
- Returns:
- the lockedArea
-
setLockedArea
- Parameters:
lockedArea- the lockedArea to set
-
getNamespacePrefix
- Returns:
- the namespace prefix
-
getNamespaceLocation
- Returns:
- the namespace URL
-
setNamespacePrefix
- Parameters:
namespaceprefix- the namespaceprefix to set
-
setNamespaceLocation
- Parameters:
namespace- the namespace to set
-
getResultType
public int getResultType()- Returns:
- the resultType
-
setResultType
public void setResultType(int resultType) - Parameters:
resultType- the resultType to set
-