|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.profiles.ProfileFieldManagerImpl
public class ProfileFieldManagerImpl
Field Summary | |
---|---|
protected static java.lang.String |
SHIFT_FIELD_INDEX_DOWN
|
protected static java.lang.String |
SHIFT_FIELD_INDEX_UP
|
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. |
static ProfileFieldManager |
getInstance()
Provides singleton access to a ProfileFieldManagerImpl instance. |
ProfileField |
getProfileField(long fieldID)
Gets a profile field object by its id. |
java.util.List |
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String SHIFT_FIELD_INDEX_UP
protected static final java.lang.String SHIFT_FIELD_INDEX_DOWN
Method Detail |
---|
public static ProfileFieldManager getInstance()
public ProfileField createProfileField(ProfileField field)
ProfileFieldManager
createProfileField
in interface ProfileFieldManager
field
- the new profile field to create.
public ProfileField getProfileField(long fieldID)
ProfileFieldManager
getProfileField
in interface ProfileFieldManager
fieldID
- the id of the profile field.
public void editProfileField(ProfileField field)
ProfileFieldManager
editProfileField
in interface ProfileFieldManager
field
- the profile field to edit.public void editProfileFieldOptions(ProfileField field)
ProfileFieldManager
ProfileFieldOption
objects for a profile field.
editProfileFieldOptions
in interface ProfileFieldManager
field
- the field containing the edited ProfileFieldOption
objects.public void deleteProfileField(long fieldID)
ProfileFieldManager
ProfileFieldOption
objects associated with the field.
deleteProfileField
in interface ProfileFieldManager
fieldID
- the id of the field to removepublic java.util.List getProfileFields()
ProfileFieldManager
getProfileFields
in interface ProfileFieldManager
public void setIndex(ProfileField field, int newIndex)
ProfileFieldManager
setIndex
in interface ProfileFieldManager
field
- the profile field to adjust the index of.newIndex
- the new index value for the field.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |