/** * Deletes the ddm content with the primary key from the database. Also notifies the appropriate model listeners. * * @param contentId the primary key of the ddm content * @return the ddm content that was removed * @throws PortalException if a ddm content with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMContent deleteDDMContent( long contentId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteDDMContent(contentId); }
/** * 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); }
/** * Returns all the ddm contents matching the UUID and company. * * @param uuid the UUID of the ddm contents * @param companyId the primary key of the company * @return the matching ddm contents, or an empty list if no matches were found */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMContent> getDDMContentsByUuidAndCompanyId( String uuid, long companyId) { return getService().getDDMContentsByUuidAndCompanyId(uuid, companyId); }
public static com.liferay.dynamic.data.mapping.model.DDMContent updateContent( long contentId, String name, String description, String data, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .updateContent(contentId, name, description, data, serviceContext); }
/** * Updates the ddm content in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param ddmContent the ddm content * @return the ddm content that was updated */ public static com.liferay.dynamic.data.mapping.model.DDMContent updateDDMContent( com.liferay.dynamic.data.mapping.model.DDMContent ddmContent) { return getService().updateDDMContent(ddmContent); }
/** * Deletes the ddm content from the database. Also notifies the appropriate model listeners. * * @param ddmContent the ddm content * @return the ddm content that was removed */ public static com.liferay.dynamic.data.mapping.model.DDMContent deleteDDMContent( com.liferay.dynamic.data.mapping.model.DDMContent ddmContent) { return getService().deleteDDMContent(ddmContent); }
/** * @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 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.dynamic.data.mapping.model.DDMContent getContent( long contentId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getContent(contentId); }
/** * Returns the number of ddm contents. * * @return the number of ddm contents */ public static int getDDMContentsCount() { return getService().getDDMContentsCount(); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMContent> getContents( long groupId) { return getService().getContents(groupId); }
public static com.liferay.dynamic.data.mapping.model.DDMContent addContent( long userId, long groupId, String name, String description, String data, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { return getService() .addContent(userId, groupId, name, description, data, serviceContext); }
/** * Adds the ddm content to the database. Also notifies the appropriate model listeners. * * @param ddmContent the ddm content * @return the ddm content that was added */ public static com.liferay.dynamic.data.mapping.model.DDMContent addDDMContent( com.liferay.dynamic.data.mapping.model.DDMContent ddmContent) { return getService().addDDMContent(ddmContent); }
/** * Returns the ddm content matching the UUID and group. * * @param uuid the ddm content's UUID * @param groupId the primary key of the group * @return the matching ddm content, or <code>null</code> if a matching ddm content could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMContent fetchDDMContentByUuidAndGroupId( String uuid, long groupId) { return getService().fetchDDMContentByUuidAndGroupId(uuid, groupId); }
/** * Returns the ddm content with the primary key. * * @param contentId the primary key of the ddm content * @return the ddm content * @throws PortalException if a ddm content with the primary key could not be found */ public static com.liferay.dynamic.data.mapping.model.DDMContent getDDMContent( long contentId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getDDMContent(contentId); }
/** * Returns the OSGi service identifier. * * @return the OSGi service identifier */ public static String getOSGiServiceIdentifier() { return getService().getOSGiServiceIdentifier(); }
/** * Creates a new ddm content with the primary key. Does not add the ddm content to the database. * * @param contentId the primary key for the new ddm content * @return the new ddm content */ public static com.liferay.dynamic.data.mapping.model.DDMContent createDDMContent( long contentId) { return getService().createDDMContent(contentId); }
/** * 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); }
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 int getContentsCount(long groupId) { return getService().getContentsCount(groupId); }