システム-ユーティリティー操作-スクリプトから Java へのマイグレーション
マイグレーション表には、System-Utils Java™ API メソッドにマップされるスクリプト操作がリストされています。
AdminHelper
これらのスクリプト操作は、以下の AdminHelper Java API メソッドにマップできます。
スクリプト操作 | Java メソッド |
---|---|
flushScriptCache () | flushScriptCache () |
PIM の進行状況
これらのスクリプト操作は、以下の PIMProgress Java API メソッドにマップできます。
スクリプト操作 | Java メソッド |
---|---|
void::setScriptProgress(numberパーセント) | setProgress(intpercent) |
ScriptStatistics
これらのスクリプト操作は、以下の ScriptStatistics Java API メソッドにマップできます。
スクリプト操作 | Java メソッド |
---|---|
void::setScriptStatsDeletedCnt(numbercount) | setItemsDeletedCount(intcount) |
UIHelper (U)
これらのスクリプト操作は、以下の UIHelper Java API メソッドにマップできます。
スクリプト操作 | Java メソッド |
---|---|
文字列getPageURL(“ITEM_LIST”,ICatalog ctg, ICategory cat,ICategoryTreectr) | getItemListURL(Catalog, カテゴリ) |
StringgetPageURL(“ITEM”,ICatalog ctg, StringsSku) | getSingleEditURL(Itemitem) |
文字列getPageURL(“CATEGORY”,ICategoryカテゴリー) | getSingleEditURL(Category) |
文字列getPageURL(“SEARCH”,ICatalog ctg) | getRichSearchURL(Catalog) |
StringgetPageURL(“COLAREA_STEP”, ICollaborationAreaca,IStepAtPath stepAtPath) | getCollaborationStepURL(CollaborationStep collaborationStep) |
文字列getPageURL(“COLAREA_ENTRY”, ICollaborationAreaca,IStepAtPath stepAtPath,IContainer container) | getCollaborationEntryURL(CollaborationStep collaborationStep,カテゴリ category) |
文字列getPageURL(“COLAREA_ENTRY”, ICollaborationAreaca,IStepAtPath stepAtPath,IContainer container) | getCollaborationEntryURL(CollaborationStep collaborationStep,アイテム item) |
WebService
これらのスクリプト操作は、以下の WebService Java API メソッドにマップできます。
スクリプト操作 | Java メソッド |
---|---|
文字列WebService::getName() | getName() |
voidWebService::setName(Stringname) | setName(String名) |
文字列WebService::getImplclass() | getImplementationClassName() |
voidWebService::setImplclass(Stringimplclass) | setImplementationClassName(String implClassName) |
文字列WebService::getDesc() | getDescription() |
voidWebService::setDesc(Stringdesc) | setDescription(Stringの説明) |
文字列WebService::getUrl() | getURL() |
文字列WebService::getWsdlUrl() | getWsdlURL() |
文字列WebService::getWsdlDocPath() | getWsdlDocument() |
voidWebService::setWsdlDocPath(String wsdlDocPath) | setWsdlDocument(Document wsdlDoc) |
文字列WebService::getWsddDocPath() | getWsddDocument() |
voidWebService::setWsddDocPath(String wsddDocPath) | setWsddDocument(Document wsddDoc) |
文字列WebService::getStyle() | getStyle() |
voidWebService::setStyle(Stringstyle) | setStyle(MessageStyle) |
文字列WebService::getImplScriptPath() | getImplementationScript() |
setImplScriptPath(String implScriptPath) | setImplementationScript(Document implScript) |
ブールWebService::getStoreIncoming() | isRequestStored() |
voidWebService::setStoreIncoming(Boolean storeIncoming) | setStoreRequest(boolean storeRequest) |
ブールWebService::getStoreOutgoing() | isResponseStored() |
voidWebService::setStoreOutgoing(Boolean storeOutgoing) | setStoreResponse(boolean storeResponse) |
ブール値WebService::isDeployed() | isDeployed() |
voidWebService::setDeployed(Booleandeployed) | setDeployed(boolean isDeployed) |
BooleanWebService::isAuthRequired() | isAuthenticationRequired() |
voidWebService::setAuthRequired(Boolean authRequired) | setAuthenticationRequired(boolean isAuthenticationrequired) |
WebServiceManager
これらのスクリプト操作は、以下のWebServiceManagerJava API メソッドにマッピングできます。
スクリプト操作 | Java メソッド |
---|---|
WebService getWebServiceByName () | getWebService(String webServiceName) |
WebService createWebService () | createWebServiceUsingJava
(String webServiceName, String description, Document wsdlDoc, Document wsddDoc, MessageStyle messageStyle, String implementingClass, boolean storeIncoming, boolean storeOutgoing,boolean deployed, boolean authenticationRequired, boolean skipRequestValidation, boolean skipResponseValidation) |
WebService createWebService () | createWebService(String
webServiceName, description, DocumentwsdlDoc, MessageStyle messageStyle, DocumentimplementationScript, booleanstoreIncoming, booleanstoreOutgoing,* boolean deployed, * boolean authenticationRequired, booleanskipRequestValidation, booleanskipResponseValidation |
WebService createWebService ()
|
createWebService(String webServiceName,String description, DocumentwsdlDoc, MessageStyle messageStyle,Document implementationScript) |
WebService createWebService ()
|
createWebServiceUsingJava(String webServiceName,文字列 description, 文書wsdlDoc,文書wsddDoc,MessageStyle messageStyle,文字列implementingClass) |