01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2006 Danet GmbH (www.danet.de), BU BTS.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: RoleResource.java,v 1.1 2006/10/02 20:53:28 mlipp Exp $
21: *
22: * $Log: RoleResource.java,v $
23: * Revision 1.1 2006/10/02 20:53:28 mlipp
24: * New "marker" interfaces for resource type.
25: *
26: */
27: package de.danet.an.workflow.api;
28:
29: import java.io.Serializable;
30:
31: import de.danet.an.workflow.omgcore.WfResource;
32:
33: /**
34: * This interface extends the interface <code>WfResource</code> for resources
35: * that are roles. The distinction of resource types is without relevance
36: * to the workflow engine, but may be used to e.g. display resource types
37: * differently in the user interface. Resource management services are not
38: * required to make use of this interface, they may deliver all resources as
39: * plain <code>WfResource</code>s. Application must therefore be
40: * prepared to handle resources that only implement the base interface
41: * <code>WfResource</code>.
42: *
43: * @author Michael Lipp
44: * @see UserResource
45: * @see GroupResource
46: */
47: public interface RoleResource extends WfResource, Serializable {
48: }
|