org.gcube.contentmanagement.contentmanager.smsplugin.delegates.importer.model
Class UpdateInfoObjectCommand

java.lang.Object
  extended by 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)
           
 
Method Summary
 byte[] getContent()
           
 java.lang.String getNewRawContentUrl()
           
 java.lang.String getOid()
           
 java.util.List<java.lang.String> getPropertiesToDelete()
           
 java.util.List<CreatePropertyDescription> getPropertiesToUpdateAdd()
           
 boolean isContentUpdated()
           
 void setContent(byte[] content)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateInfoObjectCommand

public UpdateInfoObjectCommand(java.lang.String oid,
                               java.util.List<java.lang.String> propertiesToDelete,
                               java.util.List<CreatePropertyDescription> propertiesToUpdateAdd,
                               java.lang.String newRawContentUrl)
Method Detail

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