mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Feature #1304: Remove extra Document type arguments from Java OCA
This commit is contained in:
parent
718030e5f7
commit
f607d0ea74
@ -185,8 +185,7 @@ class DocumentChown : public RequestManagerChown
|
||||
public:
|
||||
DocumentChown():
|
||||
RequestManagerChown("DocumentChown",
|
||||
"Changes ownership of a generic document",
|
||||
"A:siiii")
|
||||
"Changes ownership of a generic document")
|
||||
{
|
||||
Nebula& nd = Nebula::instance();
|
||||
pool = nd.get_docpool();
|
||||
|
@ -116,7 +116,7 @@ public abstract class Document extends PoolElement
|
||||
*/
|
||||
public OneResponse info()
|
||||
{
|
||||
return client.call(INFO, id, type());
|
||||
return client.call(INFO, id);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -126,7 +126,7 @@ public abstract class Document extends PoolElement
|
||||
*/
|
||||
public OneResponse delete()
|
||||
{
|
||||
return client.call(DELETE, id, type());
|
||||
return client.call(DELETE, id);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -137,7 +137,7 @@ public abstract class Document extends PoolElement
|
||||
*/
|
||||
public OneResponse update(String new_document)
|
||||
{
|
||||
return client.call(UPDATE, id, new_document, type());
|
||||
return client.call(UPDATE, id, new_document);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -162,7 +162,7 @@ public abstract class Document extends PoolElement
|
||||
*/
|
||||
public OneResponse chown(int uid, int gid)
|
||||
{
|
||||
return client.call(CHOWN, id, uid, gid, type());
|
||||
return client.call(CHOWN, id, uid, gid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user