Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


oracle.irm.engine.types.core.desktop
Class Desktop

java.lang.Object
  extended by oracle.irm.engine.types.core.desktop.Desktop

All Implemented Interfaces:
Serializable

public class Desktop
extends Object
implements Serializable

Desktop type. A desktop object contains all the information relating to the desktop. This information is passed to server side operations during license requests or synchronizations.

XML Serialization

Desktop instances can be serialized as an XML document. This XML document can also be used to recreate a Desktop object. The following XML document shows an example Desktop in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:Desktop xmlns:core="http://xmlns.oracle.com/irm/core">
    <uuid>70678535-0a6f-4cf9-9411-2c05ed8d989</uuid>
    <version>
        <version>11.1.1</version>
    </version>
    <operatingSystem>Microsoft XP SP 2</operatingSystem>
    <locale>en</locale>
    <device>
        <uuid>a7352732-dcd0-43af-93c5-0cbc7c1f203d</uuid>
        <name>machine</name>
    </device>
    <application>
        <name>desktop</name>
        <container>browser</container>
    </application>
    <timeStamp>2007-01-01T12:00:00.000+01:00</timeStamp>
</core:Desktop>

See Also:
Serialized Form

Constructor Summary
Desktop()
          No argument constructor.
Desktop(UUID uuid, ProductVersion version, String operatingSystem, Locale locale, Device device, DesktopApplication application, Date timeStamp)
          Constructor.

 

Method Summary
 DesktopApplication getApplication()
          The application that is in-use.
 Device getDevice()
          The device associated with the desktop.
 Locale getLocale()
          The desktop locale.
 String getOperatingSystem()
          The desktop operating system.
 Date getTimeStamp()
          The desktop time stamp.
 UUID getUuid()
          The globally unique desktop UUID.
 ProductVersion getVersion()
          The desktop product version.
 void setApplication(DesktopApplication value)
          The application that is in-use.
 void setDevice(Device value)
          The device associated with the desktop.
 void setLocale(Locale value)
          The desktop locale.
 void setOperatingSystem(String value)
          The desktop operating system.
 void setTimeStamp(Date value)
          The desktop time stamp.
 void setUuid(UUID value)
          The globally unique desktop UUID.
 void setVersion(ProductVersion value)
          The desktop product version.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Desktop

public Desktop()
No argument constructor.

Desktop

public Desktop(UUID uuid,
               ProductVersion version,
               String operatingSystem,
               Locale locale,
               Device device,
               DesktopApplication application,
               Date timeStamp)
Constructor.

Method Detail

getUuid

public UUID getUuid()
The globally unique desktop UUID. The desktop UUID is used to identify a particular desktop independently of the product version number. There may or may not be a one to one mapping between version numbers and the UUID. The UUID can be used to identify a particular desktop version or variant.
Returns:
the value of the property.

setUuid

public void setUuid(UUID value)
The globally unique desktop UUID. The desktop UUID is used to identify a particular desktop independently of the product version number. There may or may not be a one to one mapping between version numbers and the UUID. The UUID can be used to identify a particular desktop version or variant.
Parameters:
value - the new value for the property.

getVersion

public ProductVersion getVersion()
The desktop product version. Useful to monitor what versions of desktop are being used.
Returns:
the value of the property.

setVersion

public void setVersion(ProductVersion value)
The desktop product version. Useful to monitor what versions of desktop are being used.
Parameters:
value - the new value for the property.

getOperatingSystem

public String getOperatingSystem()
The desktop operating system. Useful to monitor where the desktop is being used.
Returns:
the value of the property.

setOperatingSystem

public void setOperatingSystem(String value)
The desktop operating system. Useful to monitor where the desktop is being used.
Parameters:
value - the new value for the property.

getLocale

public Locale getLocale()
The desktop locale. Used to provide localized responses in desktop bundles.
Returns:
the value of the property.

setLocale

public void setLocale(Locale value)
The desktop locale. Used to provide localized responses in desktop bundles.
Parameters:
value - the new value for the property.

getDevice

public Device getDevice()
The device associated with the desktop. The device is a unique way of identifying where licenses can be stored or sent.
Returns:
the value of the property.

setDevice

public void setDevice(Device value)
The device associated with the desktop. The device is a unique way of identifying where licenses can be stored or sent.
Parameters:
value - the new value for the property.

getApplication

public DesktopApplication getApplication()
The application that is in-use. The desktop covers potentially many applications, this information gives details to which application was being used on the desktop.
Returns:
the value of the property.

setApplication

public void setApplication(DesktopApplication value)
The application that is in-use. The desktop covers potentially many applications, this information gives details to which application was being used on the desktop.
Parameters:
value - the new value for the property.

getTimeStamp

public Date getTimeStamp()
The desktop time stamp.
Returns:
the value of the property.

setTimeStamp

public void setTimeStamp(Date value)
The desktop time stamp.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


Copyright © 2010, Oracle. All rights reserved.