com.trackstudio.kernel.manager
Class ScriptManager

java.lang.Object
  extended by com.trackstudio.kernel.manager.KernelManager
      extended by com.trackstudio.kernel.manager.ScriptManager

public class ScriptManager
extends KernelManager


Field Summary
 
Fields inherited from class com.trackstudio.kernel.manager.KernelManager
hu
 
Method Summary
 java.lang.String cloneScript(java.lang.String scriptId, java.lang.String locale, java.lang.String userId)
           
 java.lang.String createScript(java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String formula, java.lang.String userId)
           
 void deleteScript(java.lang.String scriptId)
           
 java.util.Collection getAvailableScriptList(java.lang.String userId)
           
protected static ScriptManager getInstance()
           
 java.util.List getScriptTypeList()
           
 void updateScript(java.lang.String scriptId, java.lang.String name, java.lang.String description)
           
 void updateScriptFormula(java.lang.String scriptId, java.lang.String formula)
           
 
Methods inherited from class com.trackstudio.kernel.manager.KernelManager
getAcl, getAttachment, getCategory, getEmailType, getFilter, getFind, getIndex, getLicense, getLongText, getMailImport, getMessage, getPrstatus, getRegistration, getReport, getScript, getStep, getTask, getTSInfo, getUdf, getUser, getWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

protected static ScriptManager getInstance()

cloneScript

public java.lang.String cloneScript(java.lang.String scriptId,
                                    java.lang.String locale,
                                    java.lang.String userId)
                             throws GranException
Throws:
GranException

updateScriptFormula

public void updateScriptFormula(java.lang.String scriptId,
                                java.lang.String formula)
                         throws GranException
Throws:
GranException

updateScript

public void updateScript(java.lang.String scriptId,
                         java.lang.String name,
                         java.lang.String description)
                  throws GranException
Throws:
GranException

createScript

public java.lang.String createScript(java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String type,
                                     java.lang.String formula,
                                     java.lang.String userId)
                              throws GranException
Throws:
GranException

deleteScript

public void deleteScript(java.lang.String scriptId)
                  throws GranException
Throws:
GranException

getAvailableScriptList

public java.util.Collection getAvailableScriptList(java.lang.String userId)
                                            throws GranException
Throws:
GranException

getScriptTypeList

public java.util.List getScriptTypeList()
                                 throws GranException
Throws:
GranException


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.