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

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

public class CurationHistory
extends Object

Author:
lucio

Constructor Summary
CurationHistory(String id, String parentCSVId, String parentTitle, Date historyCreationDate, String creator)
           
 
Method Summary
 void addItem(CurationHistoryItem item)
           
 void destroy()
           
 String getCreator()
           
 String getCsvParentId()
           
 Date getDate()
           
 String getId()
           
 LinkedList<CurationHistoryItem> getItems()
           
 String getParentTitle()
           
 String getQuery()
           
static CurationHistory retrieveHistory(String id)
           
 void setCreator(String creator)
           
protected  void setItems(LinkedList<CurationHistoryItem> items)
           
 void setParentTitle(String parentTitle)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurationHistory

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

getQuery

public String getQuery()
Returns:

getDate

public Date getDate()
Returns:

getCsvParentId

public String getCsvParentId()

getItems

public LinkedList<CurationHistoryItem> getItems()

setItems

protected void setItems(LinkedList<CurationHistoryItem> items)

getParentTitle

public String getParentTitle()

setParentTitle

public void setParentTitle(String parentTitle)

getId

public String getId()

addItem

public void addItem(CurationHistoryItem item)
             throws Exception
Throws:
Exception

retrieveHistory

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

getCreator

public String getCreator()

setCreator

public void setCreator(String creator)

store

public void store()
           throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.