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

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.jcr.workspace.accounting.JCRAccountingEntry
      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 JCRAccountingEntry
implements org.gcube.portlets.user.homelibrary.home.workspace.accounting.AccountingEntryRead

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

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

Field Detail

itemName

protected String itemName
Constructor Detail

JCRAccountingEntryRead

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

JCRAccountingEntryRead

public JCRAccountingEntryRead(String user,
                              Calendar date,
                              String nodeName)
Method Detail

save

public void save(javax.jcr.Node entryNode)
          throws javax.jcr.RepositoryException
Overrides:
save in class JCRAccountingEntry
Throws:
javax.jcr.RepositoryException

getItemName

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

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
Specified by:
getEntryType in class JCRAccountingEntry

toString

public String toString()
Overrides:
toString in class JCRAccountingEntry


Copyright © 2013. All Rights Reserved.