@@ -0,0 +1,1619 @@
+/*%0A * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.%0A *%0A * WSO2 Inc. licenses this file to you under the Apache License,%0A * Version 2.0 (the %22License%22); you may not use this file except%0A * in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing,%0A * software distributed under the License is distributed on an%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY%0A * KIND, either express or implied.  See the License for the%0A * specific language governing permissions and limitations%0A * under the License.%0A */%0A%0Apackage org.wso2.carbon.uis.api.util;%0A%0Aimport java.util.List;%0A%0A/**%0A * Represents an entity that can be present in more than one location.%0A *%0A * @since 0.12.0%0A */%0Apublic interface Multilocational %7B%0A%0A    /**%0A     * Returns paths that the entity represented this object is present. First path of the returning list has the%0A     * highest priority and the last path has the least priority.%0A     *%0A     * @return paths that the entity represented this object is present%0A     */%0A    List%3CString%3E getPaths();%0A%0A    /**%0A     * Returns the path with the highest priority.%0A     *%0A     * @return highest priority path%0A     */%0A    default String getHighestPriorityPath() %7B%0A        return getPaths().get(0);%0A    %7D%0A%0A    /**%0A     * Returns the path with the least priority.%0A     *%0A     * @return least priority path%0A     */%0A    default String getLeastPriorityPath() %7B%0A        List%3CString%3E paths = getPaths();%0A        return paths.get(paths.size() - 1);%0A    %7D%0A%7D%0A

add Multilocational interface