Package com.netscape.certsrv.profile
Class ProfileClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.profile.ProfileClient
-
public class ProfileClient extends Client
- Author:
- Ade Lee
-
-
Field Summary
Fields Modifier and Type Field Description ProfileResource
profileClient
-
Constructor Summary
Constructors Constructor Description ProfileClient(PKIClient client, java.lang.String subsystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileData
createProfile(ProfileData data)
byte[]
createProfileRaw(byte[] properties)
void
deleteProfile(java.lang.String id)
void
disableProfile(java.lang.String id)
void
enableProfile(java.lang.String id)
void
init()
ProfileDataInfos
listProfiles(java.lang.Integer start, java.lang.Integer size)
ProfileData
modifyProfile(ProfileData data)
byte[]
modifyProfileRaw(java.lang.String profileId, byte[] properties)
ProfileData
retrieveProfile(java.lang.String id)
byte[]
retrieveProfileRaw(java.lang.String id)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
-
-
-
-
Field Detail
-
profileClient
public ProfileResource profileClient
-
-
Constructor Detail
-
ProfileClient
public ProfileClient(PKIClient client, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
retrieveProfile
public ProfileData retrieveProfile(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
retrieveProfileRaw
public byte[] retrieveProfileRaw(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
listProfiles
public ProfileDataInfos listProfiles(java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
enableProfile
public void enableProfile(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
disableProfile
public void disableProfile(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createProfile
public ProfileData createProfile(ProfileData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createProfileRaw
public byte[] createProfileRaw(byte[] properties) throws java.lang.Exception
- Throws:
java.lang.Exception
-
modifyProfile
public ProfileData modifyProfile(ProfileData data) throws java.lang.Exception
- Throws:
java.lang.Exception
-
modifyProfileRaw
public byte[] modifyProfileRaw(java.lang.String profileId, byte[] properties) throws java.lang.Exception
- Throws:
java.lang.Exception
-
deleteProfile
public void deleteProfile(java.lang.String id) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-