1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package com.hack23.cia.web.impl.ui.application.views.user.document;
20
21 import org.springframework.context.ApplicationContext;
22 import org.springframework.context.annotation.Scope;
23 import org.springframework.stereotype.Service;
24
25 import com.hack23.cia.web.impl.ui.application.views.common.pagemode.PageModeContentFactory;
26 import com.hack23.cia.web.impl.ui.application.views.common.viewnames.UserViews;
27 import com.hack23.cia.web.impl.ui.application.views.user.common.AbstractUserView;
28 import com.vaadin.spring.annotation.SpringView;
29
30
31
32
33 @Service
34 @Scope(value = "prototype")
35 @SpringView(name = SearchDocumentView.NAME)
36 public final class SearchDocumentView extends AbstractUserView {
37
38
39 private static final long serialVersionUID = 1L;
40
41
42 public static final String NAME = UserViews.SEARCH_DOCUMENT_VIEW_NAME;
43
44
45
46
47
48
49
50 public SearchDocumentView(final ApplicationContext context) {
51 super(context.getBeansOfType(PageModeContentFactory.class), NAME);
52
53 }
54
55 }