Package com.netscape.certsrv.tps.profile
Class ProfileClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.tps.profile.ProfileClient
-
public class ProfileClient extends Client
- Author:
- Endi S. Dewata
-
-
Constructor Summary
Constructors Constructor Description ProfileClient(PKIClient client)ProfileClient(PKIClient client, java.lang.String subsystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileDataaddProfile(ProfileData profileData)ProfileDatachangeProfileStatus(java.lang.String profileID, java.lang.String action)ProfileCollectionfindProfiles(java.lang.String filter, java.lang.Integer start, java.lang.Integer size)ProfileDatagetProfile(java.lang.String profileID)voidinit()voidremoveProfile(java.lang.String profileID)ProfileDataupdateProfile(java.lang.String profileID, ProfileData profileData)-
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
-
resource
public ProfileResource resource
-
-
Method Detail
-
init
public void init() throws java.lang.Exception- Throws:
java.lang.Exception
-
findProfiles
public ProfileCollection findProfiles(java.lang.String filter, java.lang.Integer start, java.lang.Integer size) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getProfile
public ProfileData getProfile(java.lang.String profileID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addProfile
public ProfileData addProfile(ProfileData profileData) throws java.lang.Exception
- Throws:
java.lang.Exception
-
updateProfile
public ProfileData updateProfile(java.lang.String profileID, ProfileData profileData) throws java.lang.Exception
- Throws:
java.lang.Exception
-
changeProfileStatus
public ProfileData changeProfileStatus(java.lang.String profileID, java.lang.String action) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeProfile
public void removeProfile(java.lang.String profileID) throws java.lang.Exception- Throws:
java.lang.Exception
-
-