Module cms | |||||||||||
Name: | cms | ||||||||||
Title: | Gestor de continguts web | ||||||||||
Namespace: | http://cms.matrix.org/ | ||||||||||
Service: | CMSManagerService | ||||||||||
Port: | CMSManagerPort | ||||||||||
Java package: | org.matrix.cms | ||||||||||
Version: | 1.0 | ||||||||||
Status: | FINAL | ||||||||||
Authors: | Jordi López, Ricard Real | ||||||||||
WSDL: | cms.wsdl | ||||||||||
Imports: |
|
||||||||||
Documentation: |
Característiques generalsEl mòdul cms s'encarrega de gestionar informació estructurada en forma d'arbre, per al seu ús posterior per part d'aplicacions client. Com a exemple de possibles usos que poden tenir aquestes estructures tenim:
NodeL'element bàsic d'informació amb el que treballa el mòdul és el node. Un node és un objecte que conté una sèrie de propietats multivaluades utilitzades per a emmagatzemar informació. Tot node pot tenir zero o més nodes fills, però només pot tenir com a màxim un node pare, amb la qual cosa s'obté una estructura en forma d'arbre. Si un node no té pare, aleshores és un node arrel. Si un node no té fills, rep el nom de node fulla.PropietatUna propietat és una unitat d'informació emmagatzemada a un node. Té un nom i un o més valors ordenats.Workspace (espai de treball)Un workspace, o espai de treball, és un conjunt d'arbres. Un workspace pot ser referència d'un altre workspace, amb la qual cosa es podrien sincronitzar nodes entre ells. Quan es sincronitza un node entre dos workspaces, tots dos queden amb una còpia idèntica del mateix.Casos d'ús
|
[Types] [Operations]
Entity Node | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name: | Node | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QName: | cms:Node | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Java class name: | org.matrix.cms.Node | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description: |
Node representa un node d'un arbre en un determinat workspace.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related operations: |
Entity Workspace | |||||||||||||||||||||||||||||||||||||||||||
Name: | Workspace | ||||||||||||||||||||||||||||||||||||||||||
QName: | cms:Workspace | ||||||||||||||||||||||||||||||||||||||||||
Java class name: | org.matrix.cms.Workspace | ||||||||||||||||||||||||||||||||||||||||||
Description: |
Workspace representa un workspace, o espai de treball, del mòdul.
|
||||||||||||||||||||||||||||||||||||||||||
Properties: |
|
||||||||||||||||||||||||||||||||||||||||||
Related operations: |
|
Struct NodeChange | |||||||||||||||||||
Name: | NodeChange | ||||||||||||||||||
QName: | cms:NodeChange | ||||||||||||||||||
Java class name: | org.matrix.cms.NodeChange | ||||||||||||||||||
Description: |
NodeChange representa una diferència existent a un node entre dos
workspaces que el contenen, detectada mitjançant l'operació
findNodeChanges i resoluble mitjançant
l'operació syncNodes.
|
||||||||||||||||||
Properties: |
|
||||||||||||||||||
Related operations: |
Struct Property | |||||||||||||||||||
Name: | Property | ||||||||||||||||||
QName: | cms:Property | ||||||||||||||||||
Java class name: | org.matrix.cms.Property | ||||||||||||||||||
Description: |
Property representa una propietat d'un node.
|
||||||||||||||||||
Properties: |
|
Struct NodeFilter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name: | NodeFilter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QName: | cms:NodeFilter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Java class name: | org.matrix.cms.NodeFilter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description: |
Filtre per cercar nodes a través de les operacions
countNodes i findNodes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Properties: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Related operations: |
Struct WorkspaceFilter | |||||||||||||||||||||||||||||||||||||
Name: | WorkspaceFilter | ||||||||||||||||||||||||||||||||||||
QName: | cms:WorkspaceFilter | ||||||||||||||||||||||||||||||||||||
Java class name: | org.matrix.cms.WorkspaceFilter | ||||||||||||||||||||||||||||||||||||
Description: |
Filtre per cercar workspaces a través de les operacions
countWorkspaces i findWorkspaces.
|
||||||||||||||||||||||||||||||||||||
Properties: |
|
||||||||||||||||||||||||||||||||||||
Related operations: |
Enumeration NodeChangeType | |||||||||||||||
Name: | NodeChangeType | ||||||||||||||
QName: | cms:NodeChangeType | ||||||||||||||
Java class name: | org.matrix.cms.NodeChangeType | ||||||||||||||
Description: |
Tipus de canvi que es pot produir a un node entre dos workspaces (origen i destí).
|
||||||||||||||
Values: |
|
Operation removeNode | |||||||||||||||||||
Name: | removeNode | ||||||||||||||||||
Signature: | removeNode (workspaceId {xs:string}, nodeId {xs:string}) => removed {xs:boolean} | ||||||||||||||||||
Java signature: | boolean removeNode(String workspaceId, String nodeId) | ||||||||||||||||||
Description: |
Esborra un node del sistema.
|
||||||||||||||||||
Parameters: |
|
||||||||||||||||||
Response: |
|
||||||||||||||||||
Errors: |
|
||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:removeNode xmlns:ns2="http://cms.matrix.org/"> <workspaceId>{xs:string}</workspaceId> <nodeId>{xs:string}</nodeId> </ns2:removeNode> </S:Body> </S:Envelope> | ||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:removeNodeResponse xmlns:ns2="http://cms.matrix.org/"> <removed>{xs:boolean}</removed> </ns2:removeNodeResponse> </S:Body> </S:Envelope> |
Operation syncNodes | |||||||||||||||||||||||||
Name: | syncNodes | ||||||||||||||||||||||||
Signature: | syncNodes (fromWorkspaceId {xs:string}, toWorkspaceId {xs:string}, nodeChange {cms:NodeChange}*) => syncCount {xs:int} | ||||||||||||||||||||||||
Java signature: | int syncNodes(String fromWorkspaceId, String toWorkspaceId, List<org.matrix.cms.NodeChange> nodeChange) | ||||||||||||||||||||||||
Description: |
Elimina les diferències existents en un conjunt de nodes entre dos workspaces,
traspassant els canvis des d'un (origen) fins a l'altre (destí).
|
||||||||||||||||||||||||
Parameters: |
|
||||||||||||||||||||||||
Response: |
|
||||||||||||||||||||||||
Errors: |
|
||||||||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:syncNodes xmlns:ns2="http://cms.matrix.org/"> <fromWorkspaceId>{xs:string}</fromWorkspaceId> <toWorkspaceId>{xs:string}</toWorkspaceId> <nodeChange> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> <type>{cms:NodeChangeType}</type> </nodeChange> </ns2:syncNodes> </S:Body> </S:Envelope> | ||||||||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:syncNodesResponse xmlns:ns2="http://cms.matrix.org/"> <syncCount>{xs:int}</syncCount> </ns2:syncNodesResponse> </S:Body> </S:Envelope> |
Operation findNodes | |||||||||||||
Name: | findNodes | ||||||||||||
Signature: | findNodes (filter {cms:NodeFilter}) => node {cms:Node}* | ||||||||||||
Java signature: | List<org.matrix.cms.Node> findNodes(org.matrix.cms.NodeFilter filter) | ||||||||||||
Description: |
Cerca nodes que satisfan unes determinades condicions
expressades mitjançant un filtre NodeFilter.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findNodes xmlns:ns2="http://cms.matrix.org/"> <filter> <workspaceId>{xs:string}</workspaceId> <nodeId>{xs:string}</nodeId> <parentNodeId>{xs:string}</parentNodeId> <pathNodeId>{xs:string}</pathNodeId> <name>{xs:string}</name> <changeUserId>{xs:string}</changeUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> <propertyCaseSensitive>{xs:boolean}</propertyCaseSensitive> <changeDateTime1>{xs:string}</changeDateTime1> <changeDateTime2>{xs:string}</changeDateTime2> <firstResult>{xs:int}</firstResult> <maxResults>{xs:int}</maxResults> </filter> </ns2:findNodes> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findNodesResponse xmlns:ns2="http://cms.matrix.org/"> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> </ns2:findNodesResponse> </S:Body> </S:Envelope> |
Operation loadWorkspace | |||||||||||||
Name: | loadWorkspace | ||||||||||||
Signature: | loadWorkspace (workspaceId {xs:string}) => workspace {cms:Workspace} | ||||||||||||
Java signature: | org.matrix.cms.Workspace loadWorkspace(String workspaceId) | ||||||||||||
Description: |
Recupera un workspace a partir del seu identificador.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Errors: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:loadWorkspace xmlns:ns2="http://cms.matrix.org/"> <workspaceId>{xs:string}</workspaceId> </ns2:loadWorkspace> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:loadWorkspaceResponse xmlns:ns2="http://cms.matrix.org/"> <workspace> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <creationDateTime>{mx:dateTime}</creationDateTime> <creationUserId>{xs:string}</creationUserId> <refWorkspaceId>{xs:string}</refWorkspaceId> </workspace> </ns2:loadWorkspaceResponse> </S:Body> </S:Envelope> |
Operation storeWorkspace | |||||||||||||
Name: | storeWorkspace | ||||||||||||
Signature: | storeWorkspace (workspace {cms:Workspace}) => storedWorkspace {cms:Workspace} | ||||||||||||
Java signature: | org.matrix.cms.Workspace storeWorkspace(org.matrix.cms.Workspace workspace) | ||||||||||||
Description: |
Crea o modifica un workspace.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Errors: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:storeWorkspace xmlns:ns2="http://cms.matrix.org/"> <workspace> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <creationDateTime>{mx:dateTime}</creationDateTime> <creationUserId>{xs:string}</creationUserId> <refWorkspaceId>{xs:string}</refWorkspaceId> </workspace> </ns2:storeWorkspace> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:storeWorkspaceResponse xmlns:ns2="http://cms.matrix.org/"> <storedWorkspace> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <creationDateTime>{mx:dateTime}</creationDateTime> <creationUserId>{xs:string}</creationUserId> <refWorkspaceId>{xs:string}</refWorkspaceId> </storedWorkspace> </ns2:storeWorkspaceResponse> </S:Body> </S:Envelope> |
Operation copyWorkspace | |||||||||||||||||||
Name: | copyWorkspace | ||||||||||||||||||
Signature: | copyWorkspace (fromWorkspaceId {xs:string}, toWorkspaceId {xs:string}) => workspace {cms:Workspace} | ||||||||||||||||||
Java signature: | org.matrix.cms.Workspace copyWorkspace(String fromWorkspaceId, String toWorkspaceId) | ||||||||||||||||||
Description: |
Copia un workspace creant un workspace nou o bé sobreescrivint un d'existent.
|
||||||||||||||||||
Parameters: |
|
||||||||||||||||||
Response: |
|
||||||||||||||||||
Errors: |
|
||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:copyWorkspace xmlns:ns2="http://cms.matrix.org/"> <fromWorkspaceId>{xs:string}</fromWorkspaceId> <toWorkspaceId>{xs:string}</toWorkspaceId> </ns2:copyWorkspace> </S:Body> </S:Envelope> | ||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:copyWorkspaceResponse xmlns:ns2="http://cms.matrix.org/"> <workspace> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <creationDateTime>{mx:dateTime}</creationDateTime> <creationUserId>{xs:string}</creationUserId> <refWorkspaceId>{xs:string}</refWorkspaceId> </workspace> </ns2:copyWorkspaceResponse> </S:Body> </S:Envelope> |
Operation removeWorkspace | |||||||||||||
Name: | removeWorkspace | ||||||||||||
Signature: | removeWorkspace (workspaceId {xs:string}) => removed {xs:boolean} | ||||||||||||
Java signature: | boolean removeWorkspace(String workspaceId) | ||||||||||||
Description: |
Esborra un workspace, juntament amb tots els nodes i propietats que conté.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Errors: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:removeWorkspace xmlns:ns2="http://cms.matrix.org/"> <workspaceId>{xs:string}</workspaceId> </ns2:removeWorkspace> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:removeWorkspaceResponse xmlns:ns2="http://cms.matrix.org/"> <removed>{xs:boolean}</removed> </ns2:removeWorkspaceResponse> </S:Body> </S:Envelope> |
Operation countWorkspaces | |||||||||||||
Name: | countWorkspaces | ||||||||||||
Signature: | countWorkspaces (filter {cms:WorkspaceFilter}) => workspaceCount {xs:int} | ||||||||||||
Java signature: | int countWorkspaces(org.matrix.cms.WorkspaceFilter filter) | ||||||||||||
Description: |
Recupera el nombre de workspaces que satisfan unes determinades condicions
expressades mitjançant un filtre WorkspaceFilter.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:countWorkspaces xmlns:ns2="http://cms.matrix.org/"> <filter> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <firstResult>{xs:int}</firstResult> <maxResults>{xs:int}</maxResults> </filter> </ns2:countWorkspaces> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:countWorkspacesResponse xmlns:ns2="http://cms.matrix.org/"> <workspaceCount>{xs:int}</workspaceCount> </ns2:countWorkspacesResponse> </S:Body> </S:Envelope> |
Operation findWorkspaces | |||||||||||||
Name: | findWorkspaces | ||||||||||||
Signature: | findWorkspaces (filter {cms:WorkspaceFilter}) => workspace {cms:Workspace}* | ||||||||||||
Java signature: | List<org.matrix.cms.Workspace> findWorkspaces(org.matrix.cms.WorkspaceFilter filter) | ||||||||||||
Description: |
Cerca workspaces que satisfacin unes determinades condicions expressades
mitjançant un filtre WorkspaceFilter.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findWorkspaces xmlns:ns2="http://cms.matrix.org/"> <filter> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <firstResult>{xs:int}</firstResult> <maxResults>{xs:int}</maxResults> </filter> </ns2:findWorkspaces> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findWorkspacesResponse xmlns:ns2="http://cms.matrix.org/"> <workspace> <workspaceId>{xs:string}</workspaceId> <name>{xs:string}</name> <description>{xs:string}</description> <creationDateTime>{mx:dateTime}</creationDateTime> <creationUserId>{xs:string}</creationUserId> <refWorkspaceId>{xs:string}</refWorkspaceId> </workspace> </ns2:findWorkspacesResponse> </S:Body> </S:Envelope> |
Operation loadNode | |||||||||||||||||||
Name: | loadNode | ||||||||||||||||||
Signature: | loadNode (workspaceId {xs:string}, nodeId {xs:string}) => node {cms:Node} | ||||||||||||||||||
Java signature: | org.matrix.cms.Node loadNode(String workspaceId, String nodeId) | ||||||||||||||||||
Description: |
Recupera un node a partir del seu identificador.
|
||||||||||||||||||
Parameters: |
|
||||||||||||||||||
Response: |
|
||||||||||||||||||
Errors: |
|
||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:loadNode xmlns:ns2="http://cms.matrix.org/"> <workspaceId>{xs:string}</workspaceId> <nodeId>{xs:string}</nodeId> </ns2:loadNode> </S:Body> </S:Envelope> | ||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:loadNodeResponse xmlns:ns2="http://cms.matrix.org/"> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> </ns2:loadNodeResponse> </S:Body> </S:Envelope> |
Operation storeNode | |||||||||||||||||
Name: | storeNode | ||||||||||||||||
Signature: | storeNode (node {cms:Node}) => storedNode {cms:Node} | ||||||||||||||||
Java signature: | org.matrix.cms.Node storeNode(org.matrix.cms.Node node) | ||||||||||||||||
Description: |
Crea o modifica un node.
|
||||||||||||||||
Parameters: |
|
||||||||||||||||
Response: |
|
||||||||||||||||
Errors: |
|
||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:storeNode xmlns:ns2="http://cms.matrix.org/"> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> </ns2:storeNode> </S:Body> </S:Envelope> | ||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:storeNodeResponse xmlns:ns2="http://cms.matrix.org/"> <storedNode> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </storedNode> </ns2:storeNodeResponse> </S:Body> </S:Envelope> |
Operation countNodes | |||||||||||||
Name: | countNodes | ||||||||||||
Signature: | countNodes (filter {cms:NodeFilter}) => nodeCount {xs:int} | ||||||||||||
Java signature: | int countNodes(org.matrix.cms.NodeFilter filter) | ||||||||||||
Description: |
Recupera el nombre de nodes que satisfan unes determinades condicions
expressades mitjançant un filtre NodeFilter.
|
||||||||||||
Parameters: |
|
||||||||||||
Response: |
|
||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:countNodes xmlns:ns2="http://cms.matrix.org/"> <filter> <workspaceId>{xs:string}</workspaceId> <nodeId>{xs:string}</nodeId> <parentNodeId>{xs:string}</parentNodeId> <pathNodeId>{xs:string}</pathNodeId> <name>{xs:string}</name> <changeUserId>{xs:string}</changeUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> <propertyCaseSensitive>{xs:boolean}</propertyCaseSensitive> <changeDateTime1>{xs:string}</changeDateTime1> <changeDateTime2>{xs:string}</changeDateTime2> <firstResult>{xs:int}</firstResult> <maxResults>{xs:int}</maxResults> </filter> </ns2:countNodes> </S:Body> </S:Envelope> | ||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:countNodesResponse xmlns:ns2="http://cms.matrix.org/"> <nodeCount>{xs:int}</nodeCount> </ns2:countNodesResponse> </S:Body> </S:Envelope> |
Operation findModifiedNodes | |||||||||||||||||||
Name: | findModifiedNodes | ||||||||||||||||||
Signature: | findModifiedNodes (workspaceId {xs:string}, dateTime {mx:dateTime}) => node {cms:Node}* | ||||||||||||||||||
Java signature: | List<org.matrix.cms.Node> findModifiedNodes(String workspaceId, mx:dateTime dateTime) | ||||||||||||||||||
Description: |
Retorna la llista de nodes d'un workspace que han estat canviats o sincronitzats
des d'un instant determinat de temps.
|
||||||||||||||||||
Parameters: |
|
||||||||||||||||||
Response: |
|
||||||||||||||||||
Errors: |
|
||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findModifiedNodes xmlns:ns2="http://cms.matrix.org/"> <workspaceId>{xs:string}</workspaceId> <dateTime>{mx:dateTime}</dateTime> </ns2:findModifiedNodes> </S:Body> </S:Envelope> | ||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findModifiedNodesResponse xmlns:ns2="http://cms.matrix.org/"> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> </ns2:findModifiedNodesResponse> </S:Body> </S:Envelope> |
Operation findNodeChanges | |||||||||||||||||||||||||
Name: | findNodeChanges | ||||||||||||||||||||||||
Signature: | findNodeChanges (fromWorkspaceId {xs:string}, toWorkspaceId {xs:string}, baseNodeId {xs:string}) => nodeChange {cms:NodeChange}* | ||||||||||||||||||||||||
Java signature: | List<org.matrix.cms.NodeChange> findNodeChanges(String fromWorkspaceId, String toWorkspaceId, String baseNodeId) | ||||||||||||||||||||||||
Description: |
Retorna la llista de diferències existents entre dos workspaces, cercant
des d'un determinat node arrel cap avall.
|
||||||||||||||||||||||||
Parameters: |
|
||||||||||||||||||||||||
Response: |
|
||||||||||||||||||||||||
Errors: |
|
||||||||||||||||||||||||
Sample input message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findNodeChanges xmlns:ns2="http://cms.matrix.org/"> <fromWorkspaceId>{xs:string}</fromWorkspaceId> <toWorkspaceId>{xs:string}</toWorkspaceId> <baseNodeId>{xs:string}</baseNodeId> </ns2:findNodeChanges> </S:Body> </S:Envelope> | ||||||||||||||||||||||||
Sample output message: | <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:findNodeChangesResponse xmlns:ns2="http://cms.matrix.org/"> <nodeChange> <node> <nodeId>{xs:string}</nodeId> <workspaceId>{xs:string}</workspaceId> <parentNodeId>{xs:string}</parentNodeId> <index>{xs:int}</index> <name>{xs:string}</name> <changeDateTime>{mx:dateTime}</changeDateTime> <changeUserId>{xs:string}</changeUserId> <syncDateTime>{mx:dateTime}</syncDateTime> <syncUserId>{xs:string}</syncUserId> <property> <name>{xs:string}</name> <value>{xs:string}</value> </property> </node> <type>{cms:NodeChangeType}</type> </nodeChange> </ns2:findNodeChangesResponse> </S:Body> </S:Envelope> |