iPortal 11i(2023) Interface Changes

Feedback


Java API Changes

Package Class/Interface Field/Method/Property/Event Note

com.supermap.iportal.web.commontypes

DBVersion

New Enumeration: V00_119

New user_favorite_resource Table

New Enumeration: V00_121

New gpa_model, gpa_model_content Table

New Enumeration: V00_123

New gpa_jobs, gpa_tools Table

New Enumeration: V00_126

New design_3d Table
DataItem

New Field Integer favoriteCount

Used to record the number of resources collected

IportalApp
SceneInfo
ServiceInfo
ViewerMap
WebAppObject
FavoriteResourceItem

New Class

Collection of resource items
ServiceInfo

New Field disableOnlineDetection onlineDetectionUrl

Used to record whether the service ignores online detection, custom service online detection address, respectively

ServiceSearchParameter New Field OnlineDetectionStatus Used to support filtering by service online status
ResourceApplyInfo

New Field permission

ResourceApplyInfo.ApplyStatus New Enumeration REVOKE

permission indicates the permission requested

REVOKE indicates the withdrawal status of the request

ResourceApplyPermission

New Class

Used to record resources and the corresponding application permissions

ResourceApplySetting

New Field resourceApplyPermission

Used to record the resources requested in the current application form and the corresponding permissions

ResourceEntity

New Enumeration GPA_MODEL

New Enumeration DESIGN_3D

Geoprocessing Automation Model Resource Type

3D design

BasicDirInfo

New Enumeration GPA_MODEL

New Enumeration DESIGN_3D

GPA model

3D design

TagType

New Enumeration GPA_MODEL

New Enumeration DESIGN_3D

Geoprocessing Automation Model Resource Type

3D design

QuotaType

New Enumeration GPA_MODEL

New Enumeration DESIGN_3D

GPA model

3D design

GPAModel

New Class

Geoprocessing Automation Model Class

GPAModelAttributes

New Class

Geoprocessing Automation Model can be followed by new attribute classes

GPAModelBaseInfo

New Class

Geoprocessing Automation Model base information class

GPAModelContent

New Class

Geoprocessing Automation Model xml content class

GPAModelSearchParameter

New Class

Geoprocessing Automation Model query parameter class

UploadXMLInfo

New Class

Geoprocessing Automation Model update xml content class

GPAJob

New Class

GPA model task class

GPATool

New Class

GPA model tool class

GPAJobSearchParameter

New Class

GPA task inquiry class

GPAModelDownloadRecord

New Class

GPA download record

Design3D

New Class

3D design class

Design3DAttributes

New Class

3D design updatable property class

Design3DAccessRecord

New Class

3D design access record class

Design3DSearchParameter

New Class

3D design query class

SharedDirPathMapping

New Class

Shared directory mapping class

GPAConfig

New Class

iportal gpa app related configuration

Constant

New Attribute:PROPERTIES_GPA

The name of the property recorded in the properties table for the gpa app configuration

DataInSharedDir

New Class

Shared directory data records

ResourceDependency

New Class

iPortal resource dependencies

LatestExportedResource

New Class

Last exported resources

ResourceExportDetails

New Class

Resource export operation details

ResourceExportParameter

New Class

Resource export parameters

DataItemType

New Enumeration:EPKG

Resource export package

LatestImportedResource

New Class

Last imported resources

ResourceImportDetails

New Class

Resource import operation details

ResourceImportParameter

New Class

Resource import parameters

com.supermap.iportal.search.commontypes OrderBy

New Enumeration:FAVORITE_COUNT

Sort by collection

ResourceSearchParameter.SearchType

New Enumeration:MY_FAVORITE_RES

Resource finder range supports finding my favorite resources

ResourceItem

New Field Integer favoriteCount

Used to record the number of resources collected

New Field String[] favoriteUsers

Users who bookmarked this resource

com.supermap.iportal.web.utils BatchTaskRate

New Field:taskId

Batch task id, replaces previous harvestId

com.supermap.services.components.commontypes DataSourceConnectionPoolInfo

New Enumeration DM("dm.jdbc.driver.DmDriver")

Damon database type

com.supermap.server.config PortalAppType

New Enumeration GPA_MODEL_BUILDER,DESIGNER_3D

app type

com.supermap.services.security.captcha.commontypes

CaptchaConfig

New Class

Captcha configuration

CacheType

New Enumeration

Captcha cache type

CacheConfig

New Class

Captcha cache configuration

CaptchaIdentityInfo

New Class

Captcha identification information

CaptchaResult

New Class

Captcha verification result

ImageCaptcha

New Class

Image Verification Code

ImageCaptchaConfig

New Class

Image Captcha Configuration

com.supermap.iportal.gpa.commontypes

GPAServerNode

New Class

The iserver node providing GPA services

GPAJobSearchParameter

New Class

GPA task search parameters

GPAPortalDataNode

New Class

 

ParseRunModelParam

New Class

Object obtained after parsing the parameters needed to execute the model

IportalData

New Class

iPortal data node in GPA parameters

GPADataMetaInfo

New Class

Meta information of GPA added data

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

iportal

addFavoriteResource

POST:bookmark a resource.

Path parameters:none

Request body:com.supermap.iportal.web.commontypes.FavoriteResourceItem

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/mycontent/favorites/resources

getFavoriteResource

GET:the current user gets the details of a favorite resource.

Path parameters-1:String resourceType : ResourceType(ResourceType Enumerated values in lowercase form).

Path parameters-2:Integer resourceId: Resource id。

Request body:none

Response:com.supermap.iportal.search.commontypes.ResourceItem

New Resource

iportal/web/mycontent/favorites/resources/{resourceType}/{resourceId}

deleteFavoriteResource

DELETE:the current user unfavored a resource.

Path parameters-1:String resourceType : ResourceType(ResourceType Enumerated values in lowercase form).

Path parameters-2:Integer resourceId: Resource id。

Request body:none

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/mycontent/favorites/resources/{resourceType}/{resourceId}

serviceDetectionResource

POST: Update service status

Path parameters:none

Request body:java.util.List

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/services/detection/task.json

getServiceDetectionResource

GET: get service status update progress

 Parameter:none

Response:com.supermap.iportal.web.utils.BatchTaskRate

New Resource

iportal/web/services/detection/task.json

manageServiceDetectionResource

POST: update service status

Path parameters:none

Request body:java.util.List

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/manager/servicesmanage/detection/task.json

getManageServiceDetectionResource

GET: get service status update progress

Parameter:none

Response:com.supermap.iportal.web.utils.BatchTaskRate

New Resource

iportal/manager/servicesmanage/detection/task.json

submitApplyInfos

POST:submit a resource request

Request body:com.supermap.iportal.web.commontypes.ResourceApplySetting

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/applyinfos.json

updateApplyInfo

PUT:modification request form

Request body:com.supermap.iportal.web.commontypes.ResourceApplyInfo

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/applyinfos/{applyInfoId}.json

resubmitApplyInfo

PUT:batch modification request form

Request body:com.supermap.iportal.web.commontypes.ResourceApplySetting

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/applyinfos/resubmit.json

revokeApplyInfo

POST:withdrawal of resource request

Request body:com.supermap.iportal.web.commontypes.ResourceApplyCheckSetting

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/applyinfos/revoke.json

passedApplyInfo

POST:request through resources

Request body:com.supermap.iportal.web.commontypes.ResourceApplyPermission

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/applyinfos/passed.json

getGPAModel

GET:get individual model resources

Path parameters:Integer gpaModelId

Request body:String uploadXmlText

Response:com.supermap.iportal.search.commontypes.GPAModel

New Resource

iportal/web/mycontent/gpamodels/{id}

uploadGPAModelResource

PUT:update model resources

Path parameters:Integer gpaModelId

Request body:none

Response:com.supermap.iportal.search.commontypes.PostResult

New Resource

iportal/web/mycontent/gpamodels/{id}

uploadGPAModelResource

POST:upload model resources

Path parameters:none

Request body:com.supermap.iportal.search.commontypes.UploadXMLInfo

Response:com.supermap.iportal.search.commontypes.PostResult

New Resource

iportal/web/mycontent/gpamodels

updateGPAModelSharesettings

PUT:batch update of GPAModel's permissions settings

Path parameters:none

Request body:none

Response:void

New Resource

iportal/web/mycontent/gpamodels/sharesetting

downloadFile

GET:download model resources

Path parameters:Integer gpaModelId

Request body:none

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/mycontent/gpamodels/{id}/download

deleteGPAModels

POST:

Path parameters:none

Request body:Integer[] ids

Response:com.supermap.iportal.search.commontypes.GPAModel

New Resource

iportal/web/mycontent/gpamodels/batch-delete

saveAttribute

PUT:change GPAModel properties

Path parameters:Integer gpaModelId

Request body:com.supermap.iportal.search.commontypes.GPAModelBaseInfo

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/gpamodels/{id}/attributes

getShareSetting

GET:query authorization information for individual models

Path parameters:Integer gpaModelId

Request body:none

Response:List<com.supermap.iportal.search.commontypes.IportalAuthorizeEntity>

New Resource

iportal/web/gpamodels/{id}/sharesetting

getGPAModels

GET:model list resources

Path parameters:Integer gpaModelId

Request body:none

Response:Page<com.supermap.iportal.search.commontypes.GPAModel>

New Resource

iportal/web/gpamodels

getDesign3D

GET:get individual model resources

Path parameters:Integer design3DId

Request body:none

Response:com.supermap.iportal.search.commontypes.Design3D

New Resource

iportal/web/3d_designs/{id}

updateDesign3D

PUT:update properties

Path parameters:Integer design3DId

Request body:com.supermap.iportal.search.commontypes.Design3D

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/3d_designs/{id}/atrributes

updateDesign3DContent

PUT:update content

Path parameters:Integer design3DId

Request body:com.supermap.iportal.search.commontypes.Design3D

Response:com.supermap.iportal.search.commontypes.PostResult

New Resource

iportal/web/3d_designs/{id}

updateThumbnail

PUT:update thumbnails

Path parameters:Integer design3DId

Request body:String base64

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/3d_designs/{id}/thumbnail

getShareSetting

GET:query license information for individual 3D design

Path parameters:Integer design3DId

Request body:none

Response:List<com.supermap.iportal.search.commontypes.IportalAuthorizeEntity>

New Resource

iportal/web/3d_designs/{id}/sharesetting

uploadDesign3D

POST:create 3D project

Path parameters:none

Request body:com.supermap.iportal.search.commontypes.Design3D

Response:com.supermap.iportal.search.commontypes.PostResult

New Resource

iportal/web/3d_designs

deleteDesign3Ds

POST:batch delete

Path parameters:none

Request body:Integer[] ids

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/3d_designs/batch-delete

updateDesign3DSharesettings

PUT:batch update Design3D permissions settings

Path parameters:none

Request body:com.supermap.iportal.search.commontypes.IportalAuthorizeSetting

Response:com.supermap.iportal.search.commontypes.MethodResult

New Resource

iportal/web/3d_designs/sharesetting

modelingByRules

POST:proxy rule modeling

HttpServletRequest request, HttpServletResponse response

New Resource

iportal/web/3d_designs/modelingbyrules

createModelTextures

POST:proxy add model

HttpServletRequest request, HttpServletResponse response

New Resource

iportal/web/3d_designs/features/{modelFeatureID}/modeltextures

getResourceContent

GET:get a manageable GPA model

Parameter:GPAModelSearchParameter

Response:Page<com.supermap.iportal.search.commontypes.GPAModel>

New Resource

iportal/manager/gpamodels

getResourceContent

GET:get manageable 3D design

Parameter:Design3DSearchParameter

Response:Page<com.supermap.iportal.search.commontypes.Design3D>

New Resource

iportal/manager/design3ds

CaptchaResource

GET: get captcha related configuration

New Resource

/security/captcha

POST: verify the verification code

Request body:String captcha

Response:String ticket

GET: get verification code

Response:photo stream

IServerGPAResource

Forwarding iserver gpa related requests

New Resource

/gpa/restjsr/*

IPortalGPAResource

GET:get a list of sensitive tools

Response:List<String> sensitive tool ID collection

New Resource

/gpa/sensitive-tools

getResourceDependencies

GET:get the resources on which the specified resource depends

Path parameters-1:String resourceType :ResourceType(ResourceType Enumerated values in lowercase form).

Path parameters-2:Integer resourceId: Resource id。

Request body:none

Response:List<com.supermap.iportal.web.commontypes.ResourceDependency>

New Resource

iportal/web/resources/{resourceType}/{resourceId}/dependencies

exportResource

POST:perform a resource export operation

Request body:com.supermap.iportal.web.commontypes.ResourceExportParameter

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/resources/export

getResourceExportDetails

GET:get resource export operation details

Response:com.supermap.iportal.web.commontypes.ResourceExportDetails

New Resource

iportal/web/resources/export/details

getResourceExportResult

GET:download resource export results(epkg file)

Response:file stream

New Resource

iportal/web/resources/export/result

importResourcePreview

GET:get the details of the resources and their dependencies hosted by the resource export(epkg file)

Response:JsonString

New Resource

iportal/web/resources/import/preview

importResource

POST:perform a resource import operation

Request body:com.supermap.iportal.web.commontypes.ResourceImportParameter

Response:com.supermap.services.rest.MethodResult

New Resource

iportal/web/resources/import

getResourceImportDetails

GET:get resource import operation details

Response:com.supermap.iportal.web.commontypes.ResourceImportDetails

New Resource

iportal/web/resources/import/details

Configuration File Changes

File Path

File Name

Configuration Item Note

webapps\iportal\WEB-INF

iportal.xml

sensitiveGPATools

New node, custom list of sensitive tools, multiple tool IDs separated by;