title: Assign site template to organization site programmatically in liferay 6.1.0
body: <p>I have created user &amp; organization pragmatically using addUser() &amp; addOrganization() methods respectively.</p>
  
  <p>I am also able to add users to this organization using addOrganizationUsers() method.</p>
  
  <p>Now I have created a site template from liferay control panel.</p>
  
  <p>As we know , we can create a site for organization, and while creating a site we have options to select a site template for public &amp; private pages.</p>
  
  <p>As we know .
  Public page - Visible to members + non members
  Private page - Visible to only members.</p>
  
  <p>So I want to create a organization site with private pages only so it will be seen by only organization member.</p>
  
  <pre><code>OrganiztionLocalServiceUtil.addOrganization(
      long userId, long parentOrganizationId, String name, String type,
      boolean recursable, long regionId, long countryId, int statusId,
      String comments, boolean site, ServiceContext serviceContext)
  </code></pre>
  
  <p>Using above method , by specifying boolean site value 'true' a site will get created.</p>
  
  <p>Now I want to add a site template to this organization site pragmatically which I have created from control panel.</p>
  
  <p>So is there any API to add site template to any site of organization</p>