Interface ProfilePropertyService
public interface ProfilePropertyService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProfilePropertyPlugin(org.exoplatform.container.component.ComponentPlugin profilePropertyInitPlugin) createPropertySetting(ProfilePropertySetting profilePropertySetting) Creates a newProfilePropertySettingobjectvoidDeletes theProfilePropertySettingobject with given IdRetrieves the ProfileProperty item with givenProfilePropertySettingpropertyNameRetrieves the ProfileProperty item with givenProfilePropertySettingpropertyNameRetrive the list of allProfilePropertySettingobjectsRetrive the list of synchronizedProfilePropertySettingobjectsbooleanhasChildProperties(ProfilePropertySetting propertySetting) Checks if the current property has child propertiesbooleanisDefaultProperties(ProfilePropertySetting propertySetting) Checks if the current property is a default propertiebooleanisGroupSynchronizedEnabledProperty(ProfilePropertySetting profilePropertySetting) Checks if the givenProfilePropertySettingobject can be synchronized with a groupvoidupdatePropertySetting(ProfilePropertySetting profilePropertySetting) Updates the givenProfilePropertySettingobject
-
Field Details
-
LABELS_OBJECT_TYPE
- See Also:
-
-
Method Details
-
getPropertySettings
List<ProfilePropertySetting> getPropertySettings()Retrive the list of allProfilePropertySettingobjects- Returns:
ListofProfilePropertySetting
-
getSynchronizedPropertySettings
List<ProfilePropertySetting> getSynchronizedPropertySettings()Retrive the list of synchronizedProfilePropertySettingobjects- Returns:
ListofProfilePropertySetting
-
getProfileSettingById
Retrieves the ProfileProperty item with givenProfilePropertySettingpropertyName- Returns:
ProfilePropertySettingif exist or null if not
-
getProfileSettingByName
Retrieves the ProfileProperty item with givenProfilePropertySettingpropertyName- Returns:
ProfilePropertySettingif exist or null if not
-
createPropertySetting
ProfilePropertySetting createPropertySetting(ProfilePropertySetting profilePropertySetting) throws org.exoplatform.commons.ObjectAlreadyExistsException Creates a newProfilePropertySettingobject- Parameters:
profilePropertySetting-ProfilePropertySetting- Returns:
- newly created
ProfilePropertySetting - Throws:
org.exoplatform.commons.ObjectAlreadyExistsException
-
updatePropertySetting
Updates the givenProfilePropertySettingobject- Parameters:
profilePropertySetting-ProfilePropertySetting
-
deleteProfilePropertySetting
Deletes theProfilePropertySettingobject with given Id- Parameters:
id-Long
-
isGroupSynchronizedEnabledProperty
Checks if the givenProfilePropertySettingobject can be synchronized with a group- Returns:
Boolean
-
getPropertySettingNames
-
addProfilePropertyPlugin
void addProfilePropertyPlugin(org.exoplatform.container.component.ComponentPlugin profilePropertyInitPlugin) -
hasChildProperties
Checks if the current property has child properties- Parameters:
propertySetting-- Returns:
- Boolean : true if the current property has child properties
-
isDefaultProperties
Checks if the current property is a default propertie- Parameters:
propertySetting-- Returns:
- Boolean : true if the current property is a default propertie
-