|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.common.core.porttypes.GCUBEPortType
org.gcube.personalization.profileadministration.impl.ProfileAdministrationService
public class ProfileAdministrationService
| Field Summary |
|---|
| Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
|---|
initialized |
| Constructor Summary | |
|---|---|
ProfileAdministrationService()
The default constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
|---|
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileAdministrationService()
throws org.gcube.common.core.faults.GCUBEFault
org.gcube.common.core.faults.GCUBEFault - Failed to contact the IS client| Method Detail |
|---|
protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType
public org.gcube.common.core.types.VOID setDefaultProfile(String profile)
throws org.gcube.common.core.faults.GCUBEFault
profile - The default profile
org.gcube.common.core.faults.GCUBEFault - an error occurred
public 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 profile
org.gcube.common.core.faults.GCUBEFault - an error occurred
public org.gcube.common.core.types.VOID dropUserProfile(String username)
throws org.gcube.common.core.faults.GCUBEFault
username - The logical name of the document
org.gcube.common.core.faults.GCUBEFault - an error occurred
public 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 occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||