/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @param projection the projection to apply to the query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) { return getService().dynamicQueryCount(dynamicQuery, projection); }
public static com.liferay.portal.kernel.model.Layout fetchLayoutByIconImageId( boolean privateLayout, long iconImageId) throws com.liferay.portal.kernel.exception.PortalException { return getService().fetchLayoutByIconImageId(privateLayout, iconImageId); }
public static int getLayoutsByLayoutPrototypeUuidCount( String layoutPrototypeUuid) { return getService() .getLayoutsByLayoutPrototypeUuidCount(layoutPrototypeUuid); }
/** * Returns all the layouts without resource permissions * * @param roleId the primary key of the role * @return all the layouts without resource permissions * @deprecated As of Judson (7.1.x), with no direct replacement */ @Deprecated public static java.util.List<com.liferay.portal.kernel.model.Layout> getNoPermissionLayouts( long roleId) { return getService().getNoPermissionLayouts(roleId); }
/** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ public static String getOSGiServiceIdentifier() { return getService().getOSGiServiceIdentifier(); }
/** * @throws PortalException */ public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel( com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException { return getService().deletePersistedModel(persistedModel); }
/** * Performs a dynamic query on the database and returns the matching rows. * * @param dynamicQuery the dynamic query * @return the matching rows */ public static <T> java.util.List<T> dynamicQuery( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQuery(dynamicQuery); }
/** * @throws PortalException * @deprecated As of Wilberforce (7.0.x), replaced by {@link com.liferay.exportimport.kernel.service.ExportImportLocalService#exportLayoutsAsFile( ExportImportConfiguration)} */ @Deprecated public static java.io.File exportLayoutsAsFile( com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) throws com.liferay.portal.kernel.exception.PortalException { return getService().exportLayoutsAsFile(exportImportConfiguration); }
public static com.liferay.portal.kernel.model.Layout fetchFirstLayout( long groupId, boolean privateLayout, long parentLayoutId) { return getService() .fetchFirstLayout(groupId, privateLayout, parentLayoutId); }
public static com.liferay.portal.kernel.model.Layout fetchLayoutByFriendlyURL( long groupId, boolean privateLayout, String friendlyURL) { return getService() .fetchLayoutByFriendlyURL(groupId, privateLayout, friendlyURL); }
/** * Returns the primary key of the default layout for the group. * * @param groupId the primary key of the group * @return the primary key of the default layout for the group (optionally {@link LayoutConstants#DEFAULT_PLID}) */ public static long getDefaultPlid(long groupId) { return getService().getDefaultPlid(groupId); }
public static int getLayoutsCount( com.liferay.portal.kernel.model.Group group, boolean privateLayout, long[] layoutIds) { return getService().getLayoutsCount(group, privateLayout, layoutIds); }
public static int getLayoutsCount( com.liferay.portal.kernel.model.User user, boolean privateLayout, boolean includeUserGroups) throws com.liferay.portal.kernel.exception.PortalException { return getService() .getLayoutsCount(user, privateLayout, includeUserGroups); }
public static boolean hasLayouts( com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException { return getService().hasLayouts(group); }
public static boolean hasLayoutSetPrototypeLayout( String layoutSetPrototypeUuid, long companyId, String layoutUuid) throws com.liferay.portal.kernel.exception.PortalException { return getService() .hasLayoutSetPrototypeLayout(layoutSetPrototypeUuid, companyId, layoutUuid); }
/** * Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param layout the layout * @return the layout that was updated */ public static com.liferay.portal.kernel.model.Layout updateLayout( com.liferay.portal.kernel.model.Layout layout) { return getService().updateLayout(layout); }
/** * Creates a new layout with the primary key. Does not add the layout to the database. * * @param plid the primary key for the new layout * @return the new layout */ public static com.liferay.portal.kernel.model.Layout createLayout(long plid) { return getService().createLayout(plid); }
/** * Deletes the layout with the plid, also deleting the layout's child * layouts, and associated resources. * * @param plid the primary key of the layout * @param serviceContext the service context to be applied * @throws PortalException if a portal exception occurred */ public static void deleteLayout(long plid, ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { getService().deleteLayout(plid, serviceContext); }
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return getService().getPersistedModel(primaryKeyObj); }
/** * @throws PortalException * @deprecated As of Wilberforce (7.0.x), with no direct replacement */ @Deprecated public static void importPortletInfo(long userId, String portletId, java.util.Map<String, String[]> parameterMap, java.io.InputStream is) throws com.liferay.portal.kernel.exception.PortalException { getService().importPortletInfo(userId, portletId, parameterMap, is); }