Package com.netscape.cms.profile.updater
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$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IConfigStoregetConfigStore()Retrieves configuration store.java.lang.StringgetName(java.util.Locale locale)Retrieves the localizable name of this policy.java.lang.StringgetText(java.util.Locale locale)Retrieves the localizable description of this policy.voidinit(Profile profile, IConfigStore config)Initializes this default policy.voidupdate(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(Profile profile, IConfigStore config) throws EProfileException
Initializes this default policy.- Parameters:
profile- owner of this policyconfig- 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- requeststatus- 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
-
-