Subversion Repositories SmartDukaan

Rev

Rev 3358 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3358 Rev 6520
Line 31... Line 31...
31
    // Special page attributes set by Struts2
31
    // Special page attributes set by Struts2
32
    private String            id;
32
    private String            id;
33
    private String            displayName;
33
    private String            displayName;
34
    private String            description;
34
    private String            description;
35
    private String            primeURL;
35
    private String            primeURL;
-
 
36
    private Long 			   pageType;//Solr Search 0, Tag Search 1
36
    private String            saholicURL;
37
    private String            saholicURL;
37
    private String            searchQuery;
38
    private String            searchQuery;
38
    private String            pageTitle;
39
    private String            pageTitle;
39
    private String            metaKeywords;
40
    private String            metaKeywords;
40
    private String            metaDescription;
41
    private String            metaDescription;
Line 65... Line 66...
65
        specialPage.setSaholicURL(saholicURL);
66
        specialPage.setSaholicURL(saholicURL);
66
        specialPage.setPageTitle(pageTitle);
67
        specialPage.setPageTitle(pageTitle);
67
        specialPage.setMetaDescription(metaDescription);
68
        specialPage.setMetaDescription(metaDescription);
68
        specialPage.setMetaKeywords(metaKeywords);
69
        specialPage.setMetaKeywords(metaKeywords);
69
        specialPage.setSearchQuery(searchQuery);
70
        specialPage.setSearchQuery(searchQuery);
-
 
71
        specialPage.setPageType(pageType);
70
 
72
 
71
        log.info(specialPage);
73
        log.info(specialPage);
72
        CreationUtils.storeSpecialPage(specialPage);
74
        CreationUtils.storeSpecialPage(specialPage);
73
        return "index";
75
        return "index";
74
    }
76
    }
Line 195... Line 197...
195
    }
197
    }
196
 
198
 
197
    public void setMetaDescription(String metaDescription) {
199
    public void setMetaDescription(String metaDescription) {
198
        this.metaDescription = metaDescription;
200
        this.metaDescription = metaDescription;
199
    }
201
    }
-
 
202
 
-
 
203
	public void setPageType(Long pageType) {
-
 
204
		this.pageType = pageType;
-
 
205
	}
-
 
206
 
-
 
207
	public Long getPageType() {
-
 
208
		return pageType;
-
 
209
	}
200
}
210
}