/** * Returns all the templates with the class PK. * * @param classPK the primary key of the template's related entity * @return the templates with the class PK */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long classPK) { return _ddmTemplateLocalService.getTemplates(classPK); }
@Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, boolean includeAncestorTemplates) throws com.liferay.portal.kernel.exception.PortalException { return _ddmTemplateLocalService.getTemplates(groupId, classNameId, classPK, includeAncestorTemplates); }
@Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long[] groupIds, long classNameId, long classPK) { return _ddmTemplateLocalService.getTemplates(groupIds, classNameId, classPK); }
/** * Returns all the templates matching the group and class name ID. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @return the matching templates */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId) { return _ddmTemplateLocalService.getTemplates(groupId, classNameId); }
/** * Returns all the templates matching the group, class name ID, and class * PK. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @param classPK the primary key of the template's related entity * @return the matching templates */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK) { return _ddmTemplateLocalService.getTemplates(groupId, classNameId, classPK); }
/** * Returns all the templates matching the group, class name ID, class PK, * and type. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @param classPK the primary key of the template's related entity * @param type the template's type. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @return the matching templates */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, String type) { return _ddmTemplateLocalService.getTemplates(groupId, classNameId, classPK, type); }
/** * Returns all the templates matching the group, class name ID, class PK, * type, and mode. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @param classPK the primary key of the template's related entity * @param type the template's type. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @param mode the template's mode. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @return the matching templates */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, String type, String mode) { return _ddmTemplateLocalService.getTemplates(groupId, classNameId, classPK, type, mode); }
/** * Returns all the templates matching the group and class name ID. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @return the matching templates */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId) { return getService().getTemplates(groupId, classNameId); }
/** * Returns all the templates with the class PK. * * @param classPK the primary key of the template's related entity * @return the templates with the class PK */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long classPK) { return getService().getTemplates(classPK); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, boolean includeAncestorTemplates) throws com.liferay.portal.kernel.exception.PortalException { return getService() .getTemplates(groupId, classNameId, classPK, includeAncestorTemplates); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long[] groupIds, long classNameId, long classPK) { return getService().getTemplates(groupIds, classNameId, classPK); }
/** * Returns all the templates matching the group, class name ID, class PK, * and type. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @param classPK the primary key of the template's related entity * @param type the template's type. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @return the matching templates */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, String type) { return getService().getTemplates(groupId, classNameId, classPK, type); }
/** * Returns all the templates matching the group, class name ID, class PK, * type, and mode. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the template's related model * @param classPK the primary key of the template's related entity * @param type the template's type. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @param mode the template's mode. For more information, see DDMTemplateConstants in the dynamic-data-mapping-api module. * @return the matching templates */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMTemplate> getTemplates( long groupId, long classNameId, long classPK, String type, String mode) { return getService() .getTemplates(groupId, classNameId, classPK, type, mode); }
protected List<DDMTemplate> getStructureTemplates( DDMStructure structure, String type) { long classNameId = classNameLocalService.getClassNameId( DDMStructure.class); return ddmTemplateLocalService.getTemplates( structure.getGroupId(), classNameId, structure.getStructureId(), type); }