@Deprecated public class OTObject extends Object implements Comparable<OTObject>, IOTObject
Modifier and Type | Field and Description |
---|---|
protected org.restlet.data.Reference |
dataset_service
Deprecated.
|
protected boolean |
forbidden
Deprecated.
|
protected org.restlet.data.Form |
form
Deprecated.
|
protected String |
name
Deprecated.
|
protected long |
pollInterval
Deprecated.
|
protected long |
pollTimeout
Deprecated.
|
protected boolean |
selected
Deprecated.
|
protected org.restlet.data.Reference |
service
Deprecated.
|
protected org.restlet.data.Reference |
uri
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
OTObject()
Deprecated.
|
protected |
OTObject(org.restlet.data.Reference ref)
Deprecated.
|
protected |
OTObject(String ref)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(OTObject o)
Deprecated.
|
OTObject |
create()
Deprecated.
|
boolean |
delete()
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
void |
get(String mediaType)
Deprecated.
|
org.restlet.data.Reference |
getDataset_service()
Deprecated.
|
String |
getName()
Deprecated.
|
IOTObject |
getPage(int page,
int pageSize)
Deprecated.
|
static org.restlet.data.Reference |
getPagedReference(org.restlet.data.Reference uri,
int page,
int pageSize)
Deprecated.
|
org.restlet.data.Reference |
getUri()
Deprecated.
|
boolean |
isForbidden()
Deprecated.
|
boolean |
isSelected()
Deprecated.
|
static OTObject |
object(org.restlet.data.Reference datasetURI)
Deprecated.
|
static OTObject |
object(String datasetURI)
Deprecated.
|
OTObject |
post(com.hp.hpl.jena.rdf.model.Model jenaModel)
Deprecated.
|
OTObject |
post(org.restlet.representation.Representation representation,
org.restlet.data.MediaType mediatype)
Deprecated.
|
protected OTObject |
put(com.hp.hpl.jena.rdf.model.Model jenaModel)
Deprecated.
|
OTObject |
readTextLineAsName()
Deprecated.
|
protected OTObject |
send(com.hp.hpl.jena.rdf.model.Model jenaModel,
boolean post)
Deprecated.
|
protected OTObject |
send(org.restlet.representation.Representation r,
org.restlet.data.MediaType mediatype,
boolean post)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setSelected(boolean value)
Deprecated.
|
String |
toString()
Deprecated.
|
protected OTRemoteTask |
wait(OTRemoteTask task,
long now)
Deprecated.
|
OTObject |
withName(String name)
Deprecated.
|
OTObject |
withParams(org.restlet.data.Form form)
Deprecated.
|
OTObject |
withParams(String name,
String value)
Deprecated.
|
protected final transient org.restlet.data.Reference uri
protected transient org.restlet.data.Reference service
protected transient org.restlet.data.Reference dataset_service
protected boolean selected
protected boolean forbidden
protected String name
protected org.restlet.data.Form form
protected long pollInterval
protected long pollTimeout
protected OTObject(org.restlet.data.Reference ref)
protected OTObject(String ref)
protected OTObject()
public void setName(String name)
public org.restlet.data.Reference getDataset_service()
public static OTObject object(org.restlet.data.Reference datasetURI) throws Exception
Exception
public static OTObject object(String datasetURI) throws Exception
Exception
public org.restlet.data.Reference getUri()
protected OTRemoteTask wait(OTRemoteTask task, long now) throws Exception
Exception
public OTObject withParams(org.restlet.data.Form form) throws Exception
Exception
public OTObject withParams(String name, String value) throws Exception
Exception
public int compareTo(OTObject o)
compareTo
in interface Comparable<OTObject>
public OTObject readTextLineAsName() throws Exception
Exception
public static org.restlet.data.Reference getPagedReference(org.restlet.data.Reference uri, int page, int pageSize) throws Exception
Exception
public boolean isSelected()
isSelected
in interface IOTObject
public void setSelected(boolean value)
setSelected
in interface IOTObject
protected OTObject put(com.hp.hpl.jena.rdf.model.Model jenaModel) throws Exception
Exception
public OTObject post(com.hp.hpl.jena.rdf.model.Model jenaModel) throws Exception
Exception
public OTObject post(org.restlet.representation.Representation representation, org.restlet.data.MediaType mediatype) throws Exception
Exception
protected OTObject send(com.hp.hpl.jena.rdf.model.Model jenaModel, boolean post) throws Exception
jenaModel
- post
- true POST , false PUTException
protected OTObject send(org.restlet.representation.Representation r, org.restlet.data.MediaType mediatype, boolean post) throws Exception
jenaModel
- post
- true POST , false PUTException
public boolean isForbidden()
isForbidden
in interface IOTObject
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.