Class BookmarkServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.BookmarkServiceImpl
-
- All Implemented Interfaces:
Service
,BookmarkService
public class BookmarkServiceImpl extends ServiceImpl implements BookmarkService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.BookmarkService
BookmarkService.GetRequest, BookmarkService.GetResponse, BookmarkService.RemoveRequest, BookmarkService.RemoveResponse, BookmarkService.UpdateRequest, BookmarkService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description BookmarkServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarkService.GetRequest
get()
Get a bookmark.BookmarkService.RemoveRequest
remove()
Remove a bookmark.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
BookmarkService.UpdateRequest
update()
Update a bookmark.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
BookmarkServiceImpl
public BookmarkServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public BookmarkService.GetRequest get()
Description copied from interface:BookmarkService
Get a bookmark. An example for getting a bookmark: [source] ---- GET /ovirt-engine/api/bookmarks/123 ---- [source,xml] ----example_vm vm: name=example* - Specified by:
get
in interfaceBookmarkService
-
remove
public BookmarkService.RemoveRequest remove()
Description copied from interface:BookmarkService
Remove a bookmark. An example for removing a bookmark: [source] ---- DELETE /ovirt-engine/api/bookmarks/123 ----- Specified by:
remove
in interfaceBookmarkService
-
update
public BookmarkService.UpdateRequest update()
Description copied from interface:BookmarkService
Update a bookmark. An example for updating a bookmark: [source] ---- PUT /ovirt-engine/api/bookmarks/123 ---- With the request body: [source,xml] ----new_example_vm vm: name=new_example* - Specified by:
update
in interfaceBookmarkService
-
service
public Service service(String path)
Description copied from interface:BookmarkService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceBookmarkService
-
-