public class EndpointTemplateAdminClient extends Object
Constructor and Description |
---|
EndpointTemplateAdminClient(javax.servlet.ServletConfig config,
javax.servlet.http.HttpSession session) |
Modifier and Type | Method and Description |
---|---|
void |
addDynamicTemplate(String key,
String templateConfig) |
void |
addTemplate(String templateConfig) |
void |
deleteDynamicTemplate(String templateName) |
void |
deleteTemplate(String templateName) |
String[] |
getAllTempalateNames() |
org.wso2.carbon.mediation.templates.common.EndpointTemplateInfo[] |
getDynamicEndpointTemplates(int pageNumber,
int endpointTemplatesPerPage) |
int |
getDynamicEndpointTemplatesCount() |
org.wso2.carbon.mediation.templates.common.EndpointTemplateInfo[] |
getEndpointTemplates(int pageNumber,
int endpointTemplatesPerPage) |
int |
getEndpointTemplatesCount() |
org.apache.synapse.endpoints.Template |
getTempalate(String templateName) |
boolean |
hasDuplicateTemplateEndpoint(String templateElementConfig) |
void |
saveDynamicTemplate(String key,
String templateConfig) |
void |
saveTemplate(String templateConfig) |
public EndpointTemplateAdminClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public String[] getAllTempalateNames() throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public int getEndpointTemplatesCount() throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public int getDynamicEndpointTemplatesCount() throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public org.wso2.carbon.mediation.templates.common.EndpointTemplateInfo[] getEndpointTemplates(int pageNumber, int endpointTemplatesPerPage) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public org.wso2.carbon.mediation.templates.common.EndpointTemplateInfo[] getDynamicEndpointTemplates(int pageNumber, int endpointTemplatesPerPage) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public org.apache.synapse.endpoints.Template getTempalate(String templateName) throws RemoteException, org.wso2.carbon.mediation.templates.common.TemplateEditorException
RemoteException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void saveTemplate(String templateConfig) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void saveDynamicTemplate(String key, String templateConfig) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void addTemplate(String templateConfig) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void addDynamicTemplate(String key, String templateConfig) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void deleteTemplate(String templateName) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public void deleteDynamicTemplate(String templateName) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
public boolean hasDuplicateTemplateEndpoint(String templateElementConfig) throws org.wso2.carbon.mediation.templates.common.TemplateEditorException
org.wso2.carbon.mediation.templates.common.TemplateEditorException
Copyright © 2019 WSO2. All rights reserved.