org.gcube.contentmanagement.contentmanager.smsplugin.delegates
Class GDocConversionUtil
java.lang.Object
org.gcube.contentmanagement.contentmanager.smsplugin.delegates.GDocConversionUtil
public class GDocConversionUtil
- extends java.lang.Object
- Author:
- Federico De Faveri defaveri@isti.cnr.it
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DOCUMENT_NAME
public static final java.lang.String DEFAULT_DOCUMENT_NAME
- See Also:
- Constant Field Values
GDocConversionUtil
public GDocConversionUtil()
calculateGDocCreation
public static CreateInfoObjectCommand calculateGDocCreation(java.lang.String collectionId,
GDoc doc)
- Calculate the creation commands for a new document.
- Parameters:
collectionId
- the belonging collection id.doc
- the new gdoc to add.
- Returns:
- the resulting creation command.
buildUpdateCommands
public static java.util.List<SMSCommand> buildUpdateCommands(InnerNode node)
- Builds the update commands for the specified node.
- Parameters:
node
- the node to analyze.
- Returns:
- the commands list.
buildNodeUpdate
public static java.util.List<SMSCommand> buildNodeUpdate(InnerNode node)
- Builds the update commands for the specified node.
- Parameters:
node
- the node to analyze.
- Returns:
- the commands list.