com.plumtree.uiinfrastructure.activityspace
Class ASURLContainer

java.lang.Object
  extended by com.plumtree.uiinfrastructure.activityspace.ASURLContainer

public class ASURLContainer
extends java.lang.Object

Stores an Activityspace URL. Should be used in model components when creating URLs. Can easily be converted to ASURL in the view layer.

Author:
robertz Created on Oct 16, 2002

Constructor Summary
ASURLContainer(java.lang.String aspaceName, AActivitySpace parent)
          Constructor
ASURLContainer(java.lang.String aspaceName, java.lang.String ctrlName, AActivitySpace parent)
          Constructor
ASURLContainer(java.lang.String aspaceName, java.lang.String ctrlName, java.lang.String pageName, AActivitySpace parent)
          Constructor
 
Method Summary
 void AddQSPair(java.lang.String paramName, java.lang.String paramValue)
          Add additional Querystring parameter (one that is not activityspace, control or page).
 AActivitySpace GetASParent()
          Returns the m_asOwner.
 java.lang.String GetASSpace()
          Returns the m_aspaceName.
 java.lang.String GetASSpaceID()
          Returns the m_aspaceName.
 java.lang.String GetControl()
          Returns the m_ctrlName.
 PTButtonType GetImageType()
          Gets the button type, if there is one
 java.lang.String GetNonASQSPairs()
           
 java.lang.String GetPage()
          Returns the m_pageName.
 java.lang.String GetQSValue(java.lang.String paramName)
          Pretty messy/inefficent, but coulnd't think of a better way
 java.lang.String GetURLAsQS()
           
 java.lang.String GetURLName()
          Returns the m_urlName.
 void SetASSpace(java.lang.String aspaceName)
          Sets the m_aspaceName.
 void SetASSpaceID(java.lang.String aspaceID)
          Sets the m_aspaceName.
 void SetButtonType(PTButtonType type)
          Sets the button type
 void SetControl(java.lang.String ctrlName)
          Sets the m_ctrlName.
 void SetPage(java.lang.String pageName)
          Sets the m_pageName.
 void SetURLName(java.lang.String urlName)
          Sets the m_urlName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASURLContainer

public ASURLContainer(java.lang.String aspaceName,
                      java.lang.String ctrlName,
                      java.lang.String pageName,
                      AActivitySpace parent)
Constructor


ASURLContainer

public ASURLContainer(java.lang.String aspaceName,
                      java.lang.String ctrlName,
                      AActivitySpace parent)
Constructor


ASURLContainer

public ASURLContainer(java.lang.String aspaceName,
                      AActivitySpace parent)
Constructor

Method Detail

AddQSPair

public void AddQSPair(java.lang.String paramName,
                      java.lang.String paramValue)
Add additional Querystring parameter (one that is not activityspace, control or page).


GetASParent

public AActivitySpace GetASParent()
Returns the m_asOwner.

Returns:
AActivitySpace the parent

GetASSpace

public java.lang.String GetASSpace()
Returns the m_aspaceName.

Returns:
String

GetASSpaceID

public java.lang.String GetASSpaceID()
Returns the m_aspaceName.

Returns:
String

GetControl

public java.lang.String GetControl()
Returns the m_ctrlName.

Returns:
String

GetImageType

public PTButtonType GetImageType()
Gets the button type, if there is one

Returns:
button type

GetNonASQSPairs

public java.lang.String GetNonASQSPairs()
Returns:
Get all non-common activityspace paramters as a string. Empty string if nothing is set. Doesn't contain a leading '&'.

GetPage

public java.lang.String GetPage()
Returns the m_pageName.

Returns:
String

GetQSValue

public java.lang.String GetQSValue(java.lang.String paramName)
Pretty messy/inefficent, but coulnd't think of a better way

Returns:
Value for the given parameter name. null if nothing is found.

GetURLAsQS

public java.lang.String GetURLAsQS()
Returns:
Get the entire URL as a string, including common activityspace parameters. Doesn't contain a leading '?'.

GetURLName

public java.lang.String GetURLName()
Returns the m_urlName.

Returns:
String

SetASSpace

public void SetASSpace(java.lang.String aspaceName)
Sets the m_aspaceName.

Parameters:
aspaceName - The m_aspaceName to set

SetASSpaceID

public void SetASSpaceID(java.lang.String aspaceID)
Sets the m_aspaceName.

Parameters:
aspaceName - The m_aspaceName to set

SetButtonType

public void SetButtonType(PTButtonType type)
Sets the button type


SetControl

public void SetControl(java.lang.String ctrlName)
Sets the m_ctrlName.

Parameters:
ctrlName - The m_ctrlName to set

SetPage

public void SetPage(java.lang.String pageName)
Sets the m_pageName.

Parameters:
pageName - The m_pageName to set

SetURLName

public void SetURLName(java.lang.String urlName)
Sets the m_urlName.

Parameters:
urlName - The m_urlName to set



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.