|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainService
com.arsdigita.domain.DomainServiceInterfaceExposer
Exposes all methods in DomainService
.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
DomainServiceInterfaceExposer()
|
Method Summary | |
static DataObject |
add(DomainObject domainObject,
String roleName,
DataObject value)
Adds data object specified by value to the specified role (with multiplicity>1) of the specified domain object. |
static DataObject |
add(DomainObject domainObject,
String roleName,
DomainObject value)
Adds domain object specified by value to the specified role (with multiplicity>1) of the specified domain object. |
static void |
clear(DomainObject domainObject,
String roleName)
Clears specified role (with multiplicity > 1) of specified domain object. |
static Object |
get(DomainObject domainObject,
String attr)
Get a property of the specified domain object. |
static DataCollection |
getDataCollection(DomainCollection domainCollection)
Get the data collection encapsulated by a domain collection. |
static DataObject |
getDataObject(DomainObject domainObject)
Get the underlying DataObject of the DomainObject |
static void |
remove(DomainObject domainObject,
String roleName,
DataObject value)
Removes data object specified by value from the specified role (with multiplicity>1) of the specified domain object. |
static void |
remove(DomainObject domainObject,
String roleName,
DomainObject value)
Removes domain object specified by value from the specified role (with multiplicity>1) of the specified domain object. |
static void |
set(DomainObject domainObject,
String attr,
Object value)
Set a property of the DomainObjects DataObject. |
static void |
setAssociation(DomainObject domainObject,
String attr,
DomainObject dobj)
Set an association DomainObjects DataObject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public DomainServiceInterfaceExposer()
Method Detail |
public static Object get(DomainObject domainObject, String attr)
DomainObject.get(String)
public static DataObject getDataObject(DomainObject domainObject)
DataObject
of the DomainObject
public static DataCollection getDataCollection(DomainCollection domainCollection)
DomainObject.get(String)
public static void set(DomainObject domainObject, String attr, Object value)
DomainObject.set(String, Object)
public static void setAssociation(DomainObject domainObject, String attr, DomainObject dobj)
DomainObject.set(String, Object)
public static DataObject add(DomainObject domainObject, String roleName, DataObject value)
DomainObject.add(String, DataObject)
public static DataObject add(DomainObject domainObject, String roleName, DomainObject value)
DomainObject.add(String, DomainObject)
public static void remove(DomainObject domainObject, String roleName, DataObject value)
DomainObject.remove(String, DataObject)
public static void remove(DomainObject domainObject, String roleName, DomainObject value)
DomainObject.remove(String, DomainObject)
public static void clear(DomainObject domainObject, String roleName)
DomainObject.clear(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |