wt.clients.workflow.definer
Class Server

java.lang.Object
  extended bywt.clients.workflow.definer.Server
All Implemented Interfaces:
RemoteAccess

public class Server
extends Object
implements RemoteAccess


Field Summary
static String SERVER_CLASS
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
Server()
           
 
Method Summary
private static SearchCondition byEnabled()
           
private static SearchCondition byName(String name)
           
private static SearchCondition byVersion()
           
static IXBExpImpStatus exportObjects(WTContainerRef container, Vector objIds, ObjectExportParameters params)
           
private static String getCabinet()
           
static Hashtable getEnabledTemplates(WTContainerRef context_ref)
           
static String getKey(String name, String organizationName)
           
private static OrgContainer getOrganization(WTPrincipal user)
           
static ProcessInfo getProcessInfo(WfProcessTemplate template)
           
static ProcessInfo getProcessInfo(WfProcessTemplate template, String cabinet)
           
static WfProcessTemplate getTemplate(String name, String oid)
           
static WfProcessTemplate getTemplate(String name, WTContainerRef context_ref)
           
static WfProcessTemplate getTemplate(String name, WTContainerRef context_ref, Boolean enabled)
           
static WfProcessTemplateMaster getTemplateMaster(String name, WTContainerRef context_ref)
           
static WfProcessTemplateMaster getTemplateMaster(String name, WTContainerRef context_ref, Boolean enabled)
           
static Hashtable getTemplates(WTContainerRef context_ref)
           
static IXBExpImpStatus importTemplates(WTContainerRef container, IXBStreamer ruleF, IXBStreamer dataF, Boolean overrideC, String guiId, Boolean isPreview, Boolean detailedLog, String actorName, IXBStreamer policyFile, IXBStreamer containerMappingFile, Locale locale)
           
static void setTemplateEnable(String name, Boolean enable, WTContainerRef context_ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_CLASS

public static final String SERVER_CLASS
See Also:
Constant Field Values
Constructor Detail

Server

public Server()
Method Detail

setTemplateEnable

public static void setTemplateEnable(String name,
                                     Boolean enable,
                                     WTContainerRef context_ref)
                              throws WTException
Throws:
WTException

getTemplate

public static WfProcessTemplate getTemplate(String name,
                                            String oid)
                                     throws WTException
Throws:
WTException

getTemplate

public static WfProcessTemplate getTemplate(String name,
                                            WTContainerRef context_ref)
                                     throws WTException
Throws:
WTException

getTemplate

public static WfProcessTemplate getTemplate(String name,
                                            WTContainerRef context_ref,
                                            Boolean enabled)
                                     throws WTException
Throws:
WTException

getTemplateMaster

public static WfProcessTemplateMaster getTemplateMaster(String name,
                                                        WTContainerRef context_ref)
                                                 throws WTException
Throws:
WTException

getTemplateMaster

public static WfProcessTemplateMaster getTemplateMaster(String name,
                                                        WTContainerRef context_ref,
                                                        Boolean enabled)
                                                 throws WTException
Throws:
WTException

getTemplates

public static Hashtable getTemplates(WTContainerRef context_ref)
                              throws WTException
Throws:
WTException

getEnabledTemplates

public static Hashtable getEnabledTemplates(WTContainerRef context_ref)
                                     throws WTException
Throws:
WTException

getProcessInfo

public static ProcessInfo getProcessInfo(WfProcessTemplate template)
                                  throws WTException
Throws:
WTException

getKey

public static String getKey(String name,
                            String organizationName)

getProcessInfo

public static ProcessInfo getProcessInfo(WfProcessTemplate template,
                                         String cabinet)
                                  throws WTException
Throws:
WTException

importTemplates

public static IXBExpImpStatus importTemplates(WTContainerRef container,
                                              IXBStreamer ruleF,
                                              IXBStreamer dataF,
                                              Boolean overrideC,
                                              String guiId,
                                              Boolean isPreview,
                                              Boolean detailedLog,
                                              String actorName,
                                              IXBStreamer policyFile,
                                              IXBStreamer containerMappingFile,
                                              Locale locale)
                                       throws WTException
Throws:
WTException

exportObjects

public static IXBExpImpStatus exportObjects(WTContainerRef container,
                                            Vector objIds,
                                            ObjectExportParameters params)
                                     throws WTException
Throws:
WTException

getCabinet

private static String getCabinet()
                          throws WTException
Throws:
WTException

getOrganization

private static OrgContainer getOrganization(WTPrincipal user)
                                     throws WTException
Throws:
WTException

byVersion

private static SearchCondition byVersion()
                                  throws WTException
Throws:
WTException

byName

private static SearchCondition byName(String name)
                               throws WTException
Throws:
WTException

byEnabled

private static SearchCondition byEnabled()
                                  throws WTException
Throws:
WTException