1 /**
2 * Copyright 2005-2006 the original author or authors.
3 *
4 * Licensed under the Gnu General Pubic License, Version 2.0 (the
5 * "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/gpl-license.php
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the Gnu General Public License for more details.
14 */
15 package org.figure8.join.services.cache;
16
17 /**
18 * Defines keys for eternal caches into Join application. Keys have
19 * to be used with <code>CacheManager</code>.
20 * @author <a href="mailto:laurent.broudoux@free.fr">Laurent Broudoux</a>
21 * @version $Revision: 1.2 $
22 */
23 public interface EternalCacheKeys{
24
25
26
27 /** Key for steps cache. Elements keys are step id, values are the domain objects.*/
28 public static final String STEP_ID_TO_STEP_KEY = "org.figure8.join.businessobjects.commons.Step.getStep()";
29
30 /** Key for role cache. Elements keys are role name, values are the domain objects. */
31 public static final String ROLE_NAME_TO_ROLE_KEY = "org.figure8.join.businessobjects.security.Role.getRole()";
32
33 /** Key for releases cache. Elements keys are release name, values are the domain objects. */
34 public static final String RELEASE_NAME_TO_RELEASE_KEY = "org.figure8.join.businessobjects.commons.Release.getRelease()";
35
36 /** Key for deliverable types cache. Elements keys are deliverable type key, values are the domain objects. */
37 public static final String DELTYPE_KEY_TO_DELTYPE_KEY = "org.figure8.join.businessobjects.artifact.DeliverableType.getDeliverableType()";
38 }