org.gcube.contentmanagement.timeseriesservice.impl.history
Class CurationHistory

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.impl.history.CurationHistory

Author:
lucio

Constructor Summary
CurationHistory(java.lang.String id, java.lang.String parentCSVId, java.lang.String parentTitle, java.util.Date historyCreationDate, java.lang.String creator)
          
Method Summary
 void addItem(CurationHistoryItem item)
          
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurationHistory

public CurationHistory(java.lang.String id,
                       java.lang.String parentCSVId,
                       java.lang.String parentTitle,
                       java.util.Date historyCreationDate,
                       java.lang.String creator)
                throws java.lang.Exception
Parameters:
timestamp -
opType -
query -
humanDescription -
Throws:
java.lang.Exception
Method Detail

getQuery

public java.lang.String getQuery()
Returns:

getDate

public java.util.Date getDate()
Returns:

getCsvParentId

public java.lang.String getCsvParentId()

getItems

public java.util.LinkedList<CurationHistoryItem> getItems()

getParentTitle

public java.lang.String getParentTitle()

setParentTitle

public void setParentTitle(java.lang.String parentTitle)

getId

public java.lang.String getId()

addItem

public void addItem(CurationHistoryItem item)
             throws java.lang.Exception
Throws:
java.lang.Exception

retrieveHistory

public static CurationHistory retrieveHistory(java.lang.String id)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getCreator

public java.lang.String getCreator()

setCreator

public void setCreator(java.lang.String creator)

store

public void store()
           throws java.lang.Exception
Throws:
java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception
Throws:
java.lang.Exception