Package com.netscape.cms.profile.updater
Interface IProfileUpdater
-
- All Superinterfaces:
com.netscape.certsrv.property.IConfigTemplate
- All Known Implementing Classes:
SubsystemGroupUpdater
public interface IProfileUpdater extends com.netscape.certsrv.property.IConfigTemplate
This interface represents an updater that will be called when the request's state changes.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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(Profile profile, IConfigStore config)
Initializes this default policy.void
update(com.netscape.certsrv.request.IRequest req, com.netscape.certsrv.request.RequestStatus status)
Notifies of state change.
-
-
-
Method Detail
-
init
void init(Profile profile, IConfigStore config) throws com.netscape.certsrv.profile.EProfileException
Initializes this default policy.- Parameters:
profile
- owner of this policyconfig
- configuration store- Throws:
com.netscape.certsrv.profile.EProfileException
- failed to initialize
-
getConfigStore
IConfigStore getConfigStore()
Retrieves configuration store.- Returns:
- configuration store
-
update
void update(com.netscape.certsrv.request.IRequest req, com.netscape.certsrv.request.RequestStatus status) throws com.netscape.certsrv.profile.EProfileException
Notifies of state change.- Parameters:
req
- requeststatus
- The status to check for.- Throws:
com.netscape.certsrv.profile.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
-
-