|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWPCMediator
Represents the business functions available on the WPC. Provides the summary of the soap-calls supported by the mediator. Note: Most of the calls treats the Async. Process as the Application error and throws the WPCMediatorExcpetion setting APPError with the notificationBean.
Method Summary | |
---|---|
java.lang.String |
createItem(ICatalogItem item,
WPSContext context)
creates the item in WPC,the default invokation mode is Sync. |
void |
deleteItem(ICatalogItem item,
WPSContext context)
deletes the item in WPC, the default invokation mode is Sync. |
void |
deleteItem(java.lang.String parentCgy,
java.lang.String catalogID,
java.lang.String itemID,
WPSContext context)
deletes the Item from WPC for the given itemID, catalogID and ParenetCategory ID The default invokation mode is Sync. |
java.lang.String |
downloadItemDetails(CategoryHierarchy hierarchy,
ICatalogItem catalogItem,
java.lang.String[] headerInfor,
java.lang.String[] itemPrimaryKey,
WPSContext context)
This Method is for downloading Item(s) from SingleItem or from Search results |
java.util.List |
getBusinessProcess(WPSContext context)
|
java.util.List |
getBusinessProcess(WPSContext context,
java.lang.String roleName)
|
Node[] |
getCatalogChildren(java.lang.String parentCategory,
java.lang.String catalogName,
java.lang.String hierarchyName,
java.lang.String heirarchyType,
java.lang.String childrenSize,
WPSContext context)
returns the children of the catalog node for a particular parent category, Hierarychy, Catalog |
Node[] |
getCatalogChildren(java.lang.String parentID,
WPSContext context)
returns the children of the catalog node, the default invokation mode is Sync. |
ICatalogItem |
getCatalogItem(java.lang.String parentCgyID,
java.lang.String catalogID,
java.lang.String itemID,
WPSContext context)
returns the catalog item from WPC for the given catalogID and parent CategoryID, the default invokation mode is Sync. |
ICatalogItem |
getCatalogItem(java.lang.String parentCgyID,
java.lang.String catalogID,
WPSContext context)
returns the catalog Spec. |
ICatalogItem |
getCatalogItemClone(ICatalogItem item,
WPSContext context)
Returns Clone of the CatalogItem for the given item |
ICatalogItem |
getCatalogItemClone(java.lang.String parentCgyID,
java.lang.String catalogID,
java.lang.String itemID,
WPSContext context)
Returns Clone of the CatalogItem for the given itemID,catalogID and parentCategory |
CategoryHierarchy[] |
getCatalogs(WPSContext context)
returns the first level of Hierarychy for the Catalogs |
CatalogViewMaster |
getCatalogView(java.lang.String catalogName,
java.lang.String catalogViewName,
WPSContext context)
|
java.util.List |
getCatalogViewList(java.lang.String catalogName,
WPSContext context)
returs a list of CatalogViews for a given CatalogName |
java.lang.String |
getDefaultCatalog()
This utility method has to be retained in the WPC Mediator. |
java.lang.Object |
getImageObject(FileDownloadResource resourceObj,
WPSContext context)
This method fetches Image stream from wpc for specific Item (GTNID) and attribute. |
Workflow |
getSteps(WPSContext context,
java.lang.String roleName,
java.lang.String workflowName)
|
java.util.List |
getTransactionsDetails(java.lang.String transactionId,
WPCUser wpcUser)
This method fetches Transaction Details primarily the attachment associated with Transaction. |
java.util.Map |
getTransactionsStatus(java.lang.String[] strArry,
WPSContext context)
Triggers the WPC to get the trasactions from WPC and updates Trasactions Object with new status of each transactions in ITransactions |
java.util.List |
getUserRoles(WPSContext context)
|
void |
performSearch(SearchBean searchBean,
WPSContext context)
Triggers the WPC to Perform the search based on the criteria and prepares the result |
void |
processAction(WPSContext context,
WorkFlowTO workflowTo)
|
java.lang.String |
processUploadedFile(java.lang.String documentPath,
java.lang.String collabName,
WPSContext context)
Provides the followup process action for the uplaod which triggers the for an update in wpc |
void |
updateItem(ICatalogItem item,
WPSContext context)
updates the item in WPC, the default invokation mode is Sync. |
java.lang.String |
uploadFile(Attachment attachment,
WPSContext context)
uploads the file into WPC, and returns with the doc.path The default invokation mode is ASync. |
Method Detail |
---|
CategoryHierarchy[] getCatalogs(WPSContext context) throws WPCMediatorException
context
-
WPCMediatorException
- in case of retrievalNode[] getCatalogChildren(java.lang.String parentID, WPSContext context) throws WPCMediatorException
parentID
- - parentNode ID of type String
WPCMediatorException
- in case of retrieval errorsNode[] getCatalogChildren(java.lang.String parentCategory, java.lang.String catalogName, java.lang.String hierarchyName, java.lang.String heirarchyType, java.lang.String childrenSize, WPSContext context) throws WPCMediatorException
parentCategory
- catalogName
- hierarchyName
- heirarchyType
- context
-
WPCMediatorException
ICatalogItem getCatalogItem(java.lang.String parentCgyID, java.lang.String catalogID, WPSContext context) throws WPCMediatorException
parentCgyID
- - Parent CategoryID of the catalogcatalogID
- - category ID of the catalog
WPCMediatorException
- in case of retrieval errorsICatalogItem getCatalogItem(java.lang.String parentCgyID, java.lang.String catalogID, java.lang.String itemID, WPSContext context) throws WPCMediatorException
parentCgyID
- - Parent CategoryID of the catalogcatalogID
- - category ID of the catalogitemID
- - itemID (primaryKey)
WPCMediatorException
- in case of retrieval errorsjava.util.List getCatalogViewList(java.lang.String catalogName, WPSContext context) throws WPCMediatorException
catalogName
- context
-
WPCMediatorException
CatalogViewMaster getCatalogView(java.lang.String catalogName, java.lang.String catalogViewName, WPSContext context) throws WPCMediatorException
catalogName
- catalogViewName
- context
-
WPCMediatorException
java.lang.String createItem(ICatalogItem item, WPSContext context) throws WPCMediatorException
item
- - of type ICatalogItem representing the item to create
WPCMediatorException
- in case of creation errors/async. processvoid updateItem(ICatalogItem item, WPSContext context) throws WPCMediatorException
item
- - of type ICatalogItem representing the item to create
WPCMediatorException
- in case of updation errors/ async. process.void deleteItem(ICatalogItem item, WPSContext context) throws WPCMediatorException
item
- - of type ICatalogItem representing the item to create
WPCMediatorException
- in case of updation errors/ async. process.void deleteItem(java.lang.String parentCgy, java.lang.String catalogID, java.lang.String itemID, WPSContext context) throws WPCMediatorException
parentCgy
- catalogID
- - category ID of the catalogitemID
- - itemID (primaryKey)
WPCMediatorException
- in case of updation errors/ async. process.ICatalogItem getCatalogItemClone(java.lang.String parentCgyID, java.lang.String catalogID, java.lang.String itemID, WPSContext context) throws WPCMediatorException
WPCMediatorException
ICatalogItem getCatalogItemClone(ICatalogItem item, WPSContext context) throws WPCMediatorException
WPCMediatorException
java.lang.String uploadFile(Attachment attachment, WPSContext context) throws WPCMediatorException
attachment
- - file to upload as an Attachment type
WPCMediatorException
- in case of updation errors/ async. process.Attachment
java.lang.String processUploadedFile(java.lang.String documentPath, java.lang.String collabName, WPSContext context) throws WPCMediatorException
documentPath
- - path to the file to be updated in the WPC
WPCMediatorException
- in case of updation errors/ async. process.void performSearch(SearchBean searchBean, WPSContext context) throws WPCMediatorException
searchBean
- - provides the searchcritera and filled with the search results
WPCMediatorException
- in case of updation errors/ async. process.java.util.Map getTransactionsStatus(java.lang.String[] strArry, WPSContext context) throws WPCMediatorException
strArry
- context
-
WPCMediatorException
- in case of updation errors/ async. process.java.util.List getTransactionsDetails(java.lang.String transactionId, WPCUser wpcUser) throws WPCMediatorException
transactionId
- wpcUser
-
WPCMediatorException
java.lang.String getDefaultCatalog()
java.lang.Object getImageObject(FileDownloadResource resourceObj, WPSContext context) throws WPCMediatorException
resourceObj
- context
-
WPCMediatorException
java.lang.String downloadItemDetails(CategoryHierarchy hierarchy, ICatalogItem catalogItem, java.lang.String[] headerInfor, java.lang.String[] itemPrimaryKey, WPSContext context) throws WPCMediatorException
hierarchy
- catalogItem
- headerInfor
- itemPrimaryKey
-
WPCMediatorException
java.util.List getUserRoles(WPSContext context) throws WPCMediatorException
context
-
WPCMediatorException
java.util.List getBusinessProcess(WPSContext context) throws WPCMediatorException
context
-
WPCMediatorException
java.util.List getBusinessProcess(WPSContext context, java.lang.String roleName) throws WPCMediatorException
context
- roleName
-
WPCMediatorException
Workflow getSteps(WPSContext context, java.lang.String roleName, java.lang.String workflowName) throws WPCMediatorException
context
- roleName
- workflowName
-
WPCMediatorException
void processAction(WPSContext context, WorkFlowTO workflowTo) throws WPCMediatorException
context
- workflowTo
-
WPCMediatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |