TWiki
>
WebXEO Web
>
XeoPrimer
>
XeoPrimerJavaAPI
>
XeoPrimerJavaAPIboObject
(revision 4) (raw view)
Edit
Attach
Tags:
tag this topic
create new tag
,
view all tags
-- Main.PedroRio - 30 Dec 2010 ---+ XEO Java API - boObject The boObject class represents a instance of an Object Model, and has several methods to retrieve class handlers to manipulate attribute values, to retrieve class handlers to query the Object Model definition as well as methods to handle the instance's life cycle and behavior. ---+++ Object Properties Methods in this category allow to retrieve properties of the object instance. | *Method Name* | *Description* | *Parameters* | *Return type* | *Notes* | | getBoui | Retrieves the BOUI (Business Object Unique Identifier) | - | long | | | getName | Retrieve the name of the Object Model of this instance | - | String | | | getCardID | Retrieves the CardID of the boObject | - | StringBuffer | | _____ ---+++ Dealing with Attributes Methods in this category allow to retrieve handlers to interact with attributes of the instance | *Method Name* | *Description* | *Parameters* | *Return type* | *Notes* | | getAttribute | Retrieves an attributeHandler for the attribute passed as a parameter | String name | AttributeHandler | | | getAttributes | Retrieves an array of attributeHandlers with all non-collection attributes | - | boAttributeArray | The boAttributeArray class is a wrapper around an array to keep attribute handlers | | getAttributes | Retrieves an array of attributes with all attributes of the type passed as a parameter | byte type | boAttributeArray | <p>* See table of convertions (</p> <p>VAI VER boDefAttribute.java public static final byte VALUE_UNKNOWN=0;<br /> public static final byte VALUE_CHAR=9;<br /> public static final byte VALUE_BOOLEAN=1;<br /> public static final byte VALUE_DURATION=2;<br /> public static final byte VALUE_CURRENCY=3;<br /> public static final byte VALUE_NUMBER=4;<br /> public static final byte VALUE_DATETIME=5;</p> | | getAllAttributes | Retrieves a handler to all (collection and non-collection) attributes | - | boAttributeArray | | | getBridge | Retrieves a bridgeHandler for a collection attribute passed as parameter | String name | | | getBridges() getBridge() getAllAttributes ---+++ Dealing with Definitions getBoDefinition() getMenuMethods() getToolbarMethods() - Qual a diferença entre este e o anterior getToolbarMethodsNames() ---+++ Object Life Cycle update() destroy() getUpdateQueue() destroyForce() exists() - clone() isChanged() setDisabled(deep) isDisabled() ---+++ Object Behavior addErrorMessage() addErrorMessage(AttHander) addAdvertiseMessage() addAdvertiseMessage(AttHandler) haveErrors() haveObjectErrors() haveAttributeErrors() getObjectErrors getAttributeErrors clearErrors() clearObjectErrors() clearAttributeErrors() valid() - If the object is valid ---+++ References getParent() getParents() removeParent() addParent() getReferencesObjects() getReferencedByObjects() a VERIFICAR: mergeAttributes a
Edit
|
Attach
|
P
rint version
|
H
istory
:
r10
|
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2010-12-31
-
PedroRio
WebXEO
XEO Primer
-
Instalation
-
Introduction
-
Concepts
-
Architecture
-
XEO Library
-
Deploy to EAR
-
PreferenceStore
XEO - Core
-
XEO Model Reference
-
Security
-
Java API
-
BOL
-
XEOQL (BOQL)
-
Administrating
-
Background Tasks
-
boConfig.xml
-
Web.xml
-
Known Issues
-
XEO Flags
XEO - XWC
- Web Components
- Java Samples
- Custom Components
- Component Plugins
- Internationalization
- Viewer Events
- Value Change Listeners
- XUIServlet
- XeoLocalization
- XvwTemplates
Create New Topic
WebXEO Web
No permission to view
TWiki.WebTopBar
No permission to view
TWiki.WebBottomBar