public class IntegrationPoint extends Object implements Serializable
An IntegrationPoint
represents the data necessary to
describe a particular integration point into the admin console. Some
examples of integration points include:
The design of this data structure is intentionally very general so that this data structure can be applied to a wide range of situations. It also intentionally does not refer to gui concepts such as "tree" or other UI elements so that these concepts be independent of this data as much as possible. This will allow some flexibility by the consumer of this data to render it in an appropriate way (to some extent). This will however, be limited by the content of the data this structure refers to (if any).
The IntegrationPoint
contains the following properties:
type
- (required) A String specifying the integration
type.parentId
- The parent
IntegrationPoint
's id.priority
- A priority of this component, often used to
compare or sort IntegrationPoint
s.providerId
- The ConsoleProvider
's id which provided
this IntegrationPoint
.content
- A value pointing to additional content
to implement this IntegrationPoint
handlerId
- An Handler
name which should
be invoked to help implement this IntegrationPoint
id
- A value used to identify this specific
integration point.All values in this class are immutable.
Constructor and Description |
---|
IntegrationPoint()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getConsoleConfigId()
This provides access to the
ConsoleConfig which provided
this IntegrationPoint . |
String |
getContent()
A reference to extra information needed to use this
IntegrationPoint . |
String |
getId()
The identifier of this
IntegrationPoint . |
String |
getParentId()
The parent identifier.
|
int |
getPriority()
This specifies the relative priority of this
IntegrationPoint . |
String |
getType()
This specifies the type of this
IntegrationPoint . |
void |
setConsoleConfigId(String id)
This method should only be called by the
ConsolePluginService . |
String |
toString()
Overrides the toString() method.
|
public String getId()
The identifier of this IntegrationPoint
.
public String getType()
This specifies the type of this IntegrationPoint
. The
type might specify that this integration is a "navigation"
integration, "help" integration, "applicationPage" integration, or
any other supported integration type.
public String getParentId()
The parent identifier. Useful when an
IntegrationPoint
needs to refer to another integration
point (such as when specifying which TreeNode to fall under.
public String getContent()
A reference to extra information needed to use this
IntegrationPoint
. An example might be a .jsf page
reference which should be included. Or a location used to find
HelpSet information.
public int getPriority()
This specifies the relative priority of this
IntegrationPoint
. This may be used for sorting
multiple IntegrationPoints
, or for other
implementation-specific purposes.
public String toString()
Overrides the toString() method.
public String getConsoleConfigId()
This provides access to the ConsoleConfig
which provided
this IntegrationPoint
.
public void setConsoleConfigId(String id)
This method should only be called by the
ConsolePluginService
. This associates this
IntegrationPoint
with the ConsoleConfig
which specified it.
Copyright © 2021. All rights reserved.