限定符和类型 | 字段和说明 |
---|---|
private CacheEntity<java.lang.Long,ClickStatistics> |
contentCache |
private CacheEntity<java.lang.Long,ClickStatistics> |
contentFileCache |
private CmsContentFileService |
contentFileService |
private CmsContentService |
contentService |
protected FileUploadComponent |
fileUploadComponent |
protected org.apache.commons.logging.Log |
log |
private MetadataComponent |
metadataComponent |
private CacheEntity<java.lang.Long,PlaceClickStatistics> |
placeCache |
private CmsPlaceService |
placeService |
protected SiteComponent |
siteComponent |
private CacheEntity<java.lang.Long,ClickStatistics> |
tagCache |
private CmsTagService |
tagService |
private CacheEntity<java.lang.Long,ClickStatistics> |
wordCache |
private CmsWordService |
wordService |
构造器和说明 |
---|
StatisticsComponent() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
ClickStatistics |
contentClicks(SysSite site,
java.lang.Long id) |
ClickStatistics |
contentFileClicks(SysSite site,
CmsContent content,
java.lang.Long id) |
ClickStatistics |
getContentStatistics(java.lang.Long id) |
java.lang.Integer |
getPlaceClicks(java.lang.Long id) |
void |
initCache(CacheEntityFactory cacheEntityFactory) |
ClickStatistics |
placeClicks(SysSite site,
java.lang.Long id) |
ClickStatistics |
search(short siteId,
java.lang.String word,
java.lang.String ip) |
ClickStatistics |
searchTag(java.lang.Long id) |
protected final org.apache.commons.logging.Log log
private CacheEntity<java.lang.Long,ClickStatistics> contentCache
private CacheEntity<java.lang.Long,ClickStatistics> contentFileCache
private CacheEntity<java.lang.Long,PlaceClickStatistics> placeCache
private CacheEntity<java.lang.Long,ClickStatistics> wordCache
private CacheEntity<java.lang.Long,ClickStatistics> tagCache
private CmsContentService contentService
private CmsContentFileService contentFileService
protected FileUploadComponent fileUploadComponent
private CmsPlaceService placeService
private CmsWordService wordService
private CmsTagService tagService
private MetadataComponent metadataComponent
protected SiteComponent siteComponent
public ClickStatistics searchTag(java.lang.Long id)
id
- public ClickStatistics search(short siteId, java.lang.String word, java.lang.String ip)
siteId
- word
- ip
- public ClickStatistics placeClicks(SysSite site, java.lang.Long id)
site
- id
- public ClickStatistics contentClicks(SysSite site, java.lang.Long id)
site
- id
- public ClickStatistics contentFileClicks(SysSite site, CmsContent content, java.lang.Long id)
site
- content
- id
- public ClickStatistics getContentStatistics(java.lang.Long id)
id
- public java.lang.Integer getPlaceClicks(java.lang.Long id)
id
- public void initCache(CacheEntityFactory cacheEntityFactory) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
cacheEntityFactory
- java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException