/** * Returns all the structures matching the class name ID. * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @return the structures matching the class name ID */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId) { return _ddmStructureLocalService.getClassStructures(companyId, classNameId); }
/** * Returns all the structures matching the class name ID ordered by the * comparator. * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @param orderByComparator the comparator to order the structures (optionally <code>null</code>) * @return the matching structures ordered by the comparator */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) { return _ddmStructureLocalService.getClassStructures(companyId, classNameId, orderByComparator); }
/** * Returns a range of all the structures matching the class name ID. * * <p> * Useful when paginating results. Returns a maximum of <code>end - * start</code> instances. <code>start</code> and <code>end</code> are not * primary keys, they are indexes in the result set. Thus, <code>0</code> * refers to the first result in the set. Setting both <code>start</code> * and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full * result set. * </p> * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @param start the lower bound of the range of structures to return * @param end the upper bound of the range of structures to return (not inclusive) * @return the range of matching structures */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId, int start, int end) { return _ddmStructureLocalService.getClassStructures(companyId, classNameId, start, end); }
@Override public List<DDMStructure> getClassStructures( long companyId, long classNameId, int start, int end) { List<DDMStructure> ddmStructures = new ArrayList<>(); for (com.liferay.dynamic.data.mapping.model.DDMStructure ddmStructure : _ddmStructureLocalService.getClassStructures( companyId, classNameId, start, end)) { ddmStructures.add(new DDMStructureImpl(ddmStructure)); } return ddmStructures; }
/** * Returns all the structures matching the class name ID. * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @return the structures matching the class name ID */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId) { return getService().getClassStructures(companyId, classNameId); }
@Override public List<DDMStructure> getClassStructures( long companyId, long classNameId) { List<DDMStructure> ddmStructures = new ArrayList<>(); List<com.liferay.dynamic.data.mapping.model.DDMStructure> structures = _ddmStructureLocalService.getClassStructures( companyId, classNameId); for (com.liferay.dynamic.data.mapping.model.DDMStructure structure : structures) { ddmStructures.add(new DDMStructureImpl(structure)); } return ddmStructures; }
/** * Returns all the structures matching the class name ID ordered by the * comparator. * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @param orderByComparator the comparator to order the structures (optionally <code>null</code>) * @return the matching structures ordered by the comparator */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) { return getService() .getClassStructures(companyId, classNameId, orderByComparator); }
@Override public List<DDMStructure> getClassStructures( long companyId, long classNameId, int structureComparator) { List<DDMStructure> ddmStructures = new ArrayList<>(); for (com.liferay.dynamic.data.mapping.model.DDMStructure ddmStructure : _ddmStructureLocalService.getClassStructures( companyId, classNameId, getStructureOrderByComparator(structureComparator))) { ddmStructures.add(new DDMStructureImpl(ddmStructure)); } return ddmStructures; }
/** * Returns a range of all the structures matching the class name ID. * * <p> * Useful when paginating results. Returns a maximum of <code>end - * start</code> instances. <code>start</code> and <code>end</code> are not * primary keys, they are indexes in the result set. Thus, <code>0</code> * refers to the first result in the set. Setting both <code>start</code> * and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full * result set. * </p> * * @param companyId the primary key of the structure's company * @param classNameId the primary key of the class name for the structure's related model * @param start the lower bound of the range of structures to return * @param end the upper bound of the range of structures to return (not inclusive) * @return the range of matching structures */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getClassStructures( long companyId, long classNameId, int start, int end) { return getService() .getClassStructures(companyId, classNameId, start, end); }