org.apache.jetspeed.services.security
Class PortalResource

java.lang.Object
  extended byorg.apache.jetspeed.services.security.PortalResource
All Implemented Interfaces:
java.io.Serializable

public class PortalResource
extends java.lang.Object
implements java.io.Serializable

PortalResource

Version:
$Id: PortalResource.java,v 1.5 2004/02/23 03:58:11 jford Exp $
Author:
Paul Spencer
See Also:
Serialized Form

Field Summary
static int TYPE_ENTRY
           
static int TYPE_ENTRY_PARAMETER
           
static int TYPE_PORTLET
           
static int TYPE_REGISTRY
           
static int TYPE_REGISTRY_PARAMETER
           
 
Constructor Summary
PortalResource(Entry entry)
          Resource is a PSML entry, i.e.
PortalResource(Entry entry, Parameter parameter)
          Resource is a parameter associated with a PSML entry, i.e.
PortalResource(Portlet portlet)
          Resource is a Portlet, i.e.
PortalResource(RegistryEntry registryEntry)
          Resource is a registry entry
PortalResource(RegistryEntry registryEntry, Parameter parameter)
          Resource is a parameter associated with a registry entry
 
Method Summary
 Entry getEntry()
          Getter for property entry.
 Parameter getEntryParameter()
          Getter for property parameter
 java.lang.String getOwner()
          Getter for property owner.
 Portlet getPortlet()
          Getter for property portlet.
 RegistryEntry getRegistryEntry()
          Getter for property registryEntry.
 Parameter getRegistryParameter()
          Getter for property registryParameter.
 int getResourceType()
          Getter for property resourceType.
 void setOwner(java.lang.String owner)
          Setter for property owner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_PORTLET

public static final int TYPE_PORTLET
See Also:
Constant Field Values

TYPE_ENTRY

public static final int TYPE_ENTRY
See Also:
Constant Field Values

TYPE_ENTRY_PARAMETER

public static final int TYPE_ENTRY_PARAMETER
See Also:
Constant Field Values

TYPE_REGISTRY

public static final int TYPE_REGISTRY
See Also:
Constant Field Values

TYPE_REGISTRY_PARAMETER

public static final int TYPE_REGISTRY_PARAMETER
See Also:
Constant Field Values
Constructor Detail

PortalResource

public PortalResource(Entry entry)
Resource is a PSML entry, i.e. a Portlet Instance

Parameters:
entry - PSML Entry, i.e Portlet Instance

PortalResource

public PortalResource(Entry entry,
                      Parameter parameter)
Resource is a parameter associated with a PSML entry, i.e. a Portlet Instance

Parameters:
entry - PSML Entry, i.e Portlet Instance
parameter - Requesting parameter

PortalResource

public PortalResource(Portlet portlet)
Resource is a Portlet, i.e. a Portlet

Parameters:
portlet - Portlet registry entry

PortalResource

public PortalResource(RegistryEntry registryEntry)
Resource is a registry entry

Parameters:
registryEntry - of portal resource

PortalResource

public PortalResource(RegistryEntry registryEntry,
                      Parameter parameter)
Resource is a parameter associated with a registry entry

Parameters:
registryEntry - of portal resource
parameter - Requesting parameter
Method Detail

getResourceType

public int getResourceType()
Getter for property resourceType.

Returns:
Value of property resourceType.

getEntry

public Entry getEntry()
Getter for property entry.

Returns:
Value of property entry.

getEntryParameter

public Parameter getEntryParameter()
Getter for property parameter

Returns:
Value of property parameter.

getPortlet

public Portlet getPortlet()
Getter for property portlet.

Returns:
Value of property portlet.

getRegistryEntry

public RegistryEntry getRegistryEntry()
Getter for property registryEntry.

Returns:
Value of property registryEntry.

getRegistryParameter

public Parameter getRegistryParameter()
Getter for property registryParameter.

Returns:
Value of property registryParameter.

getOwner

public java.lang.String getOwner()
Getter for property owner.

Returns:
Value of property owner.

setOwner

public void setOwner(java.lang.String owner)
Setter for property owner.

Parameters:
owner - New value of property owner.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.