IlsRepresentation
 
IlsRepresentation
Category 
Rogue Wave Views Script class
Environment 
Rogue Wave® Server/Rogue Wave Views component
Description 
This class implements the representations that are associated with each dynamic view in the server.
Synopsis 
beginC2STransaction
commitC2STransaction
rollbackC2STransaction
isInC2STransaction
IlsMvComponent getComponent()
setMainOrigin
addOrigin
removeOrigin
void close
API 
void beginC2STransaction()
This method starts a transaction for the given representation.
void commitC2STransaction()
This methods commits the current transaction.
void rollbackC2STransaction()
This method rolls back the current transaction.
Boolean isInC2STransaction()
This method checks if there is a current transaction.
IlsMvComponent getComponent()
This method returns the component associated with the representation.
void setMainOrigin(IlsRpObject newOrigin, Boolean keepOldOrigin)
This method replaces the main origin of the corresponding dynamic view by the Server object associated with the representation object passed as the first argument.
void addOrigin(IlsRpObject origin)
This method adds the Server object associated with the representation object passed as the argument as a new origin to the view.
void removeOrigin(IlsRpObject origin)
This method removes the Server object associated with the representation object passed as the argument from the list of origin of the view.
void close()
This method closes the view by calling its C++ counterpart IlsRepresentation::close with IlsTrue as its argument.
See Also 
IlsRepresentation, (C++ class), IlsRpObject (Script class)

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.