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

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

public class JCRAccountingEntryShare
extends JCRAccountingEntry
implements org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryShare

Author:
Valentina Marioli valentina.marioli@isti.cnr.it

Field Summary
protected  String itemName
           
protected static org.slf4j.Logger logger
           
protected  List<String> members
           
 
Constructor Summary
JCRAccountingEntryShare(javax.jcr.Node node)
           
JCRAccountingEntryShare(String user, Calendar date, String nodeName, List<String> members)
           
 
Method Summary
 org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryType getEntryType()
           
 String getItemName()
           
 List<String> getMembers()
           
 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

members

protected List<String> members

logger

protected static org.slf4j.Logger logger
Constructor Detail

JCRAccountingEntryShare

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

JCRAccountingEntryShare

public JCRAccountingEntryShare(String user,
                               Calendar date,
                               String nodeName,
                               List<String> members)
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.AccountingEntryShare

getMembers

public List<String> getMembers()
Specified by:
getMembers in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntryShare


Copyright © 2013. All Rights Reserved.