Content Manager OnDemand V8.5 WEK APIs

com.ibm.edms.od
Class ODNamedQuery

java.lang.Object
  extended by com.ibm.edms.od.ODNamedQuery
All Implemented Interfaces:
java.io.Serializable

public class ODNamedQuery
extends java.lang.Object
implements java.io.Serializable

A class representing an OnDemand Named Query. This class contains the details of a Named Query and will enable the functionality to retrieve existing named queries, and save new Named Queries to the OnDemand Server.



(c) Copyright IBM Corp. 1993, 2003. All Rights Reserved

See Also:
Serialized Form

Method Summary
 java.util.Enumeration getCriteria()
          Get the ODNamedQueryCriteria objects for this NamedQuery.
 ODNamedQueryCriteria getCriteria(java.lang.String critName)
          Get the ODNamedQueryCriteria object specified.
 java.lang.String getInternalName()
          Get the internal name of the NamedQuery.
 java.lang.String getName()
          Get the name of the NamedQuery.
 int getNumCriteria()
          Get the number of criteria specified in this NamedQuery.
 boolean isPublic()
          Check the permissions of this NamedQuery.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Get the name of the NamedQuery.

Returns:
String The name of the NamedQuery.

getInternalName

public java.lang.String getInternalName()
Get the internal name of the NamedQuery. This is the named stored in the OnDemand Database, and is not for display purposes.

Returns:
String The internal name for this NamedQuery.
See Also:
ODNamedQuery.getName()

isPublic

public boolean isPublic()
Check the permissions of this NamedQuery. Will return true if NamedQuery is available to the public, false if it has been saved as a private NamedQuery.

Returns:
boolean public/private

getNumCriteria

public int getNumCriteria()
Get the number of criteria specified in this NamedQuery.

Returns:
int number of criteria.

getCriteria

public java.util.Enumeration getCriteria()
Get the ODNamedQueryCriteria objects for this NamedQuery.

Returns:
Enumeration of ODNamedQueryCriteria objects.

getCriteria

public ODNamedQueryCriteria getCriteria(java.lang.String critName)
Get the ODNamedQueryCriteria object specified.

Parameters:
critName - Name of the criteria to get.
Returns:
ODNamedQueryCriteria Object.

CM OnDemand V8.5 WEK Java APIs

(c)Copyright International Business Machines Corporation 2001, 2013. IBM Corp. All rights reserved.