public class UserUsageTrackingComponent extends org.springframework.extensions.surf.util.AbstractLifecycleBean implements NodeServicePolicies.OnCreateNodePolicy
Policy.ArgQNAME| 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(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(NodeService nodeService) |
void |
setPersonStoreUrl(String storeUrl) |
void |
setPolicyComponent(PolicyComponent policyComponent) |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
void |
setTenantService(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(NodeService nodeService)
public void setUsageDAO(UsageDAO usageDAO)
public void setUsageService(UsageService usageService)
public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setTenantService(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.AbstractLifecycleBeanpublic void bootstrapInternal()
public void onCreateNode(ChildAssociationRef childAssocRef)
NodeServicePolicies.OnCreateNodePolicyonCreateNode in interface NodeServicePolicies.OnCreateNodePolicychildAssocRef - the created child association referenceprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBeanCopyright © 2005–2021 Alfresco Software. All rights reserved.