public abstract class AbstractEndpoint extends VtiUtilBase implements VtiEndpoint
VtiEndpoint
realizations.Modifier and Type | Field and Description |
---|---|
static String |
DWS |
protected String |
name |
protected String |
namespace |
protected static String |
soapPart |
protected static String |
soapUri |
protected static String |
soapUriPrefix |
Constructor and Description |
---|
AbstractEndpoint() |
Modifier and Type | Method and Description |
---|---|
protected org.dom4j.Element |
buildResultTag(VtiSoapResponse soapResponse) |
static String |
buildXPath(String prefix,
String searchPath)
Build XPath
|
String |
generateXml(AssigneeBean assigneeBean)
Convert AssigneeBean type to the correct xml presentation
|
String |
generateXml(DocumentBean documentBean)
Convert DocumentBean type to the correct xml presentation
|
String |
generateXml(DwsBean dwsBean)
Convert DwsBean type to the correct xml presentation
|
String |
generateXml(DwsData dwsData)
Convert DwsData type to the correct xml presentation
|
String |
generateXml(DwsMetadata dwsMetadata)
Convert DwsMetadata type to the correct xml presentation
|
String |
generateXml(LinkBean linkBean)
Convert LinkBean type to the correct xml presentation
|
String |
generateXml(ListInfoBean listInfoBean)
Convert ListInfoBean type to the correct xml presentation
|
String |
generateXml(MemberBean memberBean)
Convert MemberBean type to the correct xml presentation
|
String |
generateXml(SchemaBean schemaBean)
Convert SchemaBean type to the correct xml presentation
|
String |
generateXml(SchemaFieldBean schemaFieldBean)
Convert SchemaFieldBean type to the correct xml presentation
|
String |
generateXml(TaskBean taskBean)
Convert TaskBean type to the correct xml presentation
|
String |
generateXml(UserBean userBean)
Convert UserBean type to the correct xml presentation
|
static String |
getContext(VtiSoapRequest request)
Return current context
|
static String |
getDwsForCreationFromUri(VtiSoapRequest request)
Get current DWS name for DWS creation from requested URI
|
static String |
getDwsFromUri(VtiSoapRequest request)
Get current DWS name from requested URI
|
String |
getFileName(VtiSoapRequest soapRequest,
org.jaxen.XPath fileNamePath)
Get the (relative) file name that was requested.
|
String |
getHost(VtiSoapRequest request)
Return current host
|
protected String |
getMessage(String name)
TODO Fix up the message files so we can get rid of this nasty hack!
|
String |
getName() |
String |
getNamespace() |
String |
getResponseTagName() |
String |
getResultTagName() |
UrlHelper |
getUrlHelper() |
void |
setName(String name)
Endpoint name setter
|
void |
setNamespace(String namespace)
Endpoint namespace setter
|
void |
setUrlHelper(UrlHelper urlHelper)
Provide the endpoint with a
UrlHelper . |
endTag, processTag, singleTag, singleTag, startTag, startTag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public static final String DWS
protected static String soapPart
protected static String soapUriPrefix
protected static String soapUri
protected String name
protected String namespace
public void setName(String name)
name
- public void setNamespace(String namespace)
namespace
- public void setUrlHelper(UrlHelper urlHelper)
UrlHelper
.urlHelper
- public String getName()
getName
in interface VtiEndpoint
VtiEndpoint.getName()
public String getNamespace()
getNamespace
in interface VtiEndpoint
VtiEndpoint.getNamespace()
public UrlHelper getUrlHelper()
getUrlHelper
in interface VtiEndpoint
public String getResponseTagName()
getResponseTagName
in interface VtiEndpoint
public String getResultTagName()
getResultTagName
in interface VtiEndpoint
public static String buildXPath(String prefix, String searchPath)
prefix
- prefixsearchPath
- source pathpublic static String getContext(VtiSoapRequest request)
request
- Vti Soap Request (VtiSoapRequest
)public String getHost(VtiSoapRequest request)
request
- Vti Soap Request (VtiSoapRequest
)public static String getDwsFromUri(VtiSoapRequest request)
request
- Vti Soap Request (VtiSoapRequest
)public String getFileName(VtiSoapRequest soapRequest, org.jaxen.XPath fileNamePath) throws Exception
Exception
public static String getDwsForCreationFromUri(VtiSoapRequest request)
request
- Vti Soap Request (VtiSoapRequest
)public String generateXml(AssigneeBean assigneeBean)
assigneeBean
- object to convertpublic String generateXml(DocumentBean documentBean)
documentBean
- object to convertpublic String generateXml(DwsBean dwsBean)
dwsBean
- object to convertpublic String generateXml(DwsData dwsData)
dwsData
- object to convertpublic String generateXml(DwsMetadata dwsMetadata)
dwsMetadata
- object to convertpublic String generateXml(LinkBean linkBean)
linkBean
- object to convertpublic String generateXml(ListInfoBean listInfoBean)
listInfoBean
- object to convertpublic String generateXml(MemberBean memberBean)
memberBean
- object to convertpublic String generateXml(SchemaBean schemaBean)
schemaBean
- object to convertpublic String generateXml(SchemaFieldBean schemaFieldBean)
schemaFieldBean
- object to convertpublic String generateXml(TaskBean taskBean)
taskBean
- object to convertpublic String generateXml(UserBean userBean)
userBean
- object to convertprotected org.dom4j.Element buildResultTag(VtiSoapResponse soapResponse)
Copyright © 2005–2017 Alfresco Software. All rights reserved.