public class ProfileAdministrationService
extends org.gcube.common.core.porttypes.GCUBEPortType
| Constructor and Description |
|---|
ProfileAdministrationService()
The default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.core.types.VOID |
createUserProfile(String username)
This method creates a new user profile.
|
org.gcube.common.core.types.VOID |
dropUserProfile(String username)
This method deletes the user's profile.
|
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext() |
org.gcube.common.core.types.VOID |
setDefaultProfile(String profile)
This method sets the default user profile as a generic resource to the IS.
|
org.gcube.common.core.types.VOID |
validateProfile(org.gcube.personalization.profileadministration.stubs.ValidateProfile params)
This method validates the default user profile with the given schema
|
public ProfileAdministrationService()
throws org.gcube.common.core.faults.GCUBEFault
org.gcube.common.core.faults.GCUBEFault - Failed to contact the IS clientprotected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortTypepublic org.gcube.common.core.types.VOID setDefaultProfile(String profile) throws org.gcube.common.core.faults.GCUBEFault
profile - The default profileorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID createUserProfile(String username) throws org.gcube.common.core.faults.GCUBEFault
userName - It is used as the logical name of the document with the profileorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID dropUserProfile(String username) throws org.gcube.common.core.faults.GCUBEFault
username - The logical name of the documentorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID validateProfile(org.gcube.personalization.profileadministration.stubs.ValidateProfile params)
throws org.gcube.common.core.faults.GCUBEFault
userName - It is used to find the resource of the user's profile.validationSchema - The path where the schema file is stored.org.gcube.common.core.faults.GCUBEFault - an error occurredCopyright © 2015. All Rights Reserved.