mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9155 Links service listing and finding in Java, plus tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
43
source/java/org/alfresco/repo/links/LinksModel.java
Normal file
43
source/java/org/alfresco/repo/links/LinksModel.java
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2011 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
* Alfresco is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Alfresco is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.alfresco.repo.links;
|
||||
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
/**
|
||||
* Links models constants
|
||||
*
|
||||
* @author Nick Burch
|
||||
*/
|
||||
public interface LinksModel
|
||||
{
|
||||
/** Links Model */
|
||||
public static final String LINKS_MODEL_URL = "http://www.alfresco.org/model/linksmodel/1.0";
|
||||
public static final String LINKS_MODEL_PREFIX = "lnk";
|
||||
|
||||
/** Link */
|
||||
public static final QName TYPE_LINK = QName.createQName(LINKS_MODEL_URL, "link");
|
||||
public static final QName PROP_TITLE = QName.createQName(LINKS_MODEL_URL, "title");
|
||||
public static final QName PROP_DESCRIPTION = QName.createQName(LINKS_MODEL_URL, "description");
|
||||
public static final QName PROP_URL = QName.createQName(LINKS_MODEL_URL, "url");
|
||||
|
||||
/** Internal Link */
|
||||
public static final QName ASPECT_INTERNAL_LINK = QName.createQName(LINKS_MODEL_URL, "internal");
|
||||
public static final QName PROP_IS_INTERNAL = QName.createQName(LINKS_MODEL_URL, "isInternal");
|
||||
}
|
Reference in New Issue
Block a user