public abstract class JCRAccountingEntry extends Object implements org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntry
| Modifier and Type | Field and Description |
|---|---|
protected Calendar |
date |
protected org.gcube.common.homelibary.model.items.accounting.AccountingDelegate |
entryDelegate |
protected static org.slf4j.Logger |
logger |
protected String |
user |
protected String |
version |
| Constructor and Description |
|---|
JCRAccountingEntry(org.gcube.common.homelibary.model.items.accounting.AccountingDelegate entryDelegate) |
JCRAccountingEntry(String id,
String user,
Calendar date) |
JCRAccountingEntry(String id,
String user,
Calendar date,
String version) |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getDate() |
abstract org.gcube.common.homelibary.model.items.accounting.AccountingEntryType |
getEntryType() |
String |
getUser() |
String |
getVersion() |
void |
save(JCRSession servlets) |
String |
toString() |
protected org.gcube.common.homelibary.model.items.accounting.AccountingDelegate entryDelegate
protected String user
protected Calendar date
protected String version
protected static org.slf4j.Logger logger
public JCRAccountingEntry(org.gcube.common.homelibary.model.items.accounting.AccountingDelegate entryDelegate)
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionpublic abstract org.gcube.common.homelibary.model.items.accounting.AccountingEntryType getEntryType()
getEntryType in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntrypublic String getUser()
getUser in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntrypublic Calendar getDate()
getDate in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntrypublic String getVersion()
getVersion in interface org.gcube.common.homelibrary.home.workspace.accounting.AccountingEntrypublic void save(JCRSession servlets) throws org.gcube.common.homelibrary.model.exceptions.RepositoryException
org.gcube.common.homelibrary.model.exceptions.RepositoryExceptionCopyright © 2017. All Rights Reserved.