List of usage examples for java.util UUID toString
public String toString()
From source file:org.ovirt.engine.sdk.decorators.VMSnapshotNics.java
/** * Fetches VMSnapshotNIC object by id./*from w w w . j a v a 2s. c o m*/ * * @return * {@link VMSnapshotNIC } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public VMSnapshotNIC get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.NIC.class, VMSnapshotNIC.class); }
From source file:org.ovirt.engine.sdk.decorators.StorageDomainDiskStatistics.java
/** * Fetches StorageDomainDiskStatistic object by id. * * @return//from w w w . ja v a 2 s . c o m * {@link StorageDomainDiskStatistic } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public StorageDomainDiskStatistic get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Statistic.class, StorageDomainDiskStatistic.class); }
From source file:org.ovirt.engine.sdk.decorators.StorageDomainTemplateDisks.java
/** * Fetches StorageDomainTemplateDisk object by id. * * @return/*from w w w.j a v a 2s . c om*/ * {@link StorageDomainTemplateDisk } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public StorageDomainTemplateDisk get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Disk.class, StorageDomainTemplateDisk.class); }
From source file:org.ovirt.engine.sdk.decorators.Bookmarks.java
/** * Fetches Bookmark object by id./*from w w w . j av a 2 s . co m*/ * * @return {@link Bookmark } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public Bookmark get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Bookmark.class, Bookmark.class); }
From source file:org.ovirt.engine.sdk.decorators.Domains.java
/** * Fetches Domain object by id.//from www .j a va2 s. c o m * * @return {@link Domain } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public Domain get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Domain.class, Domain.class); }
From source file:org.ovirt.engine.sdk.decorators.ClusterGlusterVolumeStatistics.java
/** * Fetches ClusterGlusterVolumeStatistic object by id. * * @return/* w w w . j a v a2 s. co m*/ * {@link ClusterGlusterVolumeStatistic } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public ClusterGlusterVolumeStatistic get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.Statistic.class, ClusterGlusterVolumeStatistic.class); }
From source file:org.ovirt.engine.sdk.decorators.DataCenterClusterGlusterHooks.java
/** * Fetches DataCenterClusterGlusterHook object by id. * * @return/*from w w w . j a v a 2s .co m*/ * {@link DataCenterClusterGlusterHook } * * @throws ClientProtocolException * Signals that HTTP/S protocol error has occurred. * @throws ServerException * Signals that an oVirt api error has occurred. * @throws IOException * Signals that an I/O exception of some sort has occurred. */ @Override public DataCenterClusterGlusterHook get(UUID id) throws ClientProtocolException, ServerException, IOException { String url = this.parent.getHref() + SLASH + getName() + SLASH + id.toString(); return getProxy().get(url, org.ovirt.engine.sdk.entities.GlusterHook.class, DataCenterClusterGlusterHook.class); }
From source file:org.energyos.espi.common.repositories.jpa.ElectricPowerUsageSummaryRepositoryImpl.java
@Override public ElectricPowerUsageSummary findByUUID(UUID uuid) { return (ElectricPowerUsageSummary) em.createNamedQuery(ElectricPowerUsageSummary.QUERY_FIND_BY_UUID) .setParameter("uuid", uuid.toString().toUpperCase()).getSingleResult(); }
From source file:org.magnum.dataup.controller.VideoSvc.java
/*** * Get physic url of video/*from w w w . j a v a2 s .c o m*/ * @return Video's url */ private String getDataUrl() { java.util.UUID uid = java.util.UUID.randomUUID(); String url = getUrlBaseForLocalServer() + "/video/" + uid.toString() + "/data"; return url; }
From source file:me.st28.flexseries.flexcore.cookie.CookieManager.java
@Override public boolean loadPlayer(UUID uuid, String name, PlayerLoadCycle cycle) { loadEntry(uuid.toString()); PlayerLoadCycle.completedCycle(cycle, this); return true;// www. ja v a 2 s . c o m }