org.gcube.common.homelibrary.jcr.workspace.accounting
Class JCRAccountingEntryCreate

java.lang.Object
  extended by org.gcube.common.homelibrary.jcr.workspace.accounting.JCRAccountingEntry
      extended by org.gcube.common.homelibrary.jcr.workspace.accounting.JCRAccountingEntryCreate
All Implemented Interfaces:
org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntry, org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryCreate

public class JCRAccountingEntryCreate
extends JCRAccountingEntry
implements org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryCreate

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

Field Summary
protected  String itemName
           
 
Constructor Summary
JCRAccountingEntryCreate(javax.jcr.Node node)
           
JCRAccountingEntryCreate(String user, Calendar date, String itemName)
           
 
Method Summary
 org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryType getEntryType()
           
 String getItemName()
           
 void save(javax.jcr.Node entryNode)
           
 String toString()
           
 
Methods inherited from class org.gcube.common.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.common.homelibrary.home.workspace.accounting.AccountingEntry
getDate, getUser
 

Field Detail

itemName

protected String itemName
Constructor Detail

JCRAccountingEntryCreate

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

JCRAccountingEntryCreate

public JCRAccountingEntryCreate(String user,
                                Calendar date,
                                String itemName)
Method Detail

getEntryType

public org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryType getEntryType()
Specified by:
getEntryType in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntry
Specified by:
getEntryType in class JCRAccountingEntry

toString

public String toString()
Overrides:
toString in class JCRAccountingEntry

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.common.homelibrary.home.workspace.accounting.AccountingEntryCreate


Copyright © 2013. All Rights Reserved.