org.gcube.contentmanagement.contentmanager.smsplugin.delegates.importer.model
Class UpdateInfoObjectCommand
java.lang.Object
org.gcube.contentmanagement.contentmanager.smsplugin.delegates.importer.model.UpdateInfoObjectCommand
- All Implemented Interfaces:
- SMSCommand
public class UpdateInfoObjectCommand
- extends java.lang.Object
- implements SMSCommand
- Author:
- Federico De Faveri defaveri@isti.cnr.it
Constructor Summary |
UpdateInfoObjectCommand(java.lang.String oid,
java.util.List<java.lang.String> propertiesToDelete,
java.util.List<CreatePropertyDescription> propertiesToUpdateAdd,
java.lang.String newRawContentUrl)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UpdateInfoObjectCommand
public UpdateInfoObjectCommand(java.lang.String oid,
java.util.List<java.lang.String> propertiesToDelete,
java.util.List<CreatePropertyDescription> propertiesToUpdateAdd,
java.lang.String newRawContentUrl)
setContent
public void setContent(byte[] content)
getOid
public java.lang.String getOid()
- Returns:
- the oid
getPropertiesToDelete
public java.util.List<java.lang.String> getPropertiesToDelete()
- Returns:
- the propertiesToDelete
getPropertiesToUpdateAdd
public java.util.List<CreatePropertyDescription> getPropertiesToUpdateAdd()
- Returns:
- the propertiesToUpdateAdd
getNewRawContentUrl
public java.lang.String getNewRawContentUrl()
- Returns:
- the newRawContentUrl
getContent
public byte[] getContent()
- Returns:
- the content
isContentUpdated
public boolean isContentUpdated()
- Returns:
- the contentUpdated
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object