Skip to content
logoBack to home screen

Access

// TODO rewrite the whole thing

You can make changes to entity instances in a model using an access (sometimes also referred to as integration access). There are two basic types of accesses:

AccessDescription
System AccessUsed to manipulate entity instances in base models, like Cortex, Authentication and Authorization, and Workbench.
Custom AccessUsed to manipulate entity instances in custom models.

Every custom access extends a HibernateAccess, which, in turn, extends an IncrementalAccess. Even though the two are the same from a technical point of view, we use this naming convention for clarity. For more information on IncrementalAccess see JavaDoc.

Every access implementation is generic and treats all data equally. Now some access implementations are not capable of persisting some models at all (e.g. you cannot persist metamodel with a HibernateAccess)

For more information about the metamodel, see Metamodel.

Incremental Access

IncrementalAccess is an interface which can read and update individual entities. This is the main interface which all custom accesses must implement.

IncrementalAccess Properties

PropertyDescriptionType
aspectConfigurationCustom aspect for this access. By default, there is no aspect assigned to an access. Navigate to More -> Setup Aspect if you want to create a default aspect.AspectConfiguration
autodeployAutomatic deployment indicator. If you assign true to this property, your access is deployed automatically.Boolean
cartridgeCartridge which contains the access.Cartridge
globalIDString id used to globally identify entity instances.String
partitionString describing which access this entity comes from. Useful when dealing with the same entities in different accesses in a smart access.String
metaDataAvailable metadata. For information on available metadata, see metadataSet<MetaData>
serviceModelA service model associated with this access. For more information, see denotation-driven service architectureGmMetaModel
idAutomatically generated Id assigned after the first time the access is committed.long
nameThe name of your access.LocalizedString
externalIdId used to refer to the access, for example when displaying the access in the cog icon next to the log in screen or when building an app that this access must be connected to.String
deploymentStatusId used to refer to the access, for example when displaying the access in the cog icon next to the log in screen or when building an app that this access must be connected to.DeploymentStatus(enum)
metaModelThe model this access is associated with.GmMetaModel
simulatedSimulation mode status indicator.Boolean
workbenchAccessThe workbench access associated with this access.SmoodAccess

Database Structure and Accesses

Accesses interact with databases and can influence their structure. When you configure a database as a source of your data, you see the exact same data represented in the database (in the schema, table, rows, and columns, for example) and in tribefire (as 'bubbles' in tribefire Modeler, for example).

tribefire allows you to specifically influence how a data structure is represented in a database. This is done on an entity level by using proper Hibernate mapping metadata.