com.waveset.object
Class ReportCounter

java.lang.Object
  extended bycom.waveset.object.PersistentObject
      extended bycom.waveset.object.ReportCounter
All Implemented Interfaces:
java.lang.Comparable, javax.naming.Referenceable, XmlObject

Deprecated. This class no longer is used, usage reports now count audit records instead of having another object. Will eventually delete this class, but want to remove all existing objects of this type during upgrade first. Release have 2.5 we can remove this type.

public class ReportCounter
extends PersistentObject


Nested Class Summary
 
Nested classes inherited from class com.waveset.object.PersistentObject
PersistentObject.Comparator, PersistentObject.InitialInstance
 
Field Summary
 
Fields inherited from class com.waveset.object.PersistentObject
_trace, trace
 
Constructor Summary
ReportCounter(org.w3c.dom.Element e)
          Deprecated.  
ReportCounter(java.lang.String name, java.lang.String counterDay)
          Deprecated.  
 
Method Summary
 void accumilate(java.lang.String newDateString)
          Deprecated.  
protected  void addSubclassAttributes(java.lang.StringBuffer b)
          Deprecated. Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
protected  void addSubclassElements(java.lang.StringBuffer b)
          Deprecated. Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist).
 java.lang.String getCurrentDay()
          Deprecated.  
 long getNumOfEntries(java.util.Date date)
          Deprecated. Get the number of events on a given date.
 java.util.ArrayList getNumOfEntries(java.util.Date fromDate, java.util.Date toDate)
          Deprecated. Get the number of events from a date to a date.
 long getTotalEntries()
          Deprecated.  
 Type getType()
          Deprecated. Returns the associated Type object.
protected  void parseSubclassAttributes(org.w3c.dom.Element e)
          Deprecated. Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).
protected  void parseSubclassElements(org.w3c.dom.Element e)
          Deprecated. Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).
 void setCurrentDay(java.lang.String currentDay)
          Deprecated.  
 
Methods inherited from class com.waveset.object.PersistentObject
addCommonElements, addEndTag, addMemberObjectGroup, addMemberObjectGroup, addPersistentAttributes, addStartTag, addSummaryAttributes, addXmlHeader, attributesMatch, attributesMatch, attributesMatch, checkReference, checkReferences, clearId, cloneAs, cloneObject, compareTo, create, create, create, create, createLastModItem, createLastModItem, createLastModItemList, directObjectGroupMember, dump, dumpFile, equals, fakeId, getAttribute, getAttributeValues, getAttributeValues, getAuthReferences, getAuthType, getBasicAttributes, getBasicAttributes, getBasicAttributes, getCache, getCounterValue, getCreateDate, getCreator, getDisplayableName, getDisplayName, getElementName, getEncryptedValues, getId, getIdOrName, getInitialInstances, getLastMod, getLastModDate, getLastModifier, getLastModItemId, getLockInfo, getMemberObjectGroupRefs, getMemberObjectGroupRefsUpTo, getMemberObjectGroups, getName, getNameOrId, getProperties, getProperty, getPropertyAsString, getPropertyList, getQueryableAttributes, getReference, getReferences, getRuleDrivenMemberObjectGroupRefs, getRuleDrivenMemberObjectGroupRefsUpTo, getRuleDrivenMemberObjectGroups, getSubtype, getSummaryAttributes, getSummaryString, hasEncryptedData, hashCode, identityEquals, isAlias, isHidden, isId, isProtected, isProtectedFromDelete, isReferencedIn, listOperationalAttributes, listQueryableAttributes, listQueryableReferenceAttributes, listSummaryAttributes, objectGroupMember, objectGroupMemberRef, parseCommonElement, parseCommonElements, parsePersistentAttributes, parseXml, parseXml, prepareForSerialization, prepareToSerialize, println, reEncrypt, reEncryptSubclassAttributes, removeMemberObjectGroup, removeProperty, resolve, resolve, resolve, resolveArray, resolveArrayByFetching, resolveObjectReference, resolveObjectReferences, resolveReference, resolveSummaryAttributes, resolveSummaryAttributes, ruleDrivenObjectGroupMemberRef, setAuthType, setAuthType, setCache, setCreateDate, setCreator, setDisplayName, setDisplayName, setHidden, setIsAlias, setLastMod, setLastMod, setLastModDate, setLastModifier, setMemberObjectGroupRef, setMemberObjectGroupRefs, setMemberObjectGroups, setName, setProperties, setProperty, setPropertyList, setProtected, setProtectedFromDelete, setRuleDrivenMembersCache, setSubtype, setTrace, toString, toXml, toXml, toXml, toXmlFile, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportCounter

public ReportCounter(java.lang.String name,
                     java.lang.String counterDay)
Deprecated. 

ReportCounter

public ReportCounter(org.w3c.dom.Element e)
              throws WavesetException
Deprecated. 
Method Detail

getType

public Type getType()
Deprecated. 
Returns the associated Type object.

Specified by:
getType in class PersistentObject

getNumOfEntries

public long getNumOfEntries(java.util.Date date)
Deprecated. 
Get the number of events on a given date.


getTotalEntries

public long getTotalEntries()
Deprecated. 

getCurrentDay

public java.lang.String getCurrentDay()
Deprecated. 

setCurrentDay

public void setCurrentDay(java.lang.String currentDay)
Deprecated. 

accumilate

public void accumilate(java.lang.String newDateString)
Deprecated. 

getNumOfEntries

public java.util.ArrayList getNumOfEntries(java.util.Date fromDate,
                                           java.util.Date toDate)
Deprecated. 
Get the number of events from a date to a date. Return an arrayList of Counters.


addSubclassAttributes

protected void addSubclassAttributes(java.lang.StringBuffer b)
Deprecated. 
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassAttributes() so that the subclass attributes are restored.

Overrides:
addSubclassAttributes in class PersistentObject
See Also:


addSubclassElements

protected void addSubclassElements(java.lang.StringBuffer b)
Deprecated. 
Description copied from class: PersistentObject
Each concrete subclass may append to the buffer an XML representation of any fields it adds to PersistentObject (if those field values must persist). PersistentObject's default implementation is a no-op.

NOTE: Any subclass that overrides this method must similarly override parseSubclassElements() so that the subclass elements are restored.

Overrides:
addSubclassElements in class PersistentObject
See Also:


parseSubclassAttributes

protected void parseSubclassAttributes(org.w3c.dom.Element e)
                                throws WavesetException
Deprecated. 
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific fields (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassAttributes in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)

parseSubclassElements

protected void parseSubclassElements(org.w3c.dom.Element e)
                              throws WavesetException
Deprecated. 
Description copied from class: PersistentObject
Each concrete subclass should parse from the XML buffer any persisted subclass-specific elements (generally, the same ones that it writes into the buffer).

Overrides:
parseSubclassElements in class PersistentObject
Throws:
WavesetException
See Also:

PersistentObject's default implementation is a no-op.

, PersistentObject.parseXml(Element)