Implementation Model (Base Building Block)
The following diagram shows the relationships between the main entities in the base building block:
In the diagram, arrows with hollow heads and solid lines (
) indicate that an entity extends from the entity to which the arrow points, arrows with hollow heads and dashed lines (
) indicate that an entity implements the entity to which the arrow points, and arrows with open heads and dashed lines (
) indicate that an entity has a dependency upon services on the entity to which the arrow points.
The significant entities in the base building block include the following:
• PTC.Base—ThingWorx project entity for the building block. Used to encapsulate all entities pertaining to the building block in one package.
• PTC.Base.CommonHelper_TS—Thing Shape that defines the services for the common helper Thing. Services that all components can use statically are defined here.
• PTC.Base.ComponentInterface_TS—Thing Shape that all entry points implement. Defines the metadata properties and the core functions of the entry point.
• PTC.Base.CommonManagement_TS—Thing Shape that all managers implement. Defines any services that are required for all building block managers.
• PTC.Base.ConfigManagement_TS—Thing Shape that all managers implement. Defines the configuration tables and services that all building blocks can take advantage of through their managers.
• PTC.Base.Management_TS—Building block-specific management Thing Shape. Defines the services that are specific to base building block functions, such as CRUD operations for building blocks.
• PTC.Base.GlobalConfiguration_TS—Thing Shape that is used to hold global configurations for the installed solution. Contains two configuration tables: DefaultGlobalManagerConfiguration, DefaultSolutionNameConfiguration.
• PTC.Base.TimeZoneHelper_TS—Thing Shape providing time zone-related helper functions which are applicable across building blocks. Contains services to get time zone information and validate the time zones.
• PTC.Base.EntryPoint_TT—Thing Template for the base building block entry point. Used to instantiate the entry point Thing for the base building block.
• PTC.Base.ComponentEntryPoint_TT—Thing Template that all building block entry points extend from. Contains service code for any service definitions on the PTC.Base.ComponentInterface_TS Thing Shape.
• PTC.Base.CommonManager_TT—Thing Template that all building block manager Thing Templates extend from. Contains service code for any service definitions on the PTC.Base.CommonManagement_TS Thing Shape.
• PTC.Base.CommonHelper_TT—Thing Template that implements the PTC.Base.CommonHelper_TS Thing Shape. Contains service code for any service definitions on the PTC.Base.CommonHelper_TS Thing Shape.
• PTC.Base.Manager_TT—Thing Template for the base building block manager. Combines the common manager Thing Template functions with the specific functions of the PTC.Base.Management_TS Thing Shape. Contains service code for any service definitions on the PTC.Base.Management_TS Thing Shape.
• PTC.Base.CommonHelper—Static helper Thing to be used across the entire building block suite. This Thing is able to run any of the services defined on the PTC.Base.CommonHelper_TS Thing Shape.
• PTC.Base.Manager—The default manager Thing for the base building block. Used to run all of the default manager functions, as well as any base building block-specific functionality. Contains most configuration settings for the base building block.
• PTC.Base.EntryPoint—Entry point Thing for the base building block. Contains metadata about the base building block, as well as configurations for the default manager.
• PTC.Base.AuditLog—ThingWorx stream. Services from the PTC.Base.CommonHelper Thing enable developers to write and read from the stream to store information about who is using the system and what they are doing.
• PTC.Base.BaseManagementPermission—Permission group for the base building block. Used to supply runtime permissions to members for services specific to base building block functions, such as the ability create building blocks.
• PTC.Base.AuditLogDefinition—Base framework audit log stream definition. Contains the columns used to define the stream entity.
• PTC.Base.SolutionMaster_MM—Common master mashup that has a side bar and a hamburger menu. Used for all solutions to give them a unified look and feel. For more information, see
Solution Master Mashup.
• PTC.Base.DurationEntry_MU—Common mashup that provides three entry fields for entering durations in HH:mm:ss format. Input parameters can be used to allow up to 9999 hours, or up to 5 decimal places for seconds, as needed.
The complete list of entities in the building block can be accessed by viewing the PTC.Base project in ThingWorx Composer.