Jump to: navigation, search

Difference between revisions of "METACLASSSCOPE"


Line 14: Line 14:
 
A MetaClassScope specifies the published meta data (MetaClass and MetaProperties) which should be accessible on the mobile device. Further, it is possible to configure the permissions granted on those objects on the mobile.
 
A MetaClassScope specifies the published meta data (MetaClass and MetaProperties) which should be accessible on the mobile device. Further, it is possible to configure the permissions granted on those objects on the mobile.
  
The system tries to load the most accurate MetaClassScope object, where the MetaClass of the current object serves as filter criterion. If the system can not directly locate a proper MetaClassScope it searches up the inheritance hierarchy to find the most suitable.
+
If an object is published to the client the {{Web Service}} tries to load the most accurate MetaClassScope corresponding to the object's MetaClass. If no MetaClass scope for exactely that MetaClass can be located the system looks up the inheritance hierarchy (regarding the data model) if it can find a suitable one.
  
 
== Own Properties ==
 
== Own Properties ==
Line 33: Line 33:
 
* [[HowTo:Assign an Icon to a MetaClass]]
 
* [[HowTo:Assign an Icon to a MetaClass]]
  
[[Category:Context scope]]
+
[[Category:Context scope|METACLASSSCOPE]]
[[Category:Metaclasses]]
+
[[Category:Metaclasses|METACLASSSCOPE]]

Revision as of 12:45, 30 July 2015

IC METACLASS.gif MetaClass Scope
Name METACLASSSCOPE
Namespace System.ACM.Scopes
Internal Name SystemObjects.METACLASSSCOPE
TypeString UBIK.Kernel.MetaClass
RuntimeType UBIK.Content.ACM.MetaClassScope
Purpose Configure context scopes for MetaClasses
Version 2.1.13+

A MetaClassScope specifies the published meta data (MetaClass and MetaProperties) which should be accessible on the mobile device. Further, it is possible to configure the permissions granted on those objects on the mobile.

If an object is published to the client the Web Service tries to load the most accurate MetaClassScope corresponding to the object's MetaClass. If no MetaClass scope for exactely that MetaClass can be located the system looks up the inheritance hierarchy (regarding the data model) if it can find a suitable one.

Own Properties

Name Data type Optional Comment
METACLASS Guid no Reference to the according MetaClass

Classifications

If a MetaClass implements a certain classification the MetaClassScope must publish all required MetaProperties as declared by the classification. Only then the classification is known on the mobile client.

Icons

For deploying MetaClass specific icons it is necessary to create an own MetaClassScope for each MetaClass. Otherwise, the system will always deliver the icon of the most suitable MetaClassScope fitting a parent's MetaClass.

See also