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

java.lang.Object
  extended by org.gcube.common.homelibrary.jcr.workspace.accounting.JCRAccountingEntry
All Implemented Interfaces:
org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntry
Direct Known Subclasses:
JCRAccountingEntryCreate, JCRAccountingEntryPaste, JCRAccountingEntryRead, JCRAccountingEntryRenaming, JCRAccountingEntryShare, JCRAccountingEntryUnshare, JCRAccountingEntryUpdate, JCRAccountingFolderEntryAdd, JCRAccountingFolderEntryRemoval

public abstract class JCRAccountingEntry
extends Object
implements org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntry

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

Constructor Summary
JCRAccountingEntry(javax.jcr.Node node)
           
JCRAccountingEntry(String user, Calendar date)
           
 
Method Summary
 Calendar getDate()
           
abstract  org.gcube.common.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

JCRAccountingEntry

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

JCRAccountingEntry

public JCRAccountingEntry(String user,
                          Calendar date)
Method Detail

getEntryType

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

getUser

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

getDate

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

save

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.