org.gcube.portlets.user.homelibrary.jcr.workspace.accounting
Class JCRAccountingEntryRead

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.jcr.workspace.accounting.JCRAccountingEntryRead
All Implemented Interfaces:
org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntry, org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntryRead

public class JCRAccountingEntryRead
extends Object
implements org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntryRead

Author:
Antonio Gioia antonio.gioia@isti.cnr.it

Constructor Summary
JCRAccountingEntryRead(javax.jcr.Node node)
           
JCRAccountingEntryRead(String user, Calendar date)
           
 
Method Summary
 Calendar getDate()
           
 org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntryType getEntryType()
           
 String getUser()
           
 void save(javax.jcr.Node entryNode)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JCRAccountingEntryRead

public JCRAccountingEntryRead(javax.jcr.Node node)
                       throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

JCRAccountingEntryRead

public JCRAccountingEntryRead(String user,
                              Calendar date)
Method Detail

getUser

public String getUser()
Specified by:
getUser in interface org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntry

getDate

public Calendar getDate()
Specified by:
getDate in interface org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntry

save

public void save(javax.jcr.Node entryNode)
          throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getEntryType

public org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntryType getEntryType()
Specified by:
getEntryType in interface org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntry

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.