Class CmisUtils
java.lang.Object
org.frankframework.extensions.cmis.CmisUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlBuilderstatic voidcloseBindingSession(org.apache.chemistry.opencmis.client.bindings.spi.CmisSpi owner, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession bindingSession) static voidcmisObject2Xml(XmlBuilder cmisXml, org.apache.chemistry.opencmis.client.api.CmisObject object) static XmlBuildergetPropertyXml(org.apache.chemistry.opencmis.commons.data.PropertyData<?> property) static XmlBuilderobjectData2Xml(org.apache.chemistry.opencmis.commons.data.ObjectData object) static XmlBuilderobjectData2Xml(org.apache.chemistry.opencmis.commons.data.ObjectData object, XmlBuilder cmisXml) static XmlBuilderobjectInFolderList2xml(org.apache.chemistry.opencmis.commons.data.ObjectInFolderList oifs) static XmlBuilderobjectList2xml(org.apache.chemistry.opencmis.commons.data.ObjectList result) static voidpopulateCmisAttributes(PipeLineSession session) static org.apache.chemistry.opencmis.commons.data.PropertiesprocessProperties(Element cmisElement) static XmlBuilderpropertyDefintions2Xml(Map<String, org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?>> propertyDefinitions) static XmlBuilderrepositoryInfo2xml(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repository) static XmlBuildertypeDefinition2Xml(org.apache.chemistry.opencmis.client.api.ObjectType objectType) static XmlBuildertypeDescendants2Xml(List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> objectTypes) static XmlBuildertypeDescendants2Xml(List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> objectTypes, XmlBuilder parent) static org.apache.chemistry.opencmis.commons.data.ObjectDataxml2ObjectData(Element cmisElement, PipeLineSession context) static org.apache.chemistry.opencmis.commons.data.ObjectListxml2ObjectList(Element result, PipeLineSession context) static org.apache.chemistry.opencmis.commons.data.ObjectInFolderListxml2ObjectsInFolderList(Element result) static org.apache.chemistry.opencmis.commons.data.RepositoryInfoxml2repositoryInfo(Element cmisResult) static org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionxml2TypeDefinition(Element typeXml, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) static List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> xml2TypeDescendants(Element typeDefinitionsXml, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion)
-
Field Details
-
FORMATSTRING_BY_DEFAULT
-
ORIGINAL_OBJECT_KEY
- See Also:
-
CMIS_VERSION_KEY
- See Also:
-
CMIS_BINDING_KEY
- See Also:
-
CMIS_CALLCONTEXT_KEY
- See Also:
-
-
Method Details
-
populateCmisAttributes
-
closeBindingSession
public static void closeBindingSession(org.apache.chemistry.opencmis.client.bindings.spi.CmisSpi owner, org.apache.chemistry.opencmis.client.bindings.spi.BindingSession bindingSession) -
buildXml
-
getPropertyXml
public static XmlBuilder getPropertyXml(org.apache.chemistry.opencmis.commons.data.PropertyData<?> property) -
processProperties
public static org.apache.chemistry.opencmis.commons.data.Properties processProperties(Element cmisElement) -
propertyDefintions2Xml
public static XmlBuilder propertyDefintions2Xml(Map<String, org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?>> propertyDefinitions) -
typeDefinition2Xml
public static XmlBuilder typeDefinition2Xml(org.apache.chemistry.opencmis.client.api.ObjectType objectType) -
xml2TypeDefinition
public static org.apache.chemistry.opencmis.commons.definitions.TypeDefinition xml2TypeDefinition(Element typeXml, org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion) -
repositoryInfo2xml
public static XmlBuilder repositoryInfo2xml(org.apache.chemistry.opencmis.commons.data.RepositoryInfo repository) -
xml2repositoryInfo
public static org.apache.chemistry.opencmis.commons.data.RepositoryInfo xml2repositoryInfo(Element cmisResult) -
typeDescendants2Xml
public static XmlBuilder typeDescendants2Xml(List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> objectTypes) -
typeDescendants2Xml
public static XmlBuilder typeDescendants2Xml(List<org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.ObjectType>> objectTypes, XmlBuilder parent) -
xml2TypeDescendants
-
cmisObject2Xml
public static void cmisObject2Xml(XmlBuilder cmisXml, org.apache.chemistry.opencmis.client.api.CmisObject object) -
objectData2Xml
public static XmlBuilder objectData2Xml(org.apache.chemistry.opencmis.commons.data.ObjectData object) -
objectData2Xml
public static XmlBuilder objectData2Xml(org.apache.chemistry.opencmis.commons.data.ObjectData object, XmlBuilder cmisXml) - Parameters:
object- to translate to xmlcmisXml- root XML element (defaults to creating a new 'objectData' element)- Returns:
- the root XML element
-
xml2ObjectData
public static org.apache.chemistry.opencmis.commons.data.ObjectData xml2ObjectData(Element cmisElement, PipeLineSession context) -
xml2ObjectList
public static org.apache.chemistry.opencmis.commons.data.ObjectList xml2ObjectList(Element result, PipeLineSession context) -
objectList2xml
public static XmlBuilder objectList2xml(org.apache.chemistry.opencmis.commons.data.ObjectList result) -
xml2ObjectsInFolderList
public static org.apache.chemistry.opencmis.commons.data.ObjectInFolderList xml2ObjectsInFolderList(Element result) -
objectInFolderList2xml
public static XmlBuilder objectInFolderList2xml(org.apache.chemistry.opencmis.commons.data.ObjectInFolderList oifs)
-