com.webmethods.portal.service.view
Interface IView

All Superinterfaces:
Serializable

public interface IView
extends Serializable

Base interface for a view of a resource. Modifications are not persistant: modifing the properties of a view does not modify the underlying resource.


Field Summary
static String PROP_DESCRIPTION
           
static String PROP_NAME
           
static String PROP_TYPE
           
static String PROP_URI
           
 
Method Summary
 Map getProperties()
          Map of (String) property names to (Object) property values.
 Object getProperty(String name)
          Specified property of the view.
 Collection getPropertyNames()
          Collection of String property names.
 IURI getURI()
          URI of resource represented by this view.
 

Field Detail

PROP_URI

static final String PROP_URI
See Also:
Constant Field Values

PROP_NAME

static final String PROP_NAME
See Also:
Constant Field Values

PROP_DESCRIPTION

static final String PROP_DESCRIPTION
See Also:
Constant Field Values

PROP_TYPE

static final String PROP_TYPE
See Also:
Constant Field Values
Method Detail

getURI

IURI getURI()
            throws PortalException
URI of resource represented by this view.

Returns:
URI of resource represented by this view.
Throws:
PortalException - if an error occurs.

getProperty

Object getProperty(String name)
                   throws PortalException
Specified property of the view. Null if this view does not have the specified property.

Returns:
Specified property of the view or null.
Throws:
PortalException - if an error occurs.

getProperties

Map getProperties()
                  throws PortalException
Map of (String) property names to (Object) property values.

Returns:
Map of property names to property values.
Throws:
PortalException - if an error occurs.

getPropertyNames

Collection getPropertyNames()
                            throws PortalException
Collection of String property names.

Returns:
Collection of property names.
Throws:
PortalException - if an error occurs.