001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.control.user.content.server;
018
019import com.echothree.control.user.content.common.ContentRemote;
020import com.echothree.control.user.content.common.form.*;
021import com.echothree.control.user.content.server.command.*;
022import com.echothree.model.data.user.common.pk.UserVisitPK;
023import com.echothree.util.common.command.CommandResult;
024import javax.ejb.Stateless;
025
026@Stateless
027public class ContentBean
028        extends ContentFormsImpl
029        implements ContentRemote, ContentLocal {
030    
031    // -------------------------------------------------------------------------
032    //   Testing
033    // -------------------------------------------------------------------------
034    
035    @Override
036    public String ping() {
037        return "ContentBean is alive!";
038    }
039    
040    // --------------------------------------------------------------------------------
041    //   Content Page Area Types
042    // --------------------------------------------------------------------------------
043    
044    @Override
045    public CommandResult createContentPageAreaType(UserVisitPK userVisitPK, CreateContentPageAreaTypeForm form) {
046        return new CreateContentPageAreaTypeCommand(userVisitPK, form).run();
047    }
048    
049    // --------------------------------------------------------------------------------
050    //   Content Page Area Type Descriptions
051    // --------------------------------------------------------------------------------
052    
053    @Override
054    public CommandResult createContentPageAreaTypeDescription(UserVisitPK userVisitPK, CreateContentPageAreaTypeDescriptionForm form) {
055        return new CreateContentPageAreaTypeDescriptionCommand(userVisitPK, form).run();
056    }
057
058    @Override
059    public CommandResult getContentPageAreaTypeChoices(UserVisitPK userVisitPK, GetContentPageAreaTypeChoicesForm form) {
060        return new GetContentPageAreaTypeChoicesCommand(userVisitPK, form).run();
061    }
062
063    @Override
064    public CommandResult getContentPageAreaType(UserVisitPK userVisitPK, GetContentPageAreaTypeForm form) {
065        return new GetContentPageAreaTypeCommand(userVisitPK, form).run();
066    }
067
068    @Override
069    public CommandResult getContentPageAreaTypes(UserVisitPK userVisitPK, GetContentPageAreaTypesForm form) {
070        return new GetContentPageAreaTypesCommand(userVisitPK, form).run();
071    }
072    
073    // --------------------------------------------------------------------------------
074    //   Content Page Layouts
075    // --------------------------------------------------------------------------------
076    
077    @Override
078    public CommandResult createContentPageLayout(UserVisitPK userVisitPK, CreateContentPageLayoutForm form) {
079        return new CreateContentPageLayoutCommand(userVisitPK, form).run();
080    }
081
082    @Override
083    public CommandResult getContentPageLayoutChoices(UserVisitPK userVisitPK, GetContentPageLayoutChoicesForm form) {
084        return new GetContentPageLayoutChoicesCommand(userVisitPK, form).run();
085    }
086
087    @Override
088    public CommandResult getContentPageLayout(UserVisitPK userVisitPK, GetContentPageLayoutForm form) {
089        return new GetContentPageLayoutCommand(userVisitPK, form).run();
090    }
091
092    @Override
093    public CommandResult getContentPageLayouts(UserVisitPK userVisitPK, GetContentPageLayoutsForm form) {
094        return new GetContentPageLayoutsCommand(userVisitPK, form).run();
095    }
096
097    @Override
098    public CommandResult setDefaultContentPageLayout(UserVisitPK userVisitPK, SetDefaultContentPageLayoutForm form) {
099        return new SetDefaultContentPageLayoutCommand(userVisitPK, form).run();
100    }
101
102    @Override
103    public CommandResult editContentPageLayout(UserVisitPK userVisitPK, EditContentPageLayoutForm form) {
104        return new EditContentPageLayoutCommand(userVisitPK, form).run();
105    }
106
107    @Override
108    public CommandResult deleteContentPageLayout(UserVisitPK userVisitPK, DeleteContentPageLayoutForm form) {
109        return new DeleteContentPageLayoutCommand(userVisitPK, form).run();
110    }
111    
112    // --------------------------------------------------------------------------------
113    //   Content Page Layout Descriptions
114    // --------------------------------------------------------------------------------
115    
116    @Override
117    public CommandResult createContentPageLayoutDescription(UserVisitPK userVisitPK, CreateContentPageLayoutDescriptionForm form) {
118        return new CreateContentPageLayoutDescriptionCommand(userVisitPK, form).run();
119    }
120
121    @Override
122    public CommandResult getContentPageLayoutDescription(UserVisitPK userVisitPK, GetContentPageLayoutDescriptionForm form) {
123        return new GetContentPageLayoutDescriptionCommand(userVisitPK, form).run();
124    }
125
126    @Override
127    public CommandResult getContentPageLayoutDescriptions(UserVisitPK userVisitPK, GetContentPageLayoutDescriptionsForm form) {
128        return new GetContentPageLayoutDescriptionsCommand(userVisitPK, form).run();
129    }
130
131    @Override
132    public CommandResult editContentPageLayoutDescription(UserVisitPK userVisitPK, EditContentPageLayoutDescriptionForm form) {
133        return new EditContentPageLayoutDescriptionCommand(userVisitPK, form).run();
134    }
135
136    @Override
137    public CommandResult deleteContentPageLayoutDescription(UserVisitPK userVisitPK, DeleteContentPageLayoutDescriptionForm form) {
138        return new DeleteContentPageLayoutDescriptionCommand(userVisitPK, form).run();
139    }
140    
141    // --------------------------------------------------------------------------------
142    //   Content Page Layout Areas
143    // --------------------------------------------------------------------------------
144    
145    @Override
146    public CommandResult createContentPageLayoutArea(UserVisitPK userVisitPK, CreateContentPageLayoutAreaForm form) {
147        return new CreateContentPageLayoutAreaCommand(userVisitPK, form).run();
148    }
149    
150    @Override
151    public CommandResult getContentPageLayoutArea(UserVisitPK userVisitPK, GetContentPageLayoutAreaForm form) {
152        return new GetContentPageLayoutAreaCommand(userVisitPK, form).run();
153    }
154    
155    @Override
156    public CommandResult getContentPageLayoutAreas(UserVisitPK userVisitPK, GetContentPageLayoutAreasForm form) {
157        return new GetContentPageLayoutAreasCommand(userVisitPK, form).run();
158    }
159    
160    // --------------------------------------------------------------------------------
161    //   Content Page Layout Area Descriptions
162    // --------------------------------------------------------------------------------
163    
164    @Override
165    public CommandResult createContentPageLayoutAreaDescription(UserVisitPK userVisitPK, CreateContentPageLayoutAreaDescriptionForm form) {
166        return new CreateContentPageLayoutAreaDescriptionCommand(userVisitPK, form).run();
167    }
168    
169    // --------------------------------------------------------------------------------
170    //   Content Collections
171    // --------------------------------------------------------------------------------
172    
173    @Override
174    public CommandResult createContentCollection(UserVisitPK userVisitPK, CreateContentCollectionForm form) {
175        return new CreateContentCollectionCommand(userVisitPK, form).run();
176    }
177    
178    @Override
179    public CommandResult getContentCollection(UserVisitPK userVisitPK, GetContentCollectionForm form) {
180        return new GetContentCollectionCommand(userVisitPK, form).run();
181    }
182    
183    @Override
184    public CommandResult getContentCollections(UserVisitPK userVisitPK, GetContentCollectionsForm form) {
185        return new GetContentCollectionsCommand(userVisitPK, form).run();
186    }
187    
188    @Override
189    public CommandResult editContentCollection(UserVisitPK userVisitPK, EditContentCollectionForm form) {
190        return new EditContentCollectionCommand(userVisitPK, form).run();
191    }
192    
193    @Override
194    public CommandResult deleteContentCollection(UserVisitPK userVisitPK, DeleteContentCollectionForm form) {
195        return new DeleteContentCollectionCommand(userVisitPK, form).run();
196    }
197    
198    @Override
199    public CommandResult getContentCollectionChoices(UserVisitPK userVisitPK, GetContentCollectionChoicesForm form) {
200        return new GetContentCollectionChoicesCommand(userVisitPK, form).run();
201    }
202    
203    // --------------------------------------------------------------------------------
204    //   Content Collection Descriptions
205    // --------------------------------------------------------------------------------
206    
207    @Override
208    public CommandResult createContentCollectionDescription(UserVisitPK userVisitPK, CreateContentCollectionDescriptionForm form) {
209        return new CreateContentCollectionDescriptionCommand(userVisitPK, form).run();
210    }
211
212    @Override
213    public CommandResult getContentCollectionDescription(UserVisitPK userVisitPK, GetContentCollectionDescriptionForm form) {
214        return new GetContentCollectionDescriptionCommand(userVisitPK, form).run();
215    }
216
217    @Override
218    public CommandResult getContentCollectionDescriptions(UserVisitPK userVisitPK, GetContentCollectionDescriptionsForm form) {
219        return new GetContentCollectionDescriptionsCommand(userVisitPK, form).run();
220    }
221    
222    @Override
223    public CommandResult editContentCollectionDescription(UserVisitPK userVisitPK, EditContentCollectionDescriptionForm form) {
224        return new EditContentCollectionDescriptionCommand(userVisitPK, form).run();
225    }
226    
227    
228    @Override
229    public CommandResult deleteContentCollectionDescription(UserVisitPK userVisitPK, DeleteContentCollectionDescriptionForm form) {
230        return new DeleteContentCollectionDescriptionCommand(userVisitPK, form).run();
231    }
232    
233    // --------------------------------------------------------------------------------
234    //   Content Sections
235    // --------------------------------------------------------------------------------
236    
237    @Override
238    public CommandResult createContentSection(UserVisitPK userVisitPK, CreateContentSectionForm form) {
239        return new CreateContentSectionCommand(userVisitPK, form).run();
240    }
241    
242    @Override
243    public CommandResult getContentSection(UserVisitPK userVisitPK, GetContentSectionForm form) {
244        return new GetContentSectionCommand(userVisitPK, form).run();
245    }
246    
247    @Override
248    public CommandResult getContentSections(UserVisitPK userVisitPK, GetContentSectionsForm form) {
249        return new GetContentSectionsCommand(userVisitPK, form).run();
250    }
251    
252    @Override
253    public CommandResult setDefaultContentSection(UserVisitPK userVisitPK, SetDefaultContentSectionForm form) {
254        return new SetDefaultContentSectionCommand(userVisitPK, form).run();
255    }
256    
257    @Override
258    public CommandResult editContentSection(UserVisitPK userVisitPK, EditContentSectionForm form) {
259        return new EditContentSectionCommand(userVisitPK, form).run();
260    }
261    
262    @Override
263    public CommandResult deleteContentSection(UserVisitPK userVisitPK, DeleteContentSectionForm form) {
264        return new DeleteContentSectionCommand(userVisitPK, form).run();
265    }
266    
267    @Override
268    public CommandResult getContentSectionChoices(UserVisitPK userVisitPK, GetContentSectionChoicesForm form) {
269        return new GetContentSectionChoicesCommand(userVisitPK, form).run();
270    }
271    
272    // --------------------------------------------------------------------------------
273    //   Content Section Description
274    // --------------------------------------------------------------------------------
275    
276    @Override
277    public CommandResult createContentSectionDescription(UserVisitPK userVisitPK, CreateContentSectionDescriptionForm form) {
278        return new CreateContentSectionDescriptionCommand(userVisitPK, form).run();
279    }
280    
281    @Override
282    public CommandResult getContentSectionDescription(UserVisitPK userVisitPK, GetContentSectionDescriptionForm form) {
283        return new GetContentSectionDescriptionCommand(userVisitPK, form).run();
284    }
285
286    @Override
287    public CommandResult getContentSectionDescriptions(UserVisitPK userVisitPK, GetContentSectionDescriptionsForm form) {
288        return new GetContentSectionDescriptionsCommand(userVisitPK, form).run();
289    }
290
291    @Override
292    public CommandResult editContentSectionDescription(UserVisitPK userVisitPK, EditContentSectionDescriptionForm form) {
293        return new EditContentSectionDescriptionCommand(userVisitPK, form).run();
294    }
295    
296    @Override
297    public CommandResult deleteContentSectionDescription(UserVisitPK userVisitPK, DeleteContentSectionDescriptionForm form) {
298        return new DeleteContentSectionDescriptionCommand(userVisitPK, form).run();
299    }
300    
301    // --------------------------------------------------------------------------------
302    //  Content Pages
303    // --------------------------------------------------------------------------------
304    
305    @Override
306    public CommandResult createContentPage(UserVisitPK userVisitPK, CreateContentPageForm form) {
307        return new CreateContentPageCommand(userVisitPK, form).run();
308    }
309    
310    @Override
311    public CommandResult getContentPage(UserVisitPK userVisitPK, GetContentPageForm form) {
312        return new GetContentPageCommand(userVisitPK, form).run();
313    }
314    
315    @Override
316    public CommandResult getContentPages(UserVisitPK userVisitPK, GetContentPagesForm form) {
317        return new GetContentPagesCommand(userVisitPK, form).run();
318    }
319    
320    @Override
321    public CommandResult setDefaultContentPage(UserVisitPK userVisitPK, SetDefaultContentPageForm form) {
322        return new SetDefaultContentPageCommand(userVisitPK, form).run();
323    }
324    
325    @Override
326    public CommandResult editContentPage(UserVisitPK userVisitPK, EditContentPageForm form) {
327        return new EditContentPageCommand(userVisitPK, form).run();
328    }
329    
330    @Override
331    public CommandResult deleteContentPage(UserVisitPK userVisitPK, DeleteContentPageForm form) {
332        return new DeleteContentPageCommand(userVisitPK, form).run();
333    }
334    
335    // --------------------------------------------------------------------------------
336    //   Content Page Descriptions
337    // --------------------------------------------------------------------------------
338    
339    @Override
340    public CommandResult createContentPageDescription(UserVisitPK userVisitPK, CreateContentPageDescriptionForm form) {
341        return new CreateContentPageDescriptionCommand(userVisitPK, form).run();
342    }
343    
344    @Override
345    public CommandResult getContentPageDescription(UserVisitPK userVisitPK, GetContentPageDescriptionForm form) {
346        return new GetContentPageDescriptionCommand(userVisitPK, form).run();
347    }
348
349    @Override
350    public CommandResult getContentPageDescriptions(UserVisitPK userVisitPK, GetContentPageDescriptionsForm form) {
351        return new GetContentPageDescriptionsCommand(userVisitPK, form).run();
352    }
353
354    @Override
355    public CommandResult editContentPageDescription(UserVisitPK userVisitPK, EditContentPageDescriptionForm form) {
356        return new EditContentPageDescriptionCommand(userVisitPK, form).run();
357    }
358    
359    @Override
360    public CommandResult deleteContentPageDescription(UserVisitPK userVisitPK, DeleteContentPageDescriptionForm form) {
361        return new DeleteContentPageDescriptionCommand(userVisitPK, form).run();
362    }
363    
364    // --------------------------------------------------------------------------------
365    //   Content Catalogs
366    // --------------------------------------------------------------------------------
367    
368    @Override
369    public CommandResult createContentCatalog(UserVisitPK userVisitPK, CreateContentCatalogForm form) {
370        return new CreateContentCatalogCommand(userVisitPK, form).run();
371    }
372    
373    @Override
374    public CommandResult getContentCatalog(UserVisitPK userVisitPK, GetContentCatalogForm form) {
375        return new GetContentCatalogCommand(userVisitPK, form).run();
376    }
377    
378    @Override
379    public CommandResult getContentCatalogs(UserVisitPK userVisitPK, GetContentCatalogsForm form) {
380        return new GetContentCatalogsCommand(userVisitPK, form).run();
381    }
382    
383    @Override
384    public CommandResult setDefaultContentCatalog(UserVisitPK userVisitPK, SetDefaultContentCatalogForm form) {
385        return new SetDefaultContentCatalogCommand(userVisitPK, form).run();
386    }
387    
388    @Override
389    public CommandResult editContentCatalog(UserVisitPK userVisitPK, EditContentCatalogForm form) {
390        return new EditContentCatalogCommand(userVisitPK, form).run();
391    }
392    
393    @Override
394    public CommandResult deleteContentCatalog(UserVisitPK userVisitPK, DeleteContentCatalogForm form) {
395        return new DeleteContentCatalogCommand(userVisitPK, form).run();
396    }
397    
398    // --------------------------------------------------------------------------------
399    //   Content Catalog Descriptions
400    // --------------------------------------------------------------------------------
401    
402    @Override
403    public CommandResult createContentCatalogDescription(UserVisitPK userVisitPK, CreateContentCatalogDescriptionForm form) {
404        return new CreateContentCatalogDescriptionCommand(userVisitPK, form).run();
405    }
406    
407    @Override
408    public CommandResult getContentCatalogDescription(UserVisitPK userVisitPK, GetContentCatalogDescriptionForm form) {
409        return new GetContentCatalogDescriptionCommand(userVisitPK, form).run();
410    }
411
412    @Override
413    public CommandResult getContentCatalogDescriptions(UserVisitPK userVisitPK, GetContentCatalogDescriptionsForm form) {
414        return new GetContentCatalogDescriptionsCommand(userVisitPK, form).run();
415    }
416
417    @Override
418    public CommandResult editContentCatalogDescription(UserVisitPK userVisitPK, EditContentCatalogDescriptionForm form) {
419        return new EditContentCatalogDescriptionCommand(userVisitPK, form).run();
420    }
421    
422    @Override
423    public CommandResult deleteContentCatalogDescription(UserVisitPK userVisitPK, DeleteContentCatalogDescriptionForm form) {
424        return new DeleteContentCatalogDescriptionCommand(userVisitPK, form).run();
425    }
426    
427    // --------------------------------------------------------------------------------
428    //   Content Catalog Items
429    // --------------------------------------------------------------------------------
430
431    @Override
432    public CommandResult getContentCatalogItem(UserVisitPK userVisitPK, GetContentCatalogItemForm form) {
433        return new GetContentCatalogItemCommand(userVisitPK, form).run();
434    }
435
436    @Override
437    public CommandResult getContentCatalogItems(UserVisitPK userVisitPK, GetContentCatalogItemsForm form) {
438        return new GetContentCatalogItemsCommand(userVisitPK, form).run();
439    }
440
441    // --------------------------------------------------------------------------------
442    //   Content Categories
443    // --------------------------------------------------------------------------------
444    
445    @Override
446    public CommandResult createContentCategory(UserVisitPK userVisitPK, CreateContentCategoryForm form) {
447        return new CreateContentCategoryCommand(userVisitPK, form).run();
448    }
449    
450    @Override
451    public CommandResult getContentCategory(UserVisitPK userVisitPK, GetContentCategoryForm form) {
452        return new GetContentCategoryCommand(userVisitPK, form).run();
453    }
454    
455    @Override
456    public CommandResult getContentCategories(UserVisitPK userVisitPK, GetContentCategoriesForm form) {
457        return new GetContentCategoriesCommand(userVisitPK, form).run();
458    }
459    
460    @Override
461    public CommandResult setDefaultContentCategory(UserVisitPK userVisitPK, SetDefaultContentCategoryForm form) {
462        return new SetDefaultContentCategoryCommand(userVisitPK, form).run();
463    }
464    
465    @Override
466    public CommandResult editContentCategory(UserVisitPK userVisitPK, EditContentCategoryForm form) {
467        return new EditContentCategoryCommand(userVisitPK, form).run();
468    }
469    
470    @Override
471    public CommandResult deleteContentCategory(UserVisitPK userVisitPK, DeleteContentCategoryForm form) {
472        return new DeleteContentCategoryCommand(userVisitPK, form).run();
473    }
474    
475    @Override
476    public CommandResult getContentCategoryChoices(UserVisitPK userVisitPK, GetContentCategoryChoicesForm form) {
477        return new GetContentCategoryChoicesCommand(userVisitPK, form).run();
478    }
479    
480    // --------------------------------------------------------------------------------
481    //   Content Category Descriptions
482    // --------------------------------------------------------------------------------
483    
484    @Override
485    public CommandResult createContentCategoryDescription(UserVisitPK userVisitPK, CreateContentCategoryDescriptionForm form) {
486        return new CreateContentCategoryDescriptionCommand(userVisitPK, form).run();
487    }
488    
489    @Override
490    public CommandResult getContentCategoryDescription(UserVisitPK userVisitPK, GetContentCategoryDescriptionForm form) {
491        return new GetContentCategoryDescriptionCommand(userVisitPK, form).run();
492    }
493
494    @Override
495    public CommandResult getContentCategoryDescriptions(UserVisitPK userVisitPK, GetContentCategoryDescriptionsForm form) {
496        return new GetContentCategoryDescriptionsCommand(userVisitPK, form).run();
497    }
498
499    @Override
500    public CommandResult editContentCategoryDescription(UserVisitPK userVisitPK, EditContentCategoryDescriptionForm form) {
501        return new EditContentCategoryDescriptionCommand(userVisitPK, form).run();
502    }
503    
504    @Override
505    public CommandResult deleteContentCategoryDescription(UserVisitPK userVisitPK, DeleteContentCategoryDescriptionForm form) {
506        return new DeleteContentCategoryDescriptionCommand(userVisitPK, form).run();
507    }
508    
509    // --------------------------------------------------------------------------------
510    //   Content Category Items
511    // --------------------------------------------------------------------------------
512    
513    @Override
514    public CommandResult createContentCategoryItem(UserVisitPK userVisitPK, CreateContentCategoryItemForm form) {
515        return new CreateContentCategoryItemCommand(userVisitPK, form).run();
516    }
517    
518    @Override
519    public CommandResult getContentCategoryItem(UserVisitPK userVisitPK, GetContentCategoryItemForm form) {
520        return new GetContentCategoryItemCommand(userVisitPK, form).run();
521    }
522    
523    @Override
524    public CommandResult getContentCategoryItems(UserVisitPK userVisitPK, GetContentCategoryItemsForm form) {
525        return new GetContentCategoryItemsCommand(userVisitPK, form).run();
526    }
527    
528    @Override
529    public CommandResult setDefaultContentCategoryItem(UserVisitPK userVisitPK, SetDefaultContentCategoryItemForm form) {
530        return new SetDefaultContentCategoryItemCommand(userVisitPK, form).run();
531    }
532    
533    @Override
534    public CommandResult editContentCategoryItem(UserVisitPK userVisitPK, EditContentCategoryItemForm form) {
535        return new EditContentCategoryItemCommand(userVisitPK, form).run();
536    }
537    
538    @Override
539    public CommandResult deleteContentCategoryItem(UserVisitPK userVisitPK, DeleteContentCategoryItemForm form) {
540        return new DeleteContentCategoryItemCommand(userVisitPK, form).run();
541    }
542    
543    // --------------------------------------------------------------------------------
544    //   Content Forums
545    // --------------------------------------------------------------------------------
546    
547    @Override
548    public CommandResult createContentForum(UserVisitPK userVisitPK, CreateContentForumForm form) {
549        return new CreateContentForumCommand(userVisitPK, form).run();
550    }
551    
552    @Override
553    public CommandResult getContentForum(UserVisitPK userVisitPK, GetContentForumForm form) {
554        return new GetContentForumCommand(userVisitPK, form).run();
555    }
556    
557    @Override
558    public CommandResult getContentForums(UserVisitPK userVisitPK, GetContentForumsForm form) {
559        return new GetContentForumsCommand(userVisitPK, form).run();
560    }
561    
562    @Override
563    public CommandResult setDefaultContentForum(UserVisitPK userVisitPK, SetDefaultContentForumForm form) {
564        return new SetDefaultContentForumCommand(userVisitPK, form).run();
565    }
566    
567    @Override
568    public CommandResult deleteContentForum(UserVisitPK userVisitPK, DeleteContentForumForm form) {
569        return new DeleteContentForumCommand(userVisitPK, form).run();
570    }
571    
572    // --------------------------------------------------------------------------------
573    //   Content Web Addresses
574    // --------------------------------------------------------------------------------
575    
576    @Override
577    public CommandResult createContentWebAddress(UserVisitPK userVisitPK, CreateContentWebAddressForm form) {
578        return new CreateContentWebAddressCommand(userVisitPK, form).run();
579    }
580    
581    @Override
582    public CommandResult getContentWebAddress(UserVisitPK userVisitPK, GetContentWebAddressForm form) {
583        return new GetContentWebAddressCommand(userVisitPK, form).run();
584    }
585    
586    @Override
587    public CommandResult getContentWebAddresses(UserVisitPK userVisitPK, GetContentWebAddressesForm form) {
588        return new GetContentWebAddressesCommand(userVisitPK, form).run();
589    }
590    
591    @Override
592    public CommandResult editContentWebAddress(UserVisitPK userVisitPK, EditContentWebAddressForm form) {
593        return new EditContentWebAddressCommand(userVisitPK, form).run();
594    }
595    
596    @Override
597    public CommandResult deleteContentWebAddress(UserVisitPK userVisitPK, DeleteContentWebAddressForm form) {
598        return new DeleteContentWebAddressCommand(userVisitPK, form).run();
599    }
600    
601    // --------------------------------------------------------------------------------
602    //   Content Web Address Descriptions
603    // --------------------------------------------------------------------------------
604    
605    @Override
606    public CommandResult createContentWebAddressDescription(UserVisitPK userVisitPK, CreateContentWebAddressDescriptionForm form) {
607        return new CreateContentWebAddressDescriptionCommand(userVisitPK, form).run();
608    }
609    
610    @Override
611    public CommandResult getContentWebAddressDescription(UserVisitPK userVisitPK, GetContentWebAddressDescriptionForm form) {
612        return new GetContentWebAddressDescriptionCommand(userVisitPK, form).run();
613    }
614
615    @Override
616    public CommandResult getContentWebAddressDescriptions(UserVisitPK userVisitPK, GetContentWebAddressDescriptionsForm form) {
617        return new GetContentWebAddressDescriptionsCommand(userVisitPK, form).run();
618    }
619
620    @Override
621    public CommandResult editContentWebAddressDescription(UserVisitPK userVisitPK, EditContentWebAddressDescriptionForm form) {
622        return new EditContentWebAddressDescriptionCommand(userVisitPK, form).run();
623    }
624    
625    @Override
626    public CommandResult deleteContentWebAddressDescription(UserVisitPK userVisitPK, DeleteContentWebAddressDescriptionForm form) {
627        return new DeleteContentWebAddressDescriptionCommand(userVisitPK, form).run();
628    }
629    
630    // --------------------------------------------------------------------------------
631    //   Content Web Address Servers
632    // --------------------------------------------------------------------------------
633    
634    @Override
635    public CommandResult createContentWebAddressServer(UserVisitPK userVisitPK, CreateContentWebAddressServerForm form) {
636        return new CreateContentWebAddressServerCommand(userVisitPK, form).run();
637    }
638    
639    // --------------------------------------------------------------------------------
640    //  Content Page Areas
641    // --------------------------------------------------------------------------------
642    
643    @Override
644    public CommandResult createContentPageArea(UserVisitPK userVisitPK, CreateContentPageAreaForm form) {
645        return new CreateContentPageAreaCommand(userVisitPK, form).run();
646    }
647    
648    @Override
649    public CommandResult getContentPageArea(UserVisitPK userVisitPK, GetContentPageAreaForm form) {
650        return new GetContentPageAreaCommand(userVisitPK, form).run();
651    }
652
653    @Override
654    public CommandResult getContentPageAreas(UserVisitPK userVisitPK, GetContentPageAreasForm form) {
655        return new GetContentPageAreasCommand(userVisitPK, form).run();
656    }
657
658    @Override
659    public CommandResult editContentPageArea(UserVisitPK userVisitPK, EditContentPageAreaForm form) {
660        return new EditContentPageAreaCommand(userVisitPK, form).run();
661    }
662    
663    @Override
664    public CommandResult deleteContentPageArea(UserVisitPK userVisitPK, DeleteContentPageAreaForm form) {
665        return new DeleteContentPageAreaCommand(userVisitPK, form).run();
666    }
667    
668}