com.ptc.windchill.enterprise.search.server
Class CreateSavedQuery

java.lang.Object
  extended bycom.ptc.windchill.enterprise.search.server.CreateSavedQuery
All Implemented Interfaces:
RemoteAccess

public class CreateSavedQuery
extends Object
implements RemoteAccess


Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
static Persistable lastQuery
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
CreateSavedQuery()
           
 
Method Summary
static void _saveLastQuery(String name, WTPrincipal user, WTPrincipalReference creator, HashMap criteria, String description, String owningClient)
           
static SavedQuery createQuery(String name, WTPrincipal user, WTPrincipalReference creator, HashMap criteria, String description, String owningClient)
           
static SavedQuery getSavedQuery(String name, WTPrincipal user)
           
static void saveLastQuery(String name, WTPrincipal user, WTPrincipalReference creator, HashMap criteria, String description, String owningClient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastQuery

public static Persistable lastQuery

CLASSNAME

private static final String CLASSNAME

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values
Constructor Detail

CreateSavedQuery

public CreateSavedQuery()
Method Detail

createQuery

public static SavedQuery createQuery(String name,
                                     WTPrincipal user,
                                     WTPrincipalReference creator,
                                     HashMap criteria,
                                     String description,
                                     String owningClient)
                              throws WTException,
                                     WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

saveLastQuery

public static void saveLastQuery(String name,
                                 WTPrincipal user,
                                 WTPrincipalReference creator,
                                 HashMap criteria,
                                 String description,
                                 String owningClient)
                          throws WTException,
                                 WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

_saveLastQuery

public static void _saveLastQuery(String name,
                                  WTPrincipal user,
                                  WTPrincipalReference creator,
                                  HashMap criteria,
                                  String description,
                                  String owningClient)
                           throws WTException,
                                  WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getSavedQuery

public static SavedQuery getSavedQuery(String name,
                                       WTPrincipal user)
                                throws WTException
Throws:
WTException