|
Clearspace API (2.0.15) 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 | |
|---|---|
WSProfileField |
createProfileField(WSProfileField field)
Creates a new profile field. |
void |
deleteProfileField(long fieldID)
Removes a profile field from the system. |
void |
editProfileField(WSProfileField field)
Edits the profile field data. |
void |
editProfileFieldOptions(WSProfileField field)
Edits the com.jivesoftware.community.profile.ProfileFieldOption objects for a profile field. |
WSProfileField[] |
getDefaultFields()
Returns a list of all default profile fields. |
WSProfileField |
getProfileField(long fieldID)
Gets a profile field object by its id. |
WSProfileField[] |
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 |
|---|
WSProfileField createProfileField(WSProfileField field)
throws UnauthorizedException
field - the new profile field to create.
UnauthorizedException - if not the system admin.WSProfileField getProfileField(long fieldID)
fieldID - the id of the profile field.
void editProfileField(WSProfileField field)
throws UnauthorizedException
field - the profile field to edit.
UnauthorizedException - if not the system admin.
void editProfileFieldOptions(WSProfileField field)
throws UnauthorizedException
com.jivesoftware.community.profile.ProfileFieldOption objects for a profile field.
field - the field containing the edited com.jivesoftware.community.profile.ProfileFieldOption objects.
UnauthorizedException
void deleteProfileField(long fieldID)
throws UnauthorizedException
WSProfileFieldOption objects associated with the field.
fieldID - the id of the field to remove
UnauthorizedException - if not the system admin.WSProfileField[] 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.WSProfileField[] getDefaultFields()
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||