public class AggregatedPortletUsageRecord extends AbstractPortletUsageRecord implements AggregatedUsageRecord<AggregatedPortletUsageRecord,PortletUsageRecord>
UsageRecord.OperationResultMESSAGE, OPERATION_ID, PORTLET_ID, USER_IDCONSUMER_ID, OPERATION_RESULT, SCOPEaggregatedFields, computedFields, CREATION_TIME, ID, RECORD_TYPE, requiredFields, resourceProperties, validationAGGREGATED, END_TIME, OPERATION_COUNT, START_TIME| Constructor and Description |
|---|
AggregatedPortletUsageRecord() |
AggregatedPortletUsageRecord(Map<String,Comparable<? extends Serializable>> properties) |
AggregatedPortletUsageRecord(PortletUsageRecord portletUsageRecord) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedPortletUsageRecord |
aggregate(AggregatedPortletUsageRecord record) |
AggregatedPortletUsageRecord |
aggregate(PortletUsageRecord record) |
Class<PortletUsageRecord> |
getAggregable() |
Calendar |
getEndTime() |
int |
getOperationCount() |
Calendar |
getStartTime() |
void |
setEndTime(Calendar endTime) |
void |
setOperationCount(int operationCount) |
void |
setStartTime(Calendar startTime) |
getMessage, getOperationId, getPortletId, giveMeRecordType, setMessage, setOperationId, setPortletIdgetConsumerId, getOperationResult, getScope, init, setConsumerId, setOperationResult, setScopecleanExtraFields, compareTo, getAllFields, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, getStartTimeAsCalendar, getStartTimeInMillis, initializeValidation, setCreationTime, setId, setRecordType, setResourceProperties, setResourceProperty, timestampStringToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCreationTime, getId, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, validatecompareTopublic AggregatedPortletUsageRecord()
public AggregatedPortletUsageRecord(Map<String,Comparable<? extends Serializable>> properties) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic AggregatedPortletUsageRecord(PortletUsageRecord portletUsageRecord) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic int getOperationCount()
getOperationCount in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>getOperationCount in class org.gcube.documentstore.records.implementation.AbstractRecordpublic void setOperationCount(int operationCount)
throws org.gcube.documentstore.exception.InvalidValueException
setOperationCount in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>setOperationCount in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getStartTime()
getStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>public void setStartTime(Calendar startTime) throws org.gcube.documentstore.exception.InvalidValueException
setStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>setStartTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getEndTime()
getEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>public void setEndTime(Calendar endTime) throws org.gcube.documentstore.exception.InvalidValueException
setEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>setEndTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic AggregatedPortletUsageRecord aggregate(AggregatedPortletUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic AggregatedPortletUsageRecord aggregate(PortletUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic Class<PortletUsageRecord> getAggregable()
getAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedPortletUsageRecord,PortletUsageRecord>Copyright © 2015. All Rights Reserved.