Thursday 16 June 2016

liferay user related tables

If we create User in Liferay the following tables will effect in DB
                  
        Contact_                          
         User_                               
         Users_Roles                    

       The above three  tables will effect in Data Base once if we create User .
       
         Along with these options we have some more options for user.

             Table Name                            Options for  User if we go to control panel

             Address                                                       Addresses

              Phone                                                         Phone Numbers

             Website                                                       Websites
            
             EmailAddress                                             Additional Email Addresses

             Contact_                                                      Social Network
            (facebookSn,twitterSn,mySpaceSn)

             Contact_                                                      sms
            (smsSn)

             User_                                                           openId
           (openId)

            AnnouncementsDelivery                             Announcements

             User_                                                           DisplaySetting
           (languageId, timeZoneId,greeting) 

             User_                                                           Comments
           (comments)

For Custom fields we have tables like ExpandoColumn,  ExpandoRow,  ExpandoTable and ExpandoValue.
Here if we have already custom fields we can give the values for those fields and save

Key Point : At what time table will create in liferay when we are using liferay service builder???

Once if we build the services all classes and interfaces will create but after deploying the portlet only the related  table will create in DataBase