Ticket #496 (closed Defect: fixed)
Core API: remove "clientState" where not needed
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.2 |
Component: | DeepaMehta Standard Distribution | Version: | 4.1 |
Keywords: | Cc: | dgf, Malte | |
Complexity: | 2 | Area: | Application Framework / API |
Module: | deepamehta-core |
Description
Meanwhile the Core API's get/retrieval methods doesn't need the clientState parameter anymore. It should be dropped.
Change History
comment:2 Changed 11 years ago by jri
Core API: remove "clientState" parameter (#496).
BREAKING CHANGE
The clientState parameter is dropped from the Core API's and standard plugin service's get/retrieve/delete methods.
- getTopic(long id, boolean fetchComposite)
- getTopic(String key, SimpleValue? value, boolean fetchComposite)
- getTopics(String key, SimpleValue? value, boolean fetchComposite)
- getTopics(String topicTypeUri, boolean fetchComposite, int maxResultSize)
- searchTopics(String searchTerm, String fieldUri)
- deleteTopic(long topicId)
- getAssociation(long assocId, boolean fetchComposite)
- getAssociation(String assocTypeUri, long topic1Id, long topic2Id,
String roleTypeUri1, String roleTypeUri2, boolean fetchComposite)
- getAssociationBetweenTopicAndAssociation(String assocTypeUri, long topicId, long assocId,
String topicRoleTypeUri, String assocRoleTypeUri, boolean fetchComposite)
- deleteAssociation(long assocId)
- getTopicType(String topicTypeUri)
- getAssociationType(String assocTypeUri)
- getAllTopicTypes()
- getAllAssociationTypes()
- getRelatedTopic(String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri,
boolean fetchComposite, boolean fetchRelatingComposite)
- getRelatedTopics(String assocTypeUri, int maxResultSize)
- getRelatedTopics(String assocTypeUri, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri,
boolean fetchComposite, boolean fetchRelatingComposite, int maxResultSize)
- getRelatedTopics(List assocTypeUris, String myRoleTypeUri, String othersRoleTypeUri, String othersTopicTypeUri,
boolean fetchComposite, boolean fetchRelatingComposite, int maxResultSize)
- Topicmap getTopicmap(long topicmapId)
- Topic getGeoTopic(long topicId)
=> If your plugin uses these methods it must be adapted.
See #496.
Changeset: 38369180c4237d9cf7c43bc627a18e1c663b5640