public LayoutActionableDynamicQuery() throws SystemException {
    setBaseLocalService(LayoutLocalServiceUtil.getService());
    setClass(Layout.class);

    setClassLoader(PortalClassLoaderUtil.getClassLoader());

    setPrimaryKeyPropertyName("plid");
  }
 private LayoutLocalService getLayoutLocalServirce() {
   if (layoutLocalService == null) layoutLocalService = LayoutLocalServiceUtil.getService();
   return layoutLocalService;
 }