Revision 28676 branches/v2_0_0_prep/libraries/libFMap_daldb/src/org/gvsig/fmap/dal/store/postgresql/PostgreSQLStoreProvider.java
PostgreSQLStoreProvider.java | ||
---|---|---|
51 | 51 |
import org.gvsig.fmap.dal.exception.ReadException; |
52 | 52 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
53 | 53 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
54 |
import org.gvsig.fmap.dal.feature.Feature; |
|
55 | 54 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
56 | 55 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
57 | 56 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
... | ... | |
590 | 589 |
} |
591 | 590 |
} |
592 | 591 |
|
593 |
private void loadMetadata() throws DataException {
|
|
592 |
protected void loadMetadata() throws DataException {
|
|
594 | 593 |
IProjection srs = params.getSRS(); |
595 | 594 |
|
596 | 595 |
if (srs == null) { |
... | ... | |
662 | 661 |
totalCount = null; |
663 | 662 |
} |
664 | 663 |
|
665 |
// ************************************************************************************// |
|
664 |
public long getFeatureCount() throws DataException { |
|
665 |
return getCount(null); |
|
666 |
} |
|
666 | 667 |
|
667 |
|
|
668 |
// ************************************************************************************// |
|
669 |
|
|
670 |
|
|
671 | 668 |
public boolean supportsAppendMode() { |
672 |
// TODO Auto-generated method stub |
|
673 | 669 |
return false; |
674 | 670 |
} |
675 | 671 |
|
676 |
public PersistentState getState() throws PersistenceException { |
|
677 |
// TODO Auto-generated method stub |
|
678 |
return null; |
|
679 |
} |
|
680 | 672 |
|
681 |
public void loadState(PersistentState state) throws PersistenceException { |
|
682 |
// TODO Auto-generated method stub |
|
673 |
public void endAppend() throws DataException { |
|
674 |
// FIXME exception |
|
675 |
throw new UnsupportedOperationException(); |
|
683 | 676 |
|
684 | 677 |
} |
685 | 678 |
|
686 |
public void loadFromState(PersistentState state) throws PersistenceException { |
|
687 |
// TODO Auto-generated method stub |
|
679 |
public void append(FeatureData featureData) throws DataException { |
|
680 |
// FIXME exception |
|
681 |
throw new UnsupportedOperationException(); |
|
688 | 682 |
|
689 | 683 |
} |
690 | 684 |
|
685 |
public void beginAppend() throws DataException { |
|
686 |
// FIXME exception |
|
687 |
throw new UnsupportedOperationException(); |
|
688 |
} |
|
691 | 689 |
|
692 |
public void endAppend() throws DataException { |
|
693 |
// TODO Auto-generated method stub |
|
690 |
// ************************************************************************************// |
|
694 | 691 |
|
695 |
} |
|
696 | 692 |
|
693 |
// ************************************************************************************// |
|
697 | 694 |
|
698 |
public void append(Feature feature) throws DataException { |
|
695 |
|
|
696 |
|
|
697 |
public PersistentState getState() throws PersistenceException { |
|
699 | 698 |
// TODO Auto-generated method stub |
700 |
|
|
699 |
return null; |
|
701 | 700 |
} |
702 | 701 |
|
703 |
public void beginAppend() throws DataException {
|
|
702 |
public void loadState(PersistentState state) throws PersistenceException {
|
|
704 | 703 |
// TODO Auto-generated method stub |
705 | 704 |
|
706 | 705 |
} |
707 | 706 |
|
708 |
public long getFeatureCount() throws DataException { |
|
709 |
return getCount(null); |
|
707 |
public void loadFromState(PersistentState state) |
|
708 |
throws PersistenceException { |
|
709 |
// TODO Auto-generated method stub |
|
710 |
|
|
710 | 711 |
} |
711 | 712 |
|
712 | 713 |
/* (non-Javadoc) |
Also available in: Unified diff