1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2011 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
package eu.etaxonomy.dataportal.pages;
|
11
|
|
12
|
import java.net.MalformedURLException;
|
13
|
|
14
|
import org.openqa.selenium.WebDriver;
|
15
|
|
16
|
import eu.etaxonomy.dataportal.DataPortalContext;
|
17
|
|
18
|
/**
|
19
|
* @author andreas
|
20
|
* @date Jul 5, 2011
|
21
|
*
|
22
|
*/
|
23
|
public class GenericPortalPage extends PortalPage {
|
24
|
|
25
|
|
26
|
/**
|
27
|
* @param driver
|
28
|
* @param context
|
29
|
* @param pagePathSuffix
|
30
|
* @throws MalformedURLException
|
31
|
*/
|
32
|
public GenericPortalPage(WebDriver driver, DataPortalContext context, String pagePathSuffix) throws MalformedURLException {
|
33
|
super(driver, context, pagePathSuffix);
|
34
|
}
|
35
|
|
36
|
/**
|
37
|
* @param driver
|
38
|
* @param context
|
39
|
* @throws Exception
|
40
|
*/
|
41
|
public GenericPortalPage(WebDriver driver, DataPortalContext context) throws Exception {
|
42
|
super(driver, context);
|
43
|
}
|
44
|
|
45
|
protected static String drupalPagePathBase = "cdm_dataportal";
|
46
|
|
47
|
/* (non-Javadoc)
|
48
|
* @see eu.etaxonomy.dataportal.pages.PortalPage#getDrupalPageBase()
|
49
|
*/
|
50
|
@Override
|
51
|
protected String getDrupalPageBase() {
|
52
|
return drupalPagePathBase;
|
53
|
}
|
54
|
|
55
|
}
|