public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getLatestTemplateVersion( long templateId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getLatestTemplateVersion(templateId); }
/** * Deletes the ddm template version from the database. Also notifies the appropriate model listeners. * * @param ddmTemplateVersion the ddm template version * @return the ddm template version that was removed */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( com.liferay.dynamic.data.mapping.model.DDMTemplateVersion ddmTemplateVersion) { return getService().deleteDDMTemplateVersion(ddmTemplateVersion); }
/** * Returns the number of rows matching the dynamic query. * * @param dynamicQuery the dynamic query * @return the number of rows matching the dynamic query */ public static long dynamicQueryCount( com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) { return getService().dynamicQueryCount(dynamicQuery); }
/** * Creates a new ddm template version with the primary key. Does not add the ddm template version to the database. * * @param templateVersionId the primary key for the new ddm template version * @return the new ddm template version */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion createDDMTemplateVersion( long templateVersionId) { return getService().createDDMTemplateVersion(templateVersionId); }
/** * @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); }
/** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ public static String getOSGiServiceIdentifier() { return getService().getOSGiServiceIdentifier(); }
public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getTemplateVersion( long templateId, String version) throws com.liferay.portal.kernel.exception.PortalException { return getService().getTemplateVersion(templateId, version); }
/** * Updates the ddm template version in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param ddmTemplateVersion the ddm template version * @return the ddm template version that was updated */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion updateDDMTemplateVersion( com.liferay.dynamic.data.mapping.model.DDMTemplateVersion ddmTemplateVersion) { return getService().updateDDMTemplateVersion(ddmTemplateVersion); }
/** * 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); }
/** * 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); }
/** * Returns the number of ddm template versions. * * @return the number of ddm template versions */ public static int getDDMTemplateVersionsCount() { return getService().getDDMTemplateVersionsCount(); }
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel( java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException { return getService().getPersistedModel(primaryKeyObj); }
public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getTemplateVersion(templateVersionId); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplateVersion> getTemplateVersions( long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMTemplateVersion> orderByComparator) { return getService() .getTemplateVersions(templateId, start, end, orderByComparator); }
/** * Adds the ddm template version to the database. Also notifies the appropriate model listeners. * * @param ddmTemplateVersion the ddm template version * @return the ddm template version that was added */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion addDDMTemplateVersion( com.liferay.dynamic.data.mapping.model.DDMTemplateVersion ddmTemplateVersion) { return getService().addDDMTemplateVersion(ddmTemplateVersion); }
/** * Deletes the ddm template version with the primary key from the database. Also notifies the appropriate model listeners. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version that was removed * @throws PortalException if a ddm template version with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion deleteDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteDDMTemplateVersion(templateVersionId); }
/** * Returns the ddm template version with the primary key. * * @param templateVersionId the primary key of the ddm template version * @return the ddm template version * @throws PortalException if a ddm template version with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion getDDMTemplateVersion( long templateVersionId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getDDMTemplateVersion(templateVersionId); }
public static com.liferay.dynamic.data.mapping.model.DDMTemplateVersion fetchDDMTemplateVersion( long templateVersionId) { return getService().fetchDDMTemplateVersion(templateVersionId); }
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() { return getService().dynamicQuery(); }
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() { return getService().getActionableDynamicQuery(); }