Class ProfilePropertySettingDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ProfilePropertySettingEntity, Long>
org.exoplatform.social.core.jpa.storage.dao.jpa.ProfilePropertySettingDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<ProfilePropertySettingEntity, Long>
public class ProfilePropertySettingDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ProfilePropertySettingEntity, Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSwitches off both listing flags of a stored setting by changing its managed entity, so that the flushed UPDATE names only the changed columns (the entity is@DynamicUpdate) and the update date moves with them.booleanMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
ProfilePropertySettingDAO
public ProfilePropertySettingDAO()
-
-
Method Details
-
findProfileSettingByName
-
findSynchronizedSettings
-
findOrderedSettings
-
hasChildProperties
-
findListedOnAccountForm
-
findListedOnRegistration
-
clearListingFlags
Switches off both listing flags of a stored setting by changing its managed entity, so that the flushed UPDATE names only the changed columns (the entity is@DynamicUpdate) and the update date moves with them. The entity is then detached, so that a later read in the same request reloads the row, with what another writer committed meanwhile. Runs in the caller's transaction, which must be active.- Parameters:
id- the setting's technical identifier- Returns:
- true when a flag was on and the row was changed
-