001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.dynamicdatamapping.service; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.ServiceWrapper; 020 021 /** 022 * Provides a wrapper for {@link DDMStructureService}. 023 * 024 * @author Brian Wing Shun Chan 025 * @see DDMStructureService 026 * @generated 027 */ 028 @ProviderType 029 public class DDMStructureServiceWrapper implements DDMStructureService, 030 ServiceWrapper<DDMStructureService> { 031 public DDMStructureServiceWrapper(DDMStructureService ddmStructureService) { 032 _ddmStructureService = ddmStructureService; 033 } 034 035 /** 036 * Returns the Spring bean ID for this bean. 037 * 038 * @return the Spring bean ID for this bean 039 */ 040 @Override 041 public java.lang.String getBeanIdentifier() { 042 return _ddmStructureService.getBeanIdentifier(); 043 } 044 045 /** 046 * Sets the Spring bean ID for this bean. 047 * 048 * @param beanIdentifier the Spring bean ID for this bean 049 */ 050 @Override 051 public void setBeanIdentifier(java.lang.String beanIdentifier) { 052 _ddmStructureService.setBeanIdentifier(beanIdentifier); 053 } 054 055 /** 056 * Adds a structure referencing a default parent structure, using the portal 057 * property <code>dynamic.data.lists.storage.type</code> storage type and 058 * default structure type. 059 * 060 * @param userId the primary key of the structure's creator/owner 061 * @param groupId the primary key of the group 062 * @param classNameId the primary key of the class name for the structure's 063 related model 064 * @param nameMap the structure's locales and localized names 065 * @param descriptionMap the structure's locales and localized descriptions 066 * @param xsd the structure's XML schema definition 067 * @param serviceContext the service context to be applied. Can set the 068 UUID, creation date, modification date, guest permissions, and 069 group permissions for the structure. 070 * @return the structure 071 * @throws PortalException if a user with the primary key could not be 072 found, if the user did not have permission to add the structure, 073 if the XSD was not well-formed, or if a portal exception occurred 074 * @throws SystemException if a system exception occurred 075 */ 076 @Override 077 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure( 078 long userId, long groupId, long classNameId, 079 java.util.Map<java.util.Locale, java.lang.String> nameMap, 080 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 081 java.lang.String xsd, 082 com.liferay.portal.service.ServiceContext serviceContext) 083 throws com.liferay.portal.kernel.exception.PortalException, 084 com.liferay.portal.kernel.exception.SystemException { 085 return _ddmStructureService.addStructure(userId, groupId, classNameId, 086 nameMap, descriptionMap, xsd, serviceContext); 087 } 088 089 /** 090 * Adds a structure referencing its parent structure. 091 * 092 * @param groupId the primary key of the group 093 * @param parentStructureId the primary key of the parent structure 094 (optionally {@link 095 com.liferay.portlet.dynamicdatamapping.model.DDMStructureConstants#DEFAULT_PARENT_STRUCTURE_ID}) 096 * @param classNameId the primary key of the class name for the structure's 097 related model 098 * @param structureKey the unique string identifying the structure 099 (optionally <code>null</code>) 100 * @param nameMap the structure's locales and localized names 101 * @param descriptionMap the structure's locales and localized descriptions 102 * @param xsd the structure's XML schema definition 103 * @param storageType the structure's storage type. It can be "xml" or 104 "expando". For more information, see {@link 105 com.liferay.portlet.dynamicdatamapping.storage.StorageType}. 106 * @param type the structure's type. For more information, see {@link 107 com.liferay.portlet.dynamicdatamapping.model.DDMStructureConstants}. 108 * @param serviceContext the service context to be applied. Can set the 109 UUID, creation date, modification date, guest permissions, and 110 group permissions for the structure. 111 * @return the structure 112 * @throws PortalException if the user did not have permission to add the 113 structure, if the XSD is not well formed, or if a portal 114 exception occurred 115 * @throws SystemException if a system exception occurred 116 */ 117 @Override 118 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure( 119 long groupId, long parentStructureId, long classNameId, 120 java.lang.String structureKey, 121 java.util.Map<java.util.Locale, java.lang.String> nameMap, 122 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 123 java.lang.String xsd, java.lang.String storageType, int type, 124 com.liferay.portal.service.ServiceContext serviceContext) 125 throws com.liferay.portal.kernel.exception.PortalException, 126 com.liferay.portal.kernel.exception.SystemException { 127 return _ddmStructureService.addStructure(groupId, parentStructureId, 128 classNameId, structureKey, nameMap, descriptionMap, xsd, 129 storageType, type, serviceContext); 130 } 131 132 /** 133 * Adds a structure referencing the parent structure by its structure key. 134 * In case the parent structure is not found, it uses the default parent 135 * structure ID. 136 * 137 * @param userId the primary key of the structure's creator/owner 138 * @param groupId the primary key of the group 139 * @param parentStructureKey the unique string identifying the structure 140 * @param classNameId the primary key of the class name for the structure's 141 related model 142 * @param structureKey unique string identifying the structure (optionally 143 <code>null</code>) 144 * @param nameMap the structure's locales and localized names 145 * @param descriptionMap the structure's locales and localized descriptions 146 * @param xsd the XML schema definition of the structure 147 * @param storageType the storage type of the structure. It can be XML or 148 expando. For more information, see {@link 149 com.liferay.portlet.dynamicdatamapping.storage.StorageType}. 150 * @param type the structure's type. For more information, see {@link 151 com.liferay.portlet.dynamicdatamapping.model.DDMStructureConstants}. 152 * @param serviceContext the service context to be applied. Must have the 153 <code>ddmResource</code> attribute to check permissions. Can set 154 the UUID, creation date, modification date, guest permissions, 155 and group permissions for the structure. 156 * @return the structure 157 * @throws PortalException if a user with the primary key could not be 158 found, if the user did not have permission to add the structure, 159 if the XSD was not well-formed, or if a portal exception occurred 160 * @throws SystemException if a system exception occurred 161 */ 162 @Override 163 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure( 164 long userId, long groupId, java.lang.String parentStructureKey, 165 long classNameId, java.lang.String structureKey, 166 java.util.Map<java.util.Locale, java.lang.String> nameMap, 167 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 168 java.lang.String xsd, java.lang.String storageType, int type, 169 com.liferay.portal.service.ServiceContext serviceContext) 170 throws com.liferay.portal.kernel.exception.PortalException, 171 com.liferay.portal.kernel.exception.SystemException { 172 return _ddmStructureService.addStructure(userId, groupId, 173 parentStructureKey, classNameId, structureKey, nameMap, 174 descriptionMap, xsd, storageType, type, serviceContext); 175 } 176 177 /** 178 * Copies a structure, creating a new structure with all the values 179 * extracted from the original one. The new structure supports a new name 180 * and description. 181 * 182 * @param structureId the primary key of the structure to be copied 183 * @param nameMap the new structure's locales and localized names 184 * @param descriptionMap the new structure's locales and localized 185 descriptions 186 * @param serviceContext the service context to be applied. Can set the 187 UUID, creation date, modification date, guest permissions, and 188 group permissions for the structure. 189 * @return the new structure 190 * @throws PortalException if the user did not have permission to add the 191 structure or if a portal exception occurred 192 * @throws SystemException if a system exception occurred 193 */ 194 @Override 195 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure( 196 long structureId, 197 java.util.Map<java.util.Locale, java.lang.String> nameMap, 198 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 199 com.liferay.portal.service.ServiceContext serviceContext) 200 throws com.liferay.portal.kernel.exception.PortalException, 201 com.liferay.portal.kernel.exception.SystemException { 202 return _ddmStructureService.copyStructure(structureId, nameMap, 203 descriptionMap, serviceContext); 204 } 205 206 @Override 207 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure( 208 long structureId, 209 com.liferay.portal.service.ServiceContext serviceContext) 210 throws com.liferay.portal.kernel.exception.PortalException, 211 com.liferay.portal.kernel.exception.SystemException { 212 return _ddmStructureService.copyStructure(structureId, serviceContext); 213 } 214 215 /** 216 * Deletes the structure and its resources. 217 * 218 * <p> 219 * Before deleting the structure, the system verifies whether the structure 220 * is required by another entity. If it is needed, an exception is thrown. 221 * </p> 222 * 223 * @param structureId the primary key of the structure to be deleted 224 * @throws PortalException if the user did not have permission to delete the 225 structure or if a portal exception occurred 226 * @throws SystemException if a system exception occurred 227 */ 228 @Override 229 public void deleteStructure(long structureId) 230 throws com.liferay.portal.kernel.exception.PortalException, 231 com.liferay.portal.kernel.exception.SystemException { 232 _ddmStructureService.deleteStructure(structureId); 233 } 234 235 /** 236 * Returns the structure matching the class name ID, structure key, and 237 * group. 238 * 239 * @param groupId the primary key of the group 240 * @param classNameId the primary key of the class name for the structure's 241 related model 242 * @param structureKey the unique string identifying the structure 243 * @return the matching structure, or <code>null</code> if a matching 244 structure could not be found 245 * @throws PortalException if the user did not have permission to view the 246 structure or if a portal exception occurred 247 * @throws SystemException if a system exception occurred 248 */ 249 @Override 250 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure( 251 long groupId, long classNameId, java.lang.String structureKey) 252 throws com.liferay.portal.kernel.exception.PortalException, 253 com.liferay.portal.kernel.exception.SystemException { 254 return _ddmStructureService.fetchStructure(groupId, classNameId, 255 structureKey); 256 } 257 258 @Override 259 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure( 260 long groupId, long classNameId, java.lang.String structureKey, 261 boolean includeAncestorStructures) 262 throws com.liferay.portal.kernel.exception.PortalException, 263 com.liferay.portal.kernel.exception.SystemException { 264 return _ddmStructureService.fetchStructure(groupId, classNameId, 265 structureKey, includeAncestorStructures); 266 } 267 268 /** 269 * Returns the structure with the ID. 270 * 271 * @param structureId the primary key of the structure 272 * @return the structure with the ID 273 * @throws PortalException if the user did not have permission to view the 274 structure or if a structure with the ID could not be found 275 * @throws SystemException if a system exception occurred 276 */ 277 @Override 278 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure( 279 long structureId) 280 throws com.liferay.portal.kernel.exception.PortalException, 281 com.liferay.portal.kernel.exception.SystemException { 282 return _ddmStructureService.getStructure(structureId); 283 } 284 285 /** 286 * Returns the structure matching the class name ID, structure key, and 287 * group. 288 * 289 * @param groupId the primary key of the structure's group 290 * @param classNameId the primary key of the class name for the structure's 291 related model 292 * @param structureKey the unique string identifying the structure 293 * @return the matching structure 294 * @throws PortalException if the user did not have permission to view the 295 structure or if a matching structure could not be found 296 * @throws SystemException if a system exception occurred 297 */ 298 @Override 299 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure( 300 long groupId, long classNameId, java.lang.String structureKey) 301 throws com.liferay.portal.kernel.exception.PortalException, 302 com.liferay.portal.kernel.exception.SystemException { 303 return _ddmStructureService.getStructure(groupId, classNameId, 304 structureKey); 305 } 306 307 /** 308 * Returns the structure matching the class name ID, structure key, and 309 * group, optionally in the global scope. 310 * 311 * <p> 312 * This method first searches in the group. If the structure is still not 313 * found and <code>includeGlobalStructures</code> is set to 314 * <code>true</code>, this method searches the global group. 315 * </p> 316 * 317 * @param groupId the primary key of the structure's group 318 * @param classNameId the primary key of the class name for the structure's 319 related model 320 * @param structureKey the unique string identifying the structure 321 * @param includeGlobalStructures whether to include the global scope in 322 the search 323 * @return the matching structure 324 * @throws PortalException if the user did not have permission to view the 325 structure or if a matching structure could not be found 326 * @throws SystemException if a system exception occurred 327 */ 328 @Override 329 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure( 330 long groupId, long classNameId, java.lang.String structureKey, 331 boolean includeGlobalStructures) 332 throws com.liferay.portal.kernel.exception.PortalException, 333 com.liferay.portal.kernel.exception.SystemException { 334 return _ddmStructureService.getStructure(groupId, classNameId, 335 structureKey, includeGlobalStructures); 336 } 337 338 /** 339 * Returns all the structures in the group that the user has permission to 340 * view. 341 * 342 * @param groupId the primary key of the group 343 * @return the structures in the group that the user has permission to view 344 * @throws SystemException if a system exception occurred 345 */ 346 @Override 347 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures( 348 long groupId) 349 throws com.liferay.portal.kernel.exception.SystemException { 350 return _ddmStructureService.getStructures(groupId); 351 } 352 353 /** 354 * Returns all the structures in the groups that the user has permission to 355 * view. 356 * 357 * @param groupIds the primary key of the groups 358 * @return the structures in the groups that the user has permission to view 359 * @throws SystemException if a system exception occurred 360 */ 361 @Override 362 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures( 363 long[] groupIds) 364 throws com.liferay.portal.kernel.exception.SystemException { 365 return _ddmStructureService.getStructures(groupIds); 366 } 367 368 @Override 369 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures( 370 long[] groupIds, long classNameId) 371 throws com.liferay.portal.kernel.exception.SystemException { 372 return _ddmStructureService.getStructures(groupIds, classNameId); 373 } 374 375 @Override 376 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getStructures( 377 long[] groupIds, long classNameId, int start, int end) 378 throws com.liferay.portal.kernel.exception.SystemException { 379 return _ddmStructureService.getStructures(groupIds, classNameId, start, 380 end); 381 } 382 383 /** 384 * Returns an ordered range of all the structures matching the groups and 385 * class name IDs, and matching the keywords in the structure names and 386 * descriptions. 387 * 388 * <p> 389 * Useful when paginating results. Returns a maximum of <code>end - 390 * start</code> instances. <code>start</code> and <code>end</code> are not 391 * primary keys, they are indexes in the result set. Thus, <code>0</code> 392 * refers to the first result in the set. Setting both <code>start</code> 393 * and <code>end</code> to {@link 394 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 395 * result set. 396 * </p> 397 * 398 * @param companyId the primary key of the structure's company 399 * @param groupIds the primary keys of the groups 400 * @param classNameIds the primary keys of the class names of the models 401 the structures are related to 402 * @param keywords the keywords (space separated), which may occur in the 403 structure's name or description (optionally <code>null</code>) 404 * @param start the lower bound of the range of structures to return 405 * @param end the upper bound of the range of structures to return (not 406 inclusive) 407 * @param orderByComparator the comparator to order the structures 408 (optionally <code>null</code>) 409 * @return the range of matching structures ordered by the comparator 410 * @throws SystemException if a system exception occurred 411 */ 412 @Override 413 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search( 414 long companyId, long[] groupIds, long[] classNameIds, 415 java.lang.String keywords, int start, int end, 416 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 417 throws com.liferay.portal.kernel.exception.SystemException { 418 return _ddmStructureService.search(companyId, groupIds, classNameIds, 419 keywords, start, end, orderByComparator); 420 } 421 422 /** 423 * Returns an ordered range of all the structures matching the groups, class 424 * name IDs, name keyword, description keyword, storage type, and type. 425 * 426 * <p> 427 * Useful when paginating results. Returns a maximum of <code>end - 428 * start</code> instances. <code>start</code> and <code>end</code> are not 429 * primary keys, they are indexes in the result set. Thus, <code>0</code> 430 * refers to the first result in the set. Setting both <code>start</code> 431 * and <code>end</code> to {@link 432 * com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full 433 * result set. 434 * </p> 435 * 436 * @param companyId the primary key of the structure's company 437 * @param groupIds the primary keys of the groups 438 * @param classNameIds the primary keys of the class names of the models 439 the structures are related to 440 * @param name the name keywords 441 * @param description the description keywords 442 * @param storageType the structure's storage type. It can be "xml" or 443 "expando". For more information, see {@link 444 com.liferay.portlet.dynamicdatamapping.storage.StorageType}. 445 * @param type the structure's type. For more information, see {@link 446 com.liferay.portlet.dynamicdatamapping.model.DDMStructureConstants}. 447 * @param andOperator whether every field must match its keywords, or just 448 one field 449 * @param start the lower bound of the range of structures to return 450 * @param end the upper bound of the range of structures to return (not 451 inclusive) 452 * @param orderByComparator the comparator to order the structures 453 (optionally <code>null</code>) 454 * @return the range of matching structures ordered by the comparator 455 * @throws SystemException if a system exception occurred 456 */ 457 @Override 458 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search( 459 long companyId, long[] groupIds, long[] classNameIds, 460 java.lang.String name, java.lang.String description, 461 java.lang.String storageType, int type, boolean andOperator, int start, 462 int end, 463 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 464 throws com.liferay.portal.kernel.exception.SystemException { 465 return _ddmStructureService.search(companyId, groupIds, classNameIds, 466 name, description, storageType, type, andOperator, start, end, 467 orderByComparator); 468 } 469 470 /** 471 * Returns the number of structures matching the groups and class name IDs, 472 * and matching the keywords in the structure names and descriptions. 473 * 474 * @param companyId the primary key of the structure's company 475 * @param groupIds the primary keys of the groups 476 * @param classNameIds the primary keys of the class names of the models 477 the structures are related to 478 * @param keywords the keywords (space separated), which may occur in the 479 structure's name or description (optionally <code>null</code>) 480 * @return the number of matching structures 481 * @throws SystemException if a system exception occurred 482 */ 483 @Override 484 public int searchCount(long companyId, long[] groupIds, 485 long[] classNameIds, java.lang.String keywords) 486 throws com.liferay.portal.kernel.exception.SystemException { 487 return _ddmStructureService.searchCount(companyId, groupIds, 488 classNameIds, keywords); 489 } 490 491 /** 492 * Returns the number of structures matching the groups, class name IDs, 493 * name keyword, description keyword, storage type, and type 494 * 495 * @param companyId the primary key of the structure's company 496 * @param groupIds the primary keys of the groups 497 * @param classNameIds the primary keys of the class names of the models 498 the structure's are related to 499 * @param name the name keywords 500 * @param description the description keywords 501 * @param storageType the structure's storage type. It can be "xml" or 502 "expando". For more information, see {@link 503 com.liferay.portlet.dynamicdatamapping.storage.StorageType}. 504 * @param type the structure's type. For more information, see {@link 505 com.liferay.portlet.dynamicdatamapping.model.DDMStructureConstants}. 506 * @param andOperator whether every field must match its keywords, or just 507 one field 508 * @return the number of matching structures 509 * @throws SystemException if a system exception occurred 510 */ 511 @Override 512 public int searchCount(long companyId, long[] groupIds, 513 long[] classNameIds, java.lang.String name, 514 java.lang.String description, java.lang.String storageType, int type, 515 boolean andOperator) 516 throws com.liferay.portal.kernel.exception.SystemException { 517 return _ddmStructureService.searchCount(companyId, groupIds, 518 classNameIds, name, description, storageType, type, andOperator); 519 } 520 521 /** 522 * Updates the structure matching the class name ID, structure key, and 523 * group, replacing its old parent structure, name map, description map, and 524 * XSD with new ones. 525 * 526 * @param groupId the primary key of the group 527 * @param parentStructureId the primary key of the new parent structure 528 * @param classNameId the primary key of the class name for the structure's 529 related model 530 * @param structureKey the unique string identifying the structure 531 * @param nameMap the structure's new locales and localized names 532 * @param descriptionMap the structure's new locales and localized 533 description 534 * @param xsd the structure's new XML schema definition 535 * @param serviceContext the service context to be applied. Can set the 536 modification date. 537 * @return the updated structure 538 * @throws PortalException if the user did not have permission to update the 539 structure or if a portal exception occurred 540 * @throws SystemException if a system exception occurred 541 */ 542 @Override 543 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure( 544 long groupId, long parentStructureId, long classNameId, 545 java.lang.String structureKey, 546 java.util.Map<java.util.Locale, java.lang.String> nameMap, 547 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 548 java.lang.String xsd, 549 com.liferay.portal.service.ServiceContext serviceContext) 550 throws com.liferay.portal.kernel.exception.PortalException, 551 com.liferay.portal.kernel.exception.SystemException { 552 return _ddmStructureService.updateStructure(groupId, parentStructureId, 553 classNameId, structureKey, nameMap, descriptionMap, xsd, 554 serviceContext); 555 } 556 557 /** 558 * Updates the structure matching the structure ID, replacing the old parent 559 * structure ID, name map, description map, and XSD with the new values. 560 * 561 * @param structureId the primary key of the structure 562 * @param parentStructureId the new parent structure primary key 563 * @param nameMap the structure's new locales and localized names 564 * @param descriptionMap the structure's new locales and localized 565 description 566 * @param xsd the new XML schema definition of the structure 567 * @param serviceContext the service context to be applied. Can set the 568 modification date. 569 * @return the updated structure 570 * @throws PortalException if the user did not have permission to update the 571 structure or if a portal exception occurred 572 * @throws SystemException if a system exception occurred 573 */ 574 @Override 575 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure( 576 long structureId, long parentStructureId, 577 java.util.Map<java.util.Locale, java.lang.String> nameMap, 578 java.util.Map<java.util.Locale, java.lang.String> descriptionMap, 579 java.lang.String xsd, 580 com.liferay.portal.service.ServiceContext serviceContext) 581 throws com.liferay.portal.kernel.exception.PortalException, 582 com.liferay.portal.kernel.exception.SystemException { 583 return _ddmStructureService.updateStructure(structureId, 584 parentStructureId, nameMap, descriptionMap, xsd, serviceContext); 585 } 586 587 /** 588 * @deprecated As of 6.1.0, replaced by {@link #getWrappedService} 589 */ 590 public DDMStructureService getWrappedDDMStructureService() { 591 return _ddmStructureService; 592 } 593 594 /** 595 * @deprecated As of 6.1.0, replaced by {@link #setWrappedService} 596 */ 597 public void setWrappedDDMStructureService( 598 DDMStructureService ddmStructureService) { 599 _ddmStructureService = ddmStructureService; 600 } 601 602 @Override 603 public DDMStructureService getWrappedService() { 604 return _ddmStructureService; 605 } 606 607 @Override 608 public void setWrappedService(DDMStructureService ddmStructureService) { 609 _ddmStructureService = ddmStructureService; 610 } 611 612 private DDMStructureService _ddmStructureService; 613 }