diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java b/pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java index 6f2fef378..b7a68445b 100644 --- a/pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java +++ b/pki/base/common/src/com/netscape/certsrv/profile/IProfileSubsystem.java @@ -17,16 +17,14 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.certsrv.profile; - import java.util.Enumeration; import com.netscape.certsrv.base.ISubsystem; - /** - * This represents the profile subsystem that manages + * This represents the profile subsystem that manages * a list of profiles. - * + * * @version $Revision$, $Date$ */ public interface IProfileSubsystem extends ISubsystem { @@ -34,16 +32,16 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves a profile by id. - * + * * @return profile * @exception EProfileException failed to retrieve */ public IProfile getProfile(String id) - throws EProfileException; + throws EProfileException; /** * Checks if a profile is approved by an agent or not. - * + * * @param id profile id * @return true if profile is approved */ @@ -51,7 +49,7 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves the approver of the given profile. - * + * * @param id profile id * @return user id of the agent who has approved the profile */ @@ -59,60 +57,60 @@ public interface IProfileSubsystem extends ISubsystem { /** * Creates new profile. - * + * * @param id profile id * @param classid implementation id * @param className class Name * @param configFile configuration file * @exception EProfileException failed to create profile */ - public IProfile createProfile(String id, String classid, - String className, String configFile) - throws EProfileException; + public IProfile createProfile(String id, String classid, + String className, String configFile) + throws EProfileException; /** * Deletes profile. - * + * * @param id profile id * @param configFile configuration file * @exception EProfileException failed to delete profile */ - public void deleteProfile(String id, String configFile) - throws EProfileException; + public void deleteProfile(String id, String configFile) + throws EProfileException; /** * Creates a new profile configuration file. - * + * * @param id profile id * @param classId implementation id * @param configPath location to create the configuration file * @exception failed to create profile */ public void createProfileConfig(String id, String classId, - String configPath) throws EProfileException; + String configPath) throws EProfileException; /** * Enables a profile. - * + * * @param id profile id * @param enableBy agent's user id * @exception EProfileException failed to enable profile */ public void enableProfile(String id, String enableBy) - throws EProfileException; + throws EProfileException; /** * Disables a profile. - * + * * @param id profile id * @exception EProfileException failed to disable */ public void disableProfile(String id) - throws EProfileException; + throws EProfileException; /** * Retrieves the id of the implementation of the given profile. - * + * * @param id profile id * @return implementation id managed by the registry */ @@ -121,14 +119,14 @@ public interface IProfileSubsystem extends ISubsystem { /** * Retrieves a list of profile ids. The return * list is of type String. - * + * * @return a list of profile ids */ - public Enumeration<String> getProfileIds(); + public Enumeration<String> getProfileIds(); /** * Checks if owner id should be enforced during profile approval. - * + * * @return true if approval should be checked */ public boolean checkOwner(); |