|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILink
This interface provides a common way to create an object that links to an AActivitySpace. It also provides methods to specify optional Page, Controls, and Query String arguments. To use this interface, first create an object that implements the interface, then call one of the SetSpace* methods to set what kind of link you want. Than add optional arguments (page, etc...)
Method Summary | |
---|---|
void |
AddControlArgument(java.lang.String strName)
This method allows you to add a control argument to the HTML URL with no value. |
void |
AddControlArgument(java.lang.String strName,
boolean bValue)
This method allows you to add a control argument to the HTML URL. |
void |
AddControlArgument(java.lang.String strName,
int nValue)
This method allows you to add a control argument to the HTML URL. |
void |
AddControlArgument(java.lang.String strName,
java.lang.String strValue)
This method allows you to add a control argument to the HTML URL. |
void |
AddControlArgument(java.lang.String strName,
java.lang.String[] strValues)
This method allows you to add a control argument to the HTML URL. |
void |
SetControl(java.lang.String strControl)
|
void |
SetDisplayPage(java.lang.String strPage)
|
boolean |
SetLinkCreateNewSpace(java.lang.String strSpace,
AActivitySpace parent)
This method creates a brand new AActivitySpace. |
boolean |
SetLinkGetCachedSpace(AActivitySpace space)
This method takes a specific space and returns a link to that (including space ID). |
boolean |
SetLinkGetSpaceIfCached(java.lang.String strSpace,
AActivitySpace parent)
This method gets a named AActivitySpace from the cache if it is there, or creates a new one if it is not in the cache. |
boolean |
SetLinkToExternalURL(java.lang.String url)
|
void |
SetSubSpaceKey(java.lang.String sSubSpaceKey)
This method sets the sub space key. |
Method Detail |
---|
void AddControlArgument(java.lang.String strName, java.lang.String strValue)
strName
- the name of the argumentstrValue
- the value of the argumentvoid AddControlArgument(java.lang.String strName, java.lang.String[] strValues)
strName
- the name of the argumentstrValues
- the value of the argumentvoid AddControlArgument(java.lang.String strName, int nValue)
strName
- nValue
- AddControlArgument(String, String)
void AddControlArgument(java.lang.String strName, boolean bValue)
strName
- booleanValue
- AddControlArgument(String, String)
void AddControlArgument(java.lang.String strName)
strName
- booleanValue
- AddControlArgument(String, String)
void SetControl(java.lang.String strControl)
strControl
- the name of the control to link tovoid SetDisplayPage(java.lang.String strPage)
strPage
- the name of the page to link toboolean SetLinkCreateNewSpace(java.lang.String strSpace, AActivitySpace parent)
strSpace
- The name of the space to createparent
- the parent space
boolean SetLinkGetCachedSpace(AActivitySpace space)
space
- the space to create a link to
boolean SetLinkGetSpaceIfCached(java.lang.String strSpace, AActivitySpace parent)
strSpace
- the name of the space to get or create (if it can't be found)parent
- the parent space
void SetSubSpaceKey(java.lang.String sSubSpaceKey)
sSubSpaceKey
- the key for the sub-spaceboolean SetLinkToExternalURL(java.lang.String url)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |