Package com.thingworx.extensibility
Class ExtensionPackage
- java.lang.Object
-
- All Implemented Interfaces:
IConfigurableObject
,INotScriptFriendly
,ISupportsDeprecation
,IDiffableObject
,IAvatar
,IEntityLifeCycleEvent
,IPersistable
,IServiceProvider
,ITaggableObject
,IDependencyScannableObject
,IEntityDefinition
,IPersistableObject<java.lang.String>
,IDesignTimeSecurable
,IDesignTimeSecurableEntity
,IRunTimeSecurable
,IRunTimeSecurableEntity
,ISecurable
,IVisibilitySecurable
,IVisibilitySecurableEntity
,IAspectContainer
,INamedObject
,java.io.Serializable
@ThingworxExtensionApiClass(since={7,0,3}, canInstantiate=true) public class ExtensionPackage extends ExtensibleRootEntity implements IServiceProvider
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.thingworx.entities.RootEntity
BASIC_PROPERTY_DEFINITIONS, EXCLUDED_ENTITY_TYPES_IN_PROJECT
-
Fields inherited from class com.thingworx.types.NamedObject
NAME_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description ExtensionPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArtifactId()
java.lang.String
getBuildNumber()
RelationshipTypes.ThingworxRelationshipTypes
getEntityType()
InfoTable
GetExtensionDependencyDetails()
Service Category: Service Description: Get Extension Dependency Details.
Gets extension dependency information.InfoTable
GetExtensionDetails()
Service Category: Extensions Service Description: get a list of EntityDescriptors for Extensions associated with this Extension Package.InfoTable
GetExtensionsInUse()
Service Category: Extensions Service Description: get a list of Entities that are currently using Extensions associated with this Extension Package.java.lang.String
getGroupId()
boolean
getHaCompatible()
java.lang.String
getMinimumThingworxVersion()
java.lang.String
getNameVersion()
EntityVersion
getPackageVersion()
java.lang.String
getVendor()
boolean
isApplicationRuntimeRequired()
-
Methods inherited from class com.thingworx.entities.ServiceProviderEntity
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequest
-
Methods inherited from class com.thingworx.entities.RootEntity
AddConfigurationTableDefinition, AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, ListDeprecatedUsage, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, UpdateProjectDependencies, validateConfiguration
-
Methods inherited from class com.thingworx.persistence.common.PersistableNamedObject
getID, hasID, isTransient
-
Methods inherited from class com.thingworx.types.NamedObject
getDescription, getName, setDescription, setName, toValueCollection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.thingworx.types.INamedObject
getDescription, getName
-
Methods inherited from interface com.thingworx.entities.interfaces.IPersistable
getID, hasID
-
Methods inherited from interface com.thingworx.security.permissions.ISecurable
getID, getName
-
Methods inherited from interface com.thingworx.entities.interfaces.IServiceProvider
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, processAPIServiceRequest, processServiceRequest
-
Methods inherited from interface com.thingworx.deprecation.ISupportsDeprecation
getDeprecated, isDeprecated, isDeprecatedBefore, since
-
-
-
-
Method Detail
-
getNameVersion
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getNameVersion()
-
getPackageVersion
@ThingworxExtensionApiMethod(since={7,0,3}) public EntityVersion getPackageVersion()
-
getBuildNumber
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getBuildNumber()
-
getMinimumThingworxVersion
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getMinimumThingworxVersion()
-
getHaCompatible
@ThingworxExtensionApiMethod(since={9,0}) public boolean getHaCompatible()
-
getVendor
@ThingworxExtensionApiMethod(since={7,0,3}) public java.lang.String getVendor()
-
getGroupId
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getGroupId()
-
getArtifactId
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getArtifactId()
-
isApplicationRuntimeRequired
@ThingworxExtensionApiMethod(since={9,0}) public boolean isApplicationRuntimeRequired()
-
GetExtensionDetails
@ThingworxExtensionApiMethod(since={7,0,3}) public InfoTable GetExtensionDetails() throws java.lang.Exception
- Service Category:
- Extensions
- Service Description:
- get a list of EntityDescriptors for Extensions associated with this Extension Package.
- Returns:
- result Result - INFOTABLE - Aspects {dataShape:EntityDescriptor}
- Throws:
java.lang.Exception
- If an error occurs
-
GetExtensionsInUse
@ThingworxExtensionApiMethod(since={7,0,3}) public InfoTable GetExtensionsInUse() throws java.lang.Exception
- Service Category:
- Extensions
- Service Description:
- get a list of Entities that are currently using Extensions associated with this Extension Package.
- Returns:
- result Result - INFOTABLE - Aspects {dataShape:NetworkConnection}
- Throws:
java.lang.Exception
- If an error occurs
-
GetExtensionDependencyDetails
@ThingworxExtensionApiMethod(since={9,1}) public InfoTable GetExtensionDependencyDetails() throws java.lang.Exception
- Service Category:
- Service Description:
- Get Extension Dependency Details.
Gets extension dependency information.- Returns:
- Returns an Infotable with information like installed extension version, dependent extension and which other extension(s) are using this extension.
- Throws:
java.lang.Exception
- if any failures when getting the extension dependency details.
-
getEntityType
@ThingworxExtensionApiMethod(since={7,0,3}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
Description copied from class:RootEntity
Returns the type of this entity.
- Specified by:
getEntityType
in classRootEntity
- Returns:
- the entity type
-
-