|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProfileSubsystem
This represents the profile subsystem that manages a list of profiles.
Field Summary | |
---|---|
static java.lang.String |
ID
|
Method Summary | |
---|---|
boolean |
checkOwner()
Checks if owner id should be enforced during profile approval. |
IProfile |
createProfile(java.lang.String id,
java.lang.String classid,
java.lang.String className,
java.lang.String configFile)
Creates new profile. |
void |
createProfileConfig(java.lang.String id,
java.lang.String classId,
java.lang.String configPath)
Creates a new profile configuration file. |
void |
deleteProfile(java.lang.String id,
java.lang.String configFile)
Deletes profile. |
void |
disableProfile(java.lang.String id)
Disables a profile. |
void |
enableProfile(java.lang.String id,
java.lang.String enableBy)
Enables a profile. |
IProfile |
getProfile(java.lang.String id)
Retrieves a profile by id. |
java.lang.String |
getProfileClassId(java.lang.String id)
Retrieves the id of the implementation of the given profile. |
java.lang.String |
getProfileEnableBy(java.lang.String id)
Retrieves the approver of the given profile. |
java.util.Enumeration |
getProfileIds()
Retrieves a list of profile ids. |
boolean |
isProfileEnable(java.lang.String id)
Checks if a profile is approved by an agent or not. |
Methods inherited from interface com.netscape.certsrv.base.ISubsystem |
---|
getConfigStore, getId, init, setId, shutdown, startup |
Field Detail |
---|
static final java.lang.String ID
Method Detail |
---|
IProfile getProfile(java.lang.String id) throws EProfileException
EProfileException
- failed to retrieveboolean isProfileEnable(java.lang.String id)
id
- profile id
java.lang.String getProfileEnableBy(java.lang.String id)
id
- profile id
IProfile createProfile(java.lang.String id, java.lang.String classid, java.lang.String className, java.lang.String configFile) throws EProfileException
id
- profile idclassid
- implementation idclassName
- class NameconfigFile
- configuration file
EProfileException
- failed to create profilevoid deleteProfile(java.lang.String id, java.lang.String configFile) throws EProfileException
id
- profile idconfigFile
- configuration file
EProfileException
- failed to delete profilevoid createProfileConfig(java.lang.String id, java.lang.String classId, java.lang.String configPath) throws EProfileException
id
- profile idclassId
- implementation idconfigPath
- location to create the configuration file
failed
- to create profile
EProfileException
void enableProfile(java.lang.String id, java.lang.String enableBy) throws EProfileException
id
- profile idenableBy
- agent's user id
EProfileException
- failed to enable profilevoid disableProfile(java.lang.String id) throws EProfileException
id
- profile id
EProfileException
- failed to disablejava.lang.String getProfileClassId(java.lang.String id)
id
- profile id
java.util.Enumeration getProfileIds()
boolean checkOwner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |