com.plumtree.remote.prc
Interface IJobProperties

All Known Implementing Classes:
JobPropertiesWrapper

public interface IJobProperties

Interface that handles job properties.


Method Summary
 java.util.Date getDateValue(int propertyID)
          Gets a job property as a date.
 double getDoubleValue(int propertyID)
          Gets a job property as a double.
 int[] getIDs()
          Gets the available property IDs.
 int getIntegerValue(int propertyID)
          Gets a job property as an int.
 java.lang.String getStringValue(int propertyID)
          Gets a job property as a String.
 java.lang.Object getValue(int propertyID)
          Gets a job property as an Object.
 boolean hasValue(int propertyID)
          Determines whether a specific value is present.
 

Method Detail

getIDs

public int[] getIDs()
Gets the available property IDs.

Returns:
the available property IDs, an empty array if none exist

getValue

public java.lang.Object getValue(int propertyID)
Gets a job property as an Object.

Parameters:
propertyID - the ID of the property for which to get a value
Returns:
the job property value

getStringValue

public java.lang.String getStringValue(int propertyID)
Gets a job property as a String.

Parameters:
propertyID - the ID of the property for which to get a value
Returns:
the job property value
Throws:
java.lang.ClassCastException - if the property type is not a String

getIntegerValue

public int getIntegerValue(int propertyID)
Gets a job property as an int.

Parameters:
propertyID - the property ID for which to get a value
Returns:
the job property value
Throws:
java.lang.ClassCastException - if the property type is not an int

getDateValue

public java.util.Date getDateValue(int propertyID)
Gets a job property as a date.

Parameters:
propertyID - the property ID for which to get a value
Returns:
the job property value
Throws:
java.lang.ClassCastException - if the property type is not a date

getDoubleValue

public double getDoubleValue(int propertyID)
Gets a job property as a double.

Parameters:
propertyID - the ID of the job property for which to get a value
Returns:
the job property value
Throws:
java.lang.ClassCastException - if the property type is not a double

hasValue

public boolean hasValue(int propertyID)
Determines whether a specific value is present.

Parameters:
propertyID - the ID of the property to check
Returns:
true if and only if the value is present


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.