|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.datastore.sql.transaction.delete.FeatureGraph
public class FeatureGraph
Used to determine the structure of features and subfeatures that have to be deleted by a Delete operation.
When features are selected for deletion, all of their descendant subfeatures will be deleted as well, except for those features that have superfeatures which are not descendants of the features to be deleted.
DeleteHandler,
FeatureNode| Constructor Summary | |
|---|---|
FeatureGraph(List<FeatureId> rootFids,
DeleteHandler handler)
Creates a new FeatureGraph instance for the given root FeatureIds and the specified
DeleteHandler. |
|
FeatureGraph(Set<FeatureId> rootFids,
LockHandler handler)
Creates a new FeatureGraph instance for the given root FeatureIds and the specified
LockHandler. |
|
| Method Summary | |
|---|---|
Set<FeatureId> |
getAllFids()
Returns the FeatureIds of all features contained in the graph. |
(package private) FeatureNode |
getNode(FeatureId fid)
Returns the FeatureNode that represents the feature with the given FeatureId. |
(package private) List<FeatureNode> |
getRootNodes()
Returns the FeatureNodes that represent all root features that have been targeted for deletion. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
FeatureGraph(List<FeatureId> rootFids,
DeleteHandler handler)
throws DatastoreException
FeatureGraph instance for the given root FeatureIds and the specified
DeleteHandler.
rootFids - ids of the feature instances to be deletedhandler - associated DeleteHandler
DatastoreException
public FeatureGraph(Set<FeatureId> rootFids,
LockHandler handler)
throws DatastoreException
FeatureGraph instance for the given root FeatureIds and the specified
LockHandler.
rootFids - ids of the feature instances to be lockedhandler - associated LockHandler
DatastoreException| Method Detail |
|---|
public Set<FeatureId> getAllFids()
FeatureIds of all features contained in the graph.
FeatureIds of all features contained in the graphFeatureNode getNode(FeatureId fid)
FeatureNode that represents the feature with the given FeatureId.
fid - id of the feature to look up
FeatureNode if it exists in the graph, null otherwiseList<FeatureNode> getRootNodes()
FeatureNodes that represent all root features that have been targeted for deletion.
FeatureNode representing all root featurespublic String toString()
toString in class Object
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org