@ThingworxExtensionApiClass(since={7,1}, canInstantiate=true) public class Project extends ServiceProviderEntity implements IVersionedEntity
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
void |
AddEntities(java.lang.String searchExpression,
TagCollection tags,
org.json.JSONObject types)
Service Category: Projects
Service Description: Adds to the project of all model entities filtered by keyword query and tags.
Add entities to this project based on the combination of a search expression, tags and types. |
void |
ClearEntities()
Remove this project from all of the entities that have it. |
static Project |
fromJSON(org.json.JSONObject jsonObject)
Deprecated.
|
java.util.Set<java.lang.String> |
getAllDependentProjectNames() |
InfoTable |
GetAllDependentProjectNames()
Service Category: Projects
Service Description: Get list of all of the projects that this project depends on, including itself.
Get list of all of the projects that this project depends on, including itself |
java.lang.String |
getArtifactId() |
java.lang.String |
GetArtifactId()
Service Category: Projects
Service Description: Get Project artifact id.
Get Project artifact id |
InfoTable |
GetEntities()
Service Category: Projects
Service Description: Get the entities of the project.
Get a reference to all of the entities in this project |
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
EntityVersion |
getEntityVersion() |
java.lang.String |
getGroupId() |
java.lang.String |
GetGroupId()
Service Category: Projects
Service Description: Get Project group id.
Get Project group id |
java.lang.String |
getMinPlatformVersion() |
java.lang.String |
GetMinPlatformVersion()
Service Category: Projects
Service Description: Get minimum Platform version.
Get minimum Platform version |
EntityReferenceCollection |
getProjectEntities()
Get all of the entities in this project |
java.lang.String |
getPublishResult() |
org.json.JSONObject |
GetPublishResult()
Get Publish Result |
java.lang.String |
GetVersion()
Service Category: Projects
Service Description: Get Project version.
Get Project version |
InfoTable |
ListExternalDependencies()
Service Category: Projects
Service Description: Lists the first level project external dependencies.
|
org.json.JSONObject |
PublishSolution()
Publish solution |
void |
SetEntities(InfoTable entities)
Service Category: Projects
Service Description: Set the entities for a project.
|
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequest
AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, 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, 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, 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, validateConfiguration
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, hasID
getDescription, getName
getID, getName
@ThingworxExtensionApiMethod(since={7,1}) public EntityVersion getEntityVersion()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String GetVersion()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getGroupId()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String GetGroupId()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getArtifactId()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String GetArtifactId()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getPublishResult()
@ThingworxExtensionApiMethod(since={8,5}) public org.json.JSONObject GetPublishResult()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String getMinPlatformVersion()
@ThingworxExtensionApiMethod(since={8,5}) public java.lang.String GetMinPlatformVersion()
@ThingworxExtensionApiMethod(since={7,1}) public java.util.Set<java.lang.String> getAllDependentProjectNames()
@ThingworxExtensionApiMethod(since={7,1}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntity
Returns the type of this entity.
getEntityType
in class RootEntity
@ThingworxExtensionApiMethod(since={7,1}) public EntityReferenceCollection getProjectEntities() throws java.lang.Exception
java.lang.Exception
@ThingworxExtensionApiMethod(since={7,1}) public InfoTable GetEntities() throws java.lang.Exception
java.lang.Exception
@ThingworxExtensionApiMethod(since={7,1}) public void ClearEntities() throws java.lang.Exception
java.lang.Exception
@ThingworxExtensionApiMethod(since={8,5}) public InfoTable ListExternalDependencies() throws java.lang.Exception
java.lang.Exception
@ThingworxExtensionApiMethod(since={7,1}) public void SetEntities(InfoTable entities) throws java.lang.Exception
entities
- - InfoTable with DataShape EntityReferencejava.lang.Exception
@ThingworxExtensionApiMethod(since={7,1}) public void AddEntities(java.lang.String searchExpression, TagCollection tags, org.json.JSONObject types) throws java.lang.Exception
searchExpression
- - String compatible with Searcher.SearchModelEntitiestags
- - TagCollection of tags to matchtypes
- - JSONObject compatible with the types parameter of Searcher.SearchModelEntitiesjava.lang.Exception
@ThingworxExtensionApiMethod(since={7,1}) public InfoTable GetAllDependentProjectNames() throws java.lang.Exception
java.lang.Exception
@ThingworxExtensionApiMethod(since={8,5}) public org.json.JSONObject PublishSolution() throws java.lang.Exception
java.lang.Exception
@Deprecated @ThingworxExtensionApiMethod(since={7,1}, deprecatedSince={8,4}) public static Project fromJSON(org.json.JSONObject jsonObject) throws java.lang.Exception
java.lang.Exception
- If an error occurs