Class BookmarksServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.BookmarksServiceImpl
-
- All Implemented Interfaces:
Service
,BookmarksService
public class BookmarksServiceImpl extends ServiceImpl implements BookmarksService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.BookmarksService
BookmarksService.AddRequest, BookmarksService.AddResponse, BookmarksService.ListRequest, BookmarksService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description BookmarksServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BookmarksService.AddRequest
add()
Adding a new bookmark.BookmarkService
bookmarkService(String id)
A reference to the service managing a specific bookmark.BookmarksService.ListRequest
list()
Listing all the available bookmarks.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
BookmarksServiceImpl
public BookmarksServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public BookmarksService.AddRequest add()
Description copied from interface:BookmarksService
Adding a new bookmark. Example of adding a bookmark: [source] ---- POST /ovirt-engine/api/bookmarks ---- [source,xml] ----new_example_vm vm: name=new_example* - Specified by:
add
in interfaceBookmarksService
-
list
public BookmarksService.ListRequest list()
Description copied from interface:BookmarksService
Listing all the available bookmarks. Example of listing bookmarks: [source] ---- GET /ovirt-engine/api/bookmarks ---- [source,xml] ----database vm: name=database* example vm: name=example* - Specified by:
list
in interfaceBookmarksService
-
bookmarkService
public BookmarkService bookmarkService(String id)
Description copied from interface:BookmarksService
A reference to the service managing a specific bookmark.- Specified by:
bookmarkService
in interfaceBookmarksService
-
service
public Service service(String path)
Description copied from interface:BookmarksService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceBookmarksService
-
-