def status_getter(): return self.antioch.get( uri=util.endpoint_uri(self.endpoint, uuid, 'text', 'status'))
def getter(): return self.antioch.get( util.endpoint_uri(self.endpoint, uuid, 'text', 'xml'))
def resource_state_uri(self, uuid): return util.endpoint_uri(self.endpoint, uuid, self.state)
def setter(): return self.antioch.put_data(uri=util.endpoint_uri( self.endpoint, uuid, 'text'), data=xml)
def getter(): return self.antioch.get(util.endpoint_uri(self.endpoint, uuid))
def updater(): return self.antioch.put(uri=util.endpoint_uri(self.endpoint, uuid), data=proto.entity)
def updater(): import uuid as uuid_mod annotation_uuid = uuid_mod.uuid1() return self.antioch.put(uri=util.endpoint_uri( self.endpoint, uuid, 'text', 'annotations', annotation_uuid), data=text_annotation.entity)
def poster(): return self.antioch.post(uri=util.endpoint_uri( 'commands', 'add-unique-id'), data=cargo)
def updater(): return self.antioch.put(uri=util.endpoint_uri( self.endpoint, uuid, 'annotators', annotator.name), data=annotator.entity)
def getter(): return self.antioch.get( util.endpoint_uri(self.endpoint, uuid, 'annotators'))
def updater(): return self.antioch.put(uri=util.endpoint_uri( self.endpoint, uuid, 'text', 'views', name), data=view.entity)
def getter(): return self.antioch.get( util.endpoint_uri(self.endpoint, uuid, 'text', 'xml') + "?view=" + view_name)
def status_getter(): return self.antioch.get(uri=util.endpoint_uri(self.endpoint, self.uuid, 'text', 'status'))
def poster(): return self.post(util.endpoint_uri('commands', 'xpath'), entity)