public class OwAttrBagBasedUserOperationListener extends Object implements OwUserOperationListener
Listener for user operation. Details about user operation are saved in attribute bag.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Modifier and Type | Class and Description |
---|---|
static class |
OwAttrBagBasedUserOperationListener.OwDateValue
converter class for attribute bag value
|
Modifier and Type | Field and Description |
---|---|
static String |
USEROPERATION_BAG_NAME
the bag name
|
Constructor and Description |
---|
OwAttrBagBasedUserOperationListener(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
OwTableSpec attributeBagTable)
Constructor.
|
OwAttrBagBasedUserOperationListener(org.springframework.jdbc.core.JdbcTemplate jdbc_p,
String bagTableName_p)
Deprecated.
Will be replaced by
OwAttrBagBasedUserOperationListener(JdbcTemplate , OwTableSpec) . |
Modifier and Type | Method and Description |
---|---|
protected OwAttributeBagWriteable |
getAttributeBag(String userName_p,
String bagName_p,
String tableName_p)
Deprecated.
|
void |
operationPerformed(OwUserOperationEvent event_p)
Method called when login is performed
|
public static final String USEROPERATION_BAG_NAME
public OwAttrBagBasedUserOperationListener(org.springframework.jdbc.core.JdbcTemplate jdbc_p, String bagTableName_p)
OwAttrBagBasedUserOperationListener(JdbcTemplate , OwTableSpec)
.jdbc_p
- - the JDBC accessor.bagTableName_p
- - the table name where bags are stored.public OwAttrBagBasedUserOperationListener(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, OwTableSpec attributeBagTable)
jdbcTemplate
- the JDBC accessor.attributeBagTable
- the table where bags are stored.protected OwAttributeBagWriteable getAttributeBag(String userName_p, String bagName_p, String tableName_p) throws Exception
userName_p
- bagName_p
- tableName_p
- Exception
public void operationPerformed(OwUserOperationEvent event_p)
OwUserOperationListener
operationPerformed
in interface OwUserOperationListener
event_p
- - the user operation templateCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.