/** * Returns all the structures present in the system. * * @return the structures present in the system */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures() { return _ddmStructureLocalService.getStructures(); }
@Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId, String name, String description) { return _ddmStructureLocalService.getStructures(groupId, name, description); }
/** * Returns all the structures belonging to the groups. * * @param groupIds the primary keys of the groups * @return the structures belonging to the groups */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long[] groupIds) { return _ddmStructureLocalService.getStructures(groupIds); }
/** * Returns all the structures present in the group. * * @param groupId the primary key of the group * @return the structures present in the group */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId) { return _ddmStructureLocalService.getStructures(groupId); }
/** * Returns all the structures matching class name ID and group. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the structure's related model * @return the matching structures */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId, long classNameId) { return _ddmStructureLocalService.getStructures(groupId, classNameId); }
/** * Returns all the structures matching the class name ID and belonging to * the groups. * * @param groupIds the primary keys of the groups * @param classNameId the primary key of the class name for the structure's related model * @return the matching structures */ @Override public java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long[] groupIds, long classNameId) { return _ddmStructureLocalService.getStructures(groupIds, classNameId); }
/** * Returns a range of all the structures belonging to the group. * * <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 groupId the primary key of the group * @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> getStructures( long groupId, int start, int end) { return _ddmStructureLocalService.getStructures(groupId, start, end); }
/** * Returns a range of all the structures that match the class name ID and * group. * * <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 groupId the primary key of the group * @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> getStructures( long groupId, long classNameId, int start, int end) { return _ddmStructureLocalService.getStructures(groupId, classNameId, start, end); }
/** * Returns a range of all the structures matching the class name ID and * belonging to the groups. * * <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 groupIds the primary keys of the groups * @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> getStructures( long[] groupIds, long classNameId, int start, int end) { return _ddmStructureLocalService.getStructures(groupIds, classNameId, start, end); }
@Override public List<DDMStructure> getStructures(long[] groupIds, long classNameId) { List<DDMStructure> ddmStructures = new ArrayList<>(); for (com.liferay.dynamic.data.mapping.model.DDMStructure ddmStructure : _ddmStructureLocalService.getStructures( groupIds, classNameId)) { ddmStructures.add(new DDMStructureImpl(ddmStructure)); } return ddmStructures; }
/** * Returns all the structures matching the class name ID and belonging to * the groups. * * @param groupIds the primary keys of the groups * @param classNameId the primary key of the class name for the structure's related model * @return the matching structures */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long[] groupIds, long classNameId) { return getService().getStructures(groupIds, classNameId); }
/** * Returns all the structures present in the group. * * @param groupId the primary key of the group * @return the structures present in the group */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId) { return getService().getStructures(groupId); }
/** * Returns all the structures belonging to the groups. * * @param groupIds the primary keys of the groups * @return the structures belonging to the groups */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long[] groupIds) { return getService().getStructures(groupIds); }
/** * Returns all the structures present in the system. * * @return the structures present in the system */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures() { return getService().getStructures(); }
/** * Returns all the structures matching class name ID and group. * * @param groupId the primary key of the group * @param classNameId the primary key of the class name for the structure's related model * @return the matching structures */ public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId, long classNameId) { return getService().getStructures(groupId, classNameId); }
public static java.util.List<com.liferay.dynamic.data.mapping.model.DDMStructure> getStructures( long groupId, String name, String description) { return getService().getStructures(groupId, name, description); }
/** * Returns a range of all the structures belonging to the group. * * <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 groupId the primary key of the group * @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> getStructures( long groupId, int start, int end) { return getService().getStructures(groupId, start, end); }
/** * Returns a range of all the structures that match the class name ID and * group. * * <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 groupId the primary key of the group * @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> getStructures( long groupId, long classNameId, int start, int end) { return getService().getStructures(groupId, classNameId, start, end); }
/** * Returns a range of all the structures matching the class name ID and * belonging to the groups. * * <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 groupIds the primary keys of the groups * @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> getStructures( long[] groupIds, long classNameId, int start, int end) { return getService().getStructures(groupIds, classNameId, start, end); }
@Override public List<DDMStructure> getDDMStructures( long[] groupIds, long folderId, int restrictionType) throws PortalException { if (restrictionType == JournalFolderConstants. RESTRICTION_TYPE_DDM_STRUCTURES_AND_WORKFLOW) { return ddmStructureLinkLocalService.getStructureLinkStructures( classNameLocalService.getClassNameId(JournalFolder.class), folderId); } folderId = getOverridedDDMStructuresFolderId(folderId); if (folderId != JournalFolderConstants.DEFAULT_PARENT_FOLDER_ID) { return ddmStructureLinkLocalService.getStructureLinkStructures( classNameLocalService.getClassNameId(JournalFolder.class), folderId); } long classNameId = classNameLocalService.getClassNameId( JournalArticle.class); return ddmStructureLocalService.getStructures(groupIds, classNameId); }