|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Link
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
TheLink
interface defines a link that contains several (more than two) ReportExpressions from several Data Providers.
SynchroManager.createLink(String name, String description, ReportExpression expr1, ReportExpression expr2)
Method Summary | |
---|---|
void |
addExpression(ReportExpression expr)
Synchronize a ReportExpression from another DataProvider
to the current Link instance. |
java.lang.String |
getDescription()
Returns the description of the Link instance. |
ReportExpression |
getExpression(int index)
Returns the ReportExpression object at position index in
the Link instance. |
ReportExpression |
getExpression(java.lang.String exprID)
Returns the ReportExpression object with the identifier exprID
from the Link instance. |
int |
getExpressionCount()
Returns the number of linked expressions. |
Lov |
getLOV()
Returns the synchronized List of Values (LOV) for this Link
instance. |
SortInfo |
getSortInfo()
Returns the SortInfo instance defining the way in
which this Link instance has been sorted. |
void |
removeExpression(int index)
Removes the ReportExpression object at position
index from the Link instance. |
void |
removeExpression(java.lang.String exprID)
Removes the ReportExpression object with the identifier exprID
from the Link instance. |
void |
setDescription(java.lang.String description)
Changes the Link instance description. |
void |
setName(java.lang.String name)
Changes the Link name. |
void |
setSourceExpression(int index)
Sets the expression which will be used to provide default properties for the merged dimension. |
void |
setSourceExpression(java.lang.String exprID)
Sets the expression which will be used to provide default properties for the merged dimension. |
Methods inherited from interface com.businessobjects.rebean.wi.ReportExpression |
---|
getDataSource, getDataSourceObject, getFormulaLanguageID, getID, getName, getQualification, getType |
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode |
---|
getChildAt, getChildCount, getIndex, getParent, isLeaf |
Method Detail |
---|
java.lang.String getDescription()
Link
instance.
Link
instance.void setDescription(java.lang.String description)
Link
instance description.
description
- The new Link
description.
ServerException
- When an invalid Link
exists
in the Link
collection.void setName(java.lang.String name)
Link
name.
name
- The new Link
name.
ServerException
- When an invalid Link
exists
in the Link
collection.
Note that an empty String
isn't a valid name and will be substituted by
the default name which is the name of its first expression.
void addExpression(ReportExpression expr)
ReportExpression
from another DataProvider
to the current Link
instance.
The linked ReportExpression
should have the same ObjectType
,
as current existing linked objects.
expr
- The ReportExpression
to be added.
java.lang.NullPointerException
- When expr
is null
.
java.lang.IllegalArgumentException
- When expr
:
ObjectType
ObjectQualification
ServerException
- When their is a synchronization processing error.void removeExpression(java.lang.String exprID)
ReportExpression
object with the identifier exprID
from the Link
instance.
Note: Their must be more than 2 ReportExpression
object
contained in the link for removeExpression
to function correctly.
exprID
- The unique identifier of the ReportExpression
to be removed.
java.lang.NullPointerException
- When exprID
is null
.
DSObjectSynchroException
- When getExpressionCount()
returns 2.
ServerException
- When their is a synchronization processing error.Link.getExpressionCount()
int getExpressionCount()
ReportExpression getExpression(int index)
ReportExpression
object at position index
in
the Link
instance.
index
- The position of the ReportExpression
.
ReportExpression
at position index
.
java.lang.IndexOutOfBoundsException
- If index < 0
or index > Link.getExpressionCount()
.void removeExpression(int index)
ReportExpression
object at position
index
from the Link
instance.
Note: Their must be more than 2 ReportExpression
object
contained in the link for removeExpression
to function correctly.
index
- The index of ReportExpression
instance to be removed.
java.lang.IndexOutOfBoundsException
- If index < 0
or index > Link.getExpressionCount()
.
DSObjectSynchroException
- When getExpressionCount()
returns 2.
ServerException
- When their is a synchronization processing error.ReportExpression getExpression(java.lang.String exprID)
ReportExpression
object with the identifier exprID
from the Link
instance.
exprID
- The unique identifier of the ReportExpression
to be
retrieved.
ReportExpression
at position exprID
.Lov getLOV()
Link
instance.
null
when there is no list of
valuesSortInfo getSortInfo()
SortInfo
instance defining the way in
which this Link
instance has been sorted.
SortInfo
instance associated to this
Link
.void setSourceExpression(int index)
index
- the position of the ReportExpression
.
java.lang.IndexOutOfBoundsException
- If index < 0
or
index > Link.getExpressionCount()
.void setSourceExpression(java.lang.String exprID)
exprID
- the unique identifier of the ReportExpression
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |