public class ResourceHistoryFactory extends Object implements IResourceHistoryFactory
Constructor and Description |
---|
ResourceHistoryFactory() |
Modifier and Type | Method and Description |
---|---|
ResourceHistory |
newResourceHistory(int nIdResource,
String strResourceType,
Action action,
String strUserAccessCode,
boolean isAutomatic)
Instanciate a new
ResourceHistory |
ResourceHistory |
newResourceHistory(int nIdResource,
String strResourceType,
Action action,
String strUserAccessCode,
boolean isAutomatic,
fr.paris.lutece.api.user.User user)
Instanciate a new
ResourceHistory |
public ResourceHistory newResourceHistory(int nIdResource, String strResourceType, Action action, String strUserAccessCode, boolean isAutomatic, fr.paris.lutece.api.user.User user)
ResourceHistory
newResourceHistory
in interface IResourceHistoryFactory
nIdResource
- the id resourcestrResourceType
- the resource typeaction
- the actionstrUserAccessCode
- the user access codeisAutomatic
- true if the action is executed automatically, false otherwiseuser
- the UserResourceHistory
public ResourceHistory newResourceHistory(int nIdResource, String strResourceType, Action action, String strUserAccessCode, boolean isAutomatic)
ResourceHistory
newResourceHistory
in interface IResourceHistoryFactory
nIdResource
- the id resourcestrResourceType
- the resource typeaction
- the actionstrUserAccessCode
- the user access codeisAutomatic
- true if the action is executed automatically, false otherwiseResourceHistory
Copyright © 2020 City of Paris. All rights reserved.