/** * Returns the number of templates belonging to the group. * * @param groupId the primary key of the group * @return the number of templates belonging to the group */ @Override public int getTemplatesCount(long groupId) { return _ddmTemplateLocalService.getTemplatesCount(groupId); }
/** * Returns the number of 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 number of matching templates */ @Override public int getTemplatesCount(long groupId, long classNameId) { return _ddmTemplateLocalService.getTemplatesCount(groupId, classNameId); }
/** * Returns the number of templates matching the group IDs, class name ID, * and class PK. * * @param groupIds the primary keys of the groups * @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 number of matching templates */ @Override public int getTemplatesCount(long[] groupIds, long classNameId, long classPK) { return _ddmTemplateLocalService.getTemplatesCount(groupIds, classNameId, classPK); }
/** * Returns the number of 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 number of matching templates */ @Override public int getTemplatesCount(long groupId, long classNameId, long classPK) { return _ddmTemplateLocalService.getTemplatesCount(groupId, classNameId, classPK); }
/** * Returns the number of templates belonging to the group. * * @param groupId the primary key of the group * @return the number of templates belonging to the group */ public static int getTemplatesCount(long groupId) { return getService().getTemplatesCount(groupId); }
/** * Returns the number of 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 number of matching templates */ public static int getTemplatesCount(long groupId, long classNameId) { return getService().getTemplatesCount(groupId, classNameId); }
/** * Returns the number of templates matching the group IDs, class name ID, * and class PK. * * @param groupIds the primary keys of the groups * @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 number of matching templates */ public static int getTemplatesCount(long[] groupIds, long classNameId, long classPK) { return getService().getTemplatesCount(groupIds, classNameId, classPK); }
/** * Returns the number of 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 number of matching templates */ public static int getTemplatesCount(long groupId, long classNameId, long classPK) { return getService().getTemplatesCount(groupId, classNameId, classPK); }