com.netscape.certsrv.profile
Interface IProfileUpdater

All Superinterfaces:
IConfigTemplate
All Known Implementing Classes:
SubsystemGroupUpdater

public interface IProfileUpdater
extends IConfigTemplate

This interface represents an updater that will be called when the request's state changes.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 IConfigStore getConfigStore()
          Retrieves configuration store.
 java.lang.String getName(java.util.Locale locale)
          Retrieves the localizable name of this policy.
 java.lang.String getText(java.util.Locale locale)
          Retrieves the localizable description of this policy.
 void init(IProfile profile, IConfigStore config)
          Initializes this default policy.
 void update(IRequest req, RequestStatus status)
          Notifies of state change.
 
Methods inherited from interface com.netscape.certsrv.property.IConfigTemplate
getConfig, getConfigDescriptor, getConfigNames, setConfig
 

Method Detail

init

void init(IProfile profile,
          IConfigStore config)
          throws EProfileException
Initializes this default policy.

Parameters:
profile - owner of this policy
config - configuration store
Throws:
EProfileException - failed to initialize

getConfigStore

IConfigStore getConfigStore()
Retrieves configuration store.

Returns:
configuration store

update

void update(IRequest req,
            RequestStatus status)
            throws EProfileException
Notifies of state change.

Parameters:
req - request
status - The status to check for.
Throws:
EProfileException - failed to populate

getName

java.lang.String getName(java.util.Locale locale)
Retrieves the localizable name of this policy.

Parameters:
locale - user locale
Returns:
output policy name

getText

java.lang.String getText(java.util.Locale locale)
Retrieves the localizable description of this policy.

Parameters:
locale - user locale
Returns:
output policy description