|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileFieldManager
Defines methods used to create, access, update, and remove profile fields data.
All user profile data is managed via the ProfileManager.
| 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. |
List<ProfileField> |
getCustomFields()
Returns a list of all profile fields added by the administrator. |
List<ProfileField> |
getDefaultFields()
Returns a list of all default profile fields. |
List<ProfileField> |
getExternallyManagedFields()
Returns a list of all profile fields whose values are pulled from an external system such as LDAP. |
List<ProfileField> |
getFilterableFields()
Returns a list of all filterable profile fields. |
ProfileField |
getProfileField(long fieldID)
Gets a profile field object by its id. |
ProfileField |
getProfileField(String profileFieldName)
Gets a profile field object by its name or null if the field name is not found. |
List<ProfileField> |
getProfileFields()
Gets the list of all profile fields in the system. |
void |
setIndex(ProfileField field,
int newIndex)
Sets the index of the profile field. |
| Methods inherited from interface com.jivesoftware.community.JiveManager |
|---|
destroy |
| Method Detail |
|---|
ProfileField createProfileField(ProfileField field)
throws com.jivesoftware.util.AlreadyExistsException,
UnauthorizedException
field - the new profile field to create.
com.jivesoftware.util.AlreadyExistsException - if a field with that ID or name already exists.
UnauthorizedException - if not the system admin.ProfileField getProfileField(long fieldID)
fieldID - the id of the profile field.
ProfileField getProfileField(String profileFieldName)
profileFieldName - the name of the profile field.
List<ProfileField> getDefaultFields()
List<ProfileField> getCustomFields()
List<ProfileField> getExternallyManagedFields()
List<ProfileField> getFilterableFields()
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.List<ProfileField> getProfileFields()
void setIndex(ProfileField field,
int newIndex)
throws UnauthorizedException
field - the profile field 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 | |||||||||