01: /**
02: * $Id: AttributeOperations.java,v 1.2 2005/05/16 03:37:35 pd109850 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.fabric.common;
14:
15: import java.util.List;
16: import java.util.Map;
17: import java.util.Set;
18:
19: public interface AttributeOperations {
20:
21: List getAttribute(String componentName, String attrName,
22: Map extraInfo) throws Exception;
23:
24: Map getAttributes(String componentName, Set attrNames, Map extraInfo)
25: throws Exception;
26:
27: void setAttribute(String componentName, String attrName,
28: List values, Map extraInfo) throws Exception;
29:
30: void setAttributes(String componentName, Map nameValues,
31: Map extraInfo) throws Exception;
32:
33: Map listAttributes(String componentName, Map extraInfo);
34: }
|