001/*
002 * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and others.
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 * Contributors:
017 *     <a href="mailto:grenard@nuxeo.com">Guillaume Renard</a>
018 *
019 */
020
021package org.nuxeo.functionaltests.pages.restapiDoc;
022
023import org.nuxeo.functionaltests.Required;
024import org.openqa.selenium.WebElement;
025import org.openqa.selenium.support.FindBy;
026
027/**
028 * @since 7.3
029 */
030public class RestApiDocBasePage {
031
032    @Required
033    @FindBy(id = "api_info")
034    public WebElement apiInfoDiv;
035
036    @Required
037    @FindBy(linkText = "path")
038    public WebElement pathLink;
039
040    @Required
041    @FindBy(linkText = "id")
042    public WebElement idLink;
043
044    @Required
045    @FindBy(linkText = "query")
046    public WebElement queryLink;
047
048    @Required
049    @FindBy(linkText = "automation")
050    public WebElement automationLink;
051
052    @Required
053    @FindBy(linkText = "user")
054    public WebElement userLink;
055
056    @Required
057    @FindBy(linkText = "group")
058    public WebElement groupLink;
059
060    @Required
061    @FindBy(linkText = "me")
062    public WebElement meLink;
063
064    @Required
065    @FindBy(linkText = "directory")
066    public WebElement directoryLink;
067
068    @Required
069    @FindBy(linkText = "childrenAdapter")
070    public WebElement childrenAdapterLink;
071
072    @Required
073    @FindBy(linkText = "searchAdapter")
074    public WebElement searchAdapterLink;
075
076    @Required
077    @FindBy(linkText = "ppAdapter")
078    public WebElement ppAdapterLink;
079
080    @Required
081    @FindBy(linkText = "auditAdapter")
082    public WebElement auditAdapterLink;
083
084    @Required
085    @FindBy(linkText = "aclAdapter")
086    public WebElement aclAdapterLink;
087
088    @Required
089    @FindBy(linkText = "boAdapter")
090    public WebElement boAdapterLink;
091
092    @Required
093    @FindBy(linkText = "workflow")
094    public WebElement workflowLink;
095
096    @Required
097    @FindBy(linkText = "workflowModel")
098    public WebElement workflowModelLink;
099
100    @Required
101    @FindBy(linkText = "task")
102    public WebElement taskLink;
103
104    @Required
105    @FindBy(linkText = "search")
106    public WebElement searchLink;
107
108}