Package com.easydesk.attribute
Class SpooledCounterAttribute
- All Implemented Interfaces:
Countable,Viewable,Cacheable,Observed,Retrievable,Serializable,ColumnAccessByName,ObjectModel,Persistent
- Direct Known Subclasses:
PropagateCounterAttribute
주기적으로 Scheduler 에서 확인하고 누적 수를 저장한다. CounterToucher 는 모든 Client 에서 동작하여야 한다.
- Version:
- $Revision: 1.22 $ $Date: 2008/12/25 04:03:44 $
- Author:
- 조 영 호
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.easydesk.om.AttributeValue
AttributeValue.AccessEnum -
Field Summary
Fields inherited from class com.easydesk.om.AttributeValue
activitySet, chainedFields inherited from interface com.easydesk.attribute.Countable
ONE, WHITE_COLORFields inherited from interface com.easydesk.validator.Retrievable
KEY_SEPERATOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.easydesk.attribute.CounterAttribute
add, getColor, getTotalCounts, remove, removeCount, removeCountsMethods inherited from class com.easydesk.attribute.NumericAttribute
getLowerBound, getLowerValue, getRangePattern, getSortableString, getUpperBound, getUpperValue, hasValue, setNumericValueMethods inherited from class com.easydesk.attribute.StringAttribute
getLocalizedValue, getLocalizedValueMethods inherited from class com.easydesk.attribute.FreeFormAttribute
getDisplayedValue, getDisplayedValue, getFormatter, init, loadResources, setResourcesMethods inherited from class com.easydesk.om.AttributeValue
alwaysNeedActivity, clear, copy, copy, endActivitySet, getActivity, getActivityDescription, getAttachment, getChainedValue, getChainedValue, getChainedValue, getInputValue, getLocalizedValue, getLocalizedValue, getLocalizedValue, getLocalizedValues, getLocalizedValues, getMethodCache, getModuleAttribute, getNewInstance, getNewInstance, getNumericValues, getNumericValues, getNumericValuesAsString, getNumericValuesAsString, getObserverOption, getOptionIdAsString, getOptionIds, getOptionIds, getOptionIdsAsString, getOptionIdsAsString, getOptionValues, getPossibleTransitionCount, getPossibleTransitionCount, getPrimitiveOptionIds, getPrimitiveUserIds, getQueryKey, getRelativePath, getRelativePath, getRepository, getResource, getTransactionId, getUser, getUserIds, getValueList, getValueList, getValues, getValues, getValuesAsString, getValuesAsString, hasAlreadyChained, isModified, isQuickSearchAttribute, isSet, isSetOnly, needActivity, performAfter, performBefore, register, save, setActivity, setActivityDescription, setAttachment, setChainedValue, setInputValue, setNumericValue, setNumericValueOnly, setNumericValues, setOptionId, setOptionIdOnly, setOptionIds, setOptionValues, setPrimitiveOptionIds, setPrimitiveUserIds, setProperties, setTransactionId, setUser, setUserId, setUserIdOnly, setUserIds, setValue, setValueOnly, setValues, startActivitySet, toStringMethods inherited from class com.easydesk.om.BaseAttributeValue
copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getAttribute, getAttribute, getAttributeId, getAttributeOption, getAttributeOption, getByName, getByPeerName, getByPosition, getDepend, getDepend, getDependId, getEasyDeskUserImpl, getEasyDeskUserImpl, getFieldNames, getForeignKeyForAttribute, getForeignKeyForAttributeOption, getForeignKeyForDepend, getForeignKeyForEasyDeskUserImpl, getForeignKeyForItem, getItem, getItem, getItemId, getNumericValue, getOptionId, getPeer, getPrimaryKey, getTableMap, getUserId, getValue, getValueId, hashCode, isCacheOnSave, isDeleted, isLoading, isModified, isNew, isRemoved, isSaving, resetModified, save, save, setAttribute, setAttributeId, setAttributeKey, setAttributeOption, setAttributeOptionKey, setByName, setByPeerName, setByPosition, setDeleted, setDepend, setDependId, setDependKey, setEasyDeskUserImpl, setEasyDeskUserImplKey, setItem, setItemId, setItemKey, setLoading, setModified, setNew, setPrimaryKey, setPrimaryKey, setRemoved, setSaving, setValueId, valueEqualsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.easydesk.attribute.Viewable
getComponentName
-
Constructor Details
-
SpooledCounterAttribute
public SpooledCounterAttribute()
-
-
Method Details
-
addCounts
public void addCounts(int counts) DOCUMENT ME!- Specified by:
addCountsin interfaceCountable- Overrides:
addCountsin classCounterAttribute- Parameters:
counts- DOCUMENT ME!
-
addCount
public void addCount()DOCUMENT ME!- Specified by:
addCountin interfaceCountable- Overrides:
addCountin classCounterAttribute
-
addItemCounter
public boolean addItemCounter()ItemCounter 를 생성하는지 -
addSpool
protected void addSpool(int count) count 를 caching 하였다가 주기적으로 저장한다.- Parameters:
count-
-