public class UserUsageTrackingComponent extends org.springframework.extensions.surf.util.AbstractLifecycleBean implements NodeServicePolicies.OnCreateNodePolicy
Policy.Arg
QNAME
Constructor and Description |
---|
UserUsageTrackingComponent() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrapInternal() |
void |
execute() |
void |
init()
Spring bean init method
|
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
void |
onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
Called when a new node has been created.
|
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
void |
setClearBatchSize(int clearBatchSize) |
void |
setContentUsageImpl(ContentUsageImpl contentUsageImpl) |
void |
setEnabled(boolean enabled) |
void |
setJobLockService(JobLockService jobLockService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPersonStoreUrl(String storeUrl) |
void |
setPolicyComponent(PolicyComponent policyComponent) |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService) |
void |
setTransactionService(TransactionServiceImpl transactionService) |
void |
setUpdateBatchSize(int updateBatchSize) |
void |
setUsageDAO(UsageDAO usageDAO) |
void |
setUsageService(UsageService usageService) |
public void init()
public void setPolicyComponent(PolicyComponent policyComponent)
public void setTransactionService(TransactionServiceImpl transactionService)
public void setContentUsageImpl(ContentUsageImpl contentUsageImpl)
public void setPersonStoreUrl(String storeUrl)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setUsageDAO(UsageDAO usageDAO)
public void setUsageService(UsageService usageService)
public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setClearBatchSize(int clearBatchSize)
public void setUpdateBatchSize(int updateBatchSize)
public void setEnabled(boolean enabled)
public void setJobLockService(JobLockService jobLockService)
public void execute()
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
public void bootstrapInternal()
public void onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
NodeServicePolicies.OnCreateNodePolicy
onCreateNode
in interface NodeServicePolicies.OnCreateNodePolicy
childAssocRef
- the created child association referenceprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown
in class org.springframework.extensions.surf.util.AbstractLifecycleBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.