Class ProfilePropertyDatabaseInitializer
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.core.profileproperty.ProfilePropertyDatabaseInitializer
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ProfilePropertyDatabaseInitializer
extends org.exoplatform.container.component.BaseComponentPlugin
implements org.exoplatform.container.component.ComponentPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionProfilePropertyDatabaseInitializer(org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckExistDatabase(org.exoplatform.social.core.profileproperty.ProfilePropertyService service) protected voidcreateProperties(org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService) protected intprotected ProfilePropertyConfigvoidinit(org.exoplatform.social.core.profileproperty.ProfilePropertyService service) booleanMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.container.component.ComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
CHECK_EMPTY
protected static final int CHECK_EMPTY- See Also:
-
CHECK_ENTRY
protected static final int CHECK_ENTRY- See Also:
-
-
Constructor Details
-
ProfilePropertyDatabaseInitializer
public ProfilePropertyDatabaseInitializer(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
init
public void init(org.exoplatform.social.core.profileproperty.ProfilePropertyService service) -
checkExistDatabase
protected boolean checkExistDatabase(org.exoplatform.social.core.profileproperty.ProfilePropertyService service) -
createProperties
protected void createProperties(org.exoplatform.social.core.profileproperty.ProfilePropertyService profilePropertyService) -
getConfig
- Returns:
- the config
-
getCheckDatabaseAlgorithm
protected int getCheckDatabaseAlgorithm()- Returns:
- the checkDatabaseAlgorithm
-
isUpdateProperties
public boolean isUpdateProperties()- Returns:
- the updateUsers
-