public interface AttachmentAndMetadata
Modifier and Type | Method and Description |
---|---|
AttachmentInfo |
addAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, Attachment attachment)
Related to the attachment for feature.
|
boolean |
deleteAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Delete the attachment related to feature.
|
Attachment |
getAttachement(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Gets the attachment data according to the attachment ID.
|
java.util.List<AttachmentInfo> |
getAttachmentInfos(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the attachment info list related to feature.
|
FeatureMetadata |
getFeatureMetadata(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the feature meta info.
|
boolean |
supportAttachments(java.lang.String datasourceName, java.lang.String datasetName)
Whether the dataset attachment is enable.
|
boolean |
supportFeatureMetadatas(java.lang.String datasourceName, java.lang.String datasetName)
Whether this dataset feature supports the metadata info.
|
java.util.List<AttachmentInfo> getAttachmentInfos(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the attachment info list related to feature.
dataSourceName
- Data source name.datasetInfo
- Data set name.featureId
- Feature ID.AttachmentInfo addAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, Attachment attachment)
Related to the attachment for feature.
dataSourceName
- Data source name.datasetInfo
- Data set name.featureId
- Feature ID.attachment
- Attachment content.Attachment getAttachement(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Gets the attachment data according to the attachment ID.
dataSourceName
- Data source name.datasetInfo
- Data set name.id
- Attachment IDboolean supportAttachments(java.lang.String datasourceName, java.lang.String datasetName)
Whether the dataset attachment is enable.
datasourceName
-datasetName
-boolean deleteAttachment(java.lang.String datasourceName, java.lang.String datasetName, int featureId, int id)
Delete the attachment related to feature.
datasourceName
-datasetName
-featureId
-id
-boolean supportFeatureMetadatas(java.lang.String datasourceName, java.lang.String datasetName)
Whether this dataset feature supports the metadata info.
datasourceName
-datasetName
-FeatureMetadata getFeatureMetadata(java.lang.String datasourceName, java.lang.String datasetName, int featureId)
Gets the feature meta info.
dataSourceName
- Data source name.datasetInfo
- Data set name.