/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library 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 2.1 of the License, or (at your option) * any later version. * * This library 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. */ package com.liferay.journal.model; import com.liferay.portal.kernel.workflow.WorkflowConstants; /** * @author Alexander Chow */ public class JournalArticleConstants { public static final int[] ASSET_ENTRY_CREATION_STATUSES = { WorkflowConstants.STATUS_APPROVED, WorkflowConstants.STATUS_EXPIRED, WorkflowConstants.STATUS_SCHEDULED }; public static final String CANONICAL_URL_SEPARATOR = "/-/"; public static final long CLASSNAME_ID_DEFAULT = 0; public static final long DDM_STRUCTURE_ID_ALL = -1; public static final String DISPLAY_PAGE = "display-page"; public static final int NOTIFICATION_TYPE_MOVE_ENTRY_FROM_FOLDER = 2; public static final int NOTIFICATION_TYPE_MOVE_ENTRY_FROM_TRASH = 4; public static final int NOTIFICATION_TYPE_MOVE_ENTRY_TO_FOLDER = 3; public static final int NOTIFICATION_TYPE_MOVE_ENTRY_TO_TRASH = 5; public static final String PORTLET = "portlet"; public static final String STAND_ALONE = "stand-alone"; public static final double VERSION_DEFAULT = 1.0; }