|
Clearspace API (1.10.16) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileFieldService
Defines methods used to create, access, update, and remove profile fields data. All user profile data is managed via the ProfileService.
| Method Summary | |
|---|---|
ProfileField |
createProfileField(ProfileField field)
Creates a new profile field. |
void |
deleteProfileField(long fieldID)
Removes a profile field from the system. |
void |
editProfileField(ProfileField field)
Edits the profile field data. |
void |
editProfileFieldOptions(ProfileField field)
Edits the ProfileFieldOption objects for a profile field. |
ProfileField |
getProfileField(long fieldID)
Gets a profile field object by its id. |
ProfileField[] |
getProfileFields()
Gets the list of all profile fields in the system. |
void |
setIndex(long fieldID,
int newIndex)
Sets the index of the profile field. |
| Method Detail |
|---|
ProfileField createProfileField(ProfileField field)
throws UnauthorizedException
field - the new profile field to create.
UnauthorizedException - if not the system admin.ProfileField getProfileField(long fieldID)
fieldID - the id of the profile field.
void editProfileField(ProfileField field)
throws UnauthorizedException
field - the profile field to edit.
UnauthorizedException - if not the system admin.
void editProfileFieldOptions(ProfileField field)
throws UnauthorizedException
ProfileFieldOption objects for a profile field.
field - the field containing the edited ProfileFieldOption objects.
UnauthorizedException - if not the system admin.
void deleteProfileField(long fieldID)
throws UnauthorizedException
ProfileFieldOption objects associated with the field.
fieldID - the id of the field to remove
UnauthorizedException - if not the system admin.ProfileField[] getProfileFields()
void setIndex(long fieldID,
int newIndex)
throws UnauthorizedException
fieldID - the profile field id to adjust the index of.newIndex - the new index value for the field.
UnauthorizedException - if not the system admin.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||