Uses of Interface
com.polarion.subterra.base.data.identification.IContextId
Package
Description
-
Uses of IContextId in com.polarion.alm.builder
Modifier and TypeMethodDescriptionIBuildInformationRepository.getContextIdForLocation
(ILocation loc) Return id of context (project) which has its builds stored on given location. -
Uses of IContextId in com.polarion.alm.builder.security
Modifier and TypeMethodDescriptionboolean
BuildsPolicy.canCreateBuild
(IContextId contextId) boolean
IBuildsPolicy.canCreateBuild
(IContextId contextId) boolean
BuildsPolicy.canDownloadFromBIR
(IContextId contextId) boolean
IBuildsPolicy.canDownloadFromBIR
(IContextId contextId) boolean
BuildsPolicy.canModifyBuild
(IContextId contextId) boolean
IBuildsPolicy.canModifyBuild
(IContextId contextId) boolean
BuildsPolicy.canReadBuild
(IContextId contextId) boolean
IBuildsPolicy.canReadBuild
(IContextId contextId) -
Uses of IContextId in com.polarion.alm.projects
Modifier and TypeMethodDescriptionIProjectService.getGroupEntityForContextId
(IContextId contextId) IProjectService.getProjectForContextId
(IContextId contextId) Returns theIProject
representing the given context or null if the context represents a project Group.IProjectService.getProjectGroupForContextId
(IContextId contextId) Returns theIProjectGroup
representing the given context or null if the context represents a project. -
Uses of IContextId in com.polarion.alm.projects.model
-
Uses of IContextId in com.polarion.alm.projects.security
Modifier and TypeMethodDescriptionboolean
ISpacePolicy.canCreate
(IContextId contextId, IFolder folder) Can the current user create a Space for the given context?boolean
ISpacePolicy.canDelete
(IContextId contextId, IFolder folder) Can the current user delete a Space for the given context?boolean
ISpacePolicy.canManage
(IContextId contextId, IFolder folder) Can the current user manage the Space for the given context?boolean
ISpacePolicy.canModify
(IContextId contextId, IFolder folder) Can the current user modify the Space for the given context?boolean
ISpacePolicy.canRead
(IContextId contextId, IFolder folder) Can the current user read the Space for the given context?boolean
ISpacePolicy.canRead
(IContextId contextId, IFolder folder, String userId) -
Uses of IContextId in com.polarion.alm.tracker
Modifier and TypeMethodDescriptionboolean
ITrackerPolicy.canCommentDocuments
(IContextId contextId) boolean
ITrackerPolicy.canCreateDocument
(IContextId contextId) boolean
ITrackerPolicy.canCreateWorkItems
(IContextId contextId) boolean
ITrackerPolicy.canCreateWorkReport
(IContextId contextId) Determine if the current user is allowed to trigger creation of work reports.boolean
ITrackerPolicy.canImportModule
(IContextId contextId) boolean
ITrackerPolicy.canModifyWorkItems
(IContextId contextId) boolean
ITrackerPolicy.canResetApprovals
(IContextId contextId) ITimePointsManager.createTimePoint
(IContextId contextId, String id, DateOnly date) Creates time point in given context.ITrackerService.getApproverUsers
(IContextId contextId) Returns users with global role "approver", or context role "project_approver" (if context ID is provided).ITrackerService.getAssignableUsers
(IContextId contextId) Returns users with global role "assignable", or context role "project_assignable" (if context ID is provided).ITrackerPolicy.getCannotUseReqIfReason
(IContextId contextId) Check why ReqIF Roundtrip export and import is disabled for passed context.ITrackerPolicy.getCannotUseReqIfReason
(IContextId contextId, boolean forImport) Check why ReqIF Roundtrip export or import is disabled for passed context.ITimePointsManager.getClosedTimePoints
(IContextId contextId, String sort, boolean traverseDown) Returns all closed time points applicable to given context.ITimePointsManager.getNearestTimePoint
(IContextId contextId, boolean traverseDown) Returns nearest time point applicable to given context.ITimePointsManager.getNotClosedTimePoints
(IContextId contextId, String sort, boolean traverseDown) Returns all not closed time points applicable to given context.ITimePointsManager.getTimePoint
(IContextId contextId, String id, boolean traverseUp) Returns time point with given id.ITimePointsManager.getTimePoints
(IContextId contextId, String sort, boolean traverseDown) Returns all time points applicable to given context.ITimePointsManager.getTimePoints
(IContextId contextId, String query, String sort, boolean traverseUp, boolean traverseDown, boolean omitDuplicates) Searches for time points (all-purpose method).boolean
ITrackerService.isAutoSuspectOn
(IContextId contextId) Checks if autosuspect is enabled for a given contextId.boolean
ITrackerService.isExternalLinkingEnabled
(IContextId context) Is external work item linking enabled for given context?boolean
ITrackerService.isOslcLinkingEnabled
(IContextId context) Deprecated. -
Uses of IContextId in com.polarion.alm.tracker.activity
Modifier and TypeMethodDescriptionActivity.getContextId()
UserAndProjectResolver.getContextIdForProjectId
(String projectId) Modifier and TypeMethodDescriptionboolean
UserAndProjectResolver.exists
(IContextId ctxId) UserAndProjectResolver.getLocationForContextId
(IContextId contextId) UserAndProjectResolver.getProjectIdForContextId
(IContextId contextId) UserAndProjectResolver.getVisibleProjectsForCurrentUserInContext
(IContextId contextId) IActivityStreamService.listActivities
(IContextId contextId, String query, int count) ModifierConstructorDescriptionActivity
(String sourceId, String id, String prefix, IContextId contextId, String type, Text info, Date timestamp, String userId, Set<ILocation> resourceLocs, Map<String, ActivityCustomValue> customValues) Activity
(String sourceId, String id, String prefix, IContextId contextId, String type, Text info, Date timestamp, String userId, Set<ILocation> resourceLocs, Map<String, ActivityCustomValue> customValues, List<ActivityComment> comments) -
Uses of IContextId in com.polarion.alm.tracker.exporter
Modifier and TypeMethodDescriptionExportConfiguration.getContextId()
IExportConfiguration.getContextId()
IExportTemplate.getContextId()
Returns the context where the template is defined.Modifier and TypeMethodDescriptionITemplateExportCommandFactory.createExportTemplate
(ILocation location, IContextId contextId) Deprecated.void
IExportManager.deleteTemplate
(IExporterDescriptor exporterDescriptor, String templateName, IContextId contextId) IExportTemplate.getExportFields
(IContextId contextId) Fields that are prescribed in the template for export.IExportManager.getTemplate
(IExporterDescriptor exporterDescriptor, String templateName, IContextId contextId) Returns a template with given name ornull
if such a template does not exist.IExportManager.getTemplates
(IExporterDescriptor exporterDescriptor, IContextId contextId) Returns templates available for export with a given exporter (sorted lexicographically by name) in given a context.void
ExportConfiguration.setContextId
(IContextId contextId) IExportManager.setTemplateContent
(IExporterDescriptor exporterDescriptor, String templateName, IContextId contextId, InputStream content, boolean overwrite) Creates or updates a template. -
Uses of IContextId in com.polarion.alm.tracker.importer
Modifier and TypeMethodDescriptionIImportConfiguration.getContextId()
IImportTemplate.getContextId()
ImportConfiguration.getContextId()
Modifier and TypeMethodDescriptionvoid
IImportManager.deleteTemplate
(IImporterDescriptor importerDescriptor, String templateName, IContextId contextId) IImportManager.getTemplate
(IImporterDescriptor importerDescriptor, String templateName, IContextId contextId) Returns template with the given name ornull
if such a template does not exist (not even inherited one).IImportManager.getTemplates
(IImporterDescriptor importerDescriptor, IContextId contextId) Returns templates available for import with the given importer (sorted lexicographically by name) in the given context (so the returned list of templates contains templates inherited from other contexts).IImportManager.setTemplateContent
(IImporterDescriptor importerDescriptor, String templateName, IContextId contextId, InputStream content, boolean overwrite) Creates or updates a template.ModifierConstructorDescriptionImportConfiguration
(InputStream input, IContextId contextId, IImportTemplate template) -
Uses of IContextId in com.polarion.alm.tracker.model
Modifier and TypeMethodDescriptionboolean
IWorkflowAction.hasCurrentUserRequiredRoles
(IContextId contextId) Returns whether current user has at least one of the roles required to perform this action. -
Uses of IContextId in com.polarion.alm.tracker.variantmanagement
Modifier and TypeMethodDescriptionIVariantManagementConfiguration.getFeatureSelectionKey
(IContextId ctxId, ITypeOpt wiType) Returns the key of the feature selection custom field for given Work Item type in given project. -
Uses of IContextId in com.polarion.alm.tracker.workflow
Modifier and TypeMethodDescriptionIWorkflowManager.getWorkflowConfig
(String prototype, String typeId, IContextId contextId) Returns workflow configuration that is used for the objects of given prototype and type in the given context (it can be inherited from a different context or type).IWorkflowManager.readWorkflowConfig
(String typeId, IContextId contextId) Deprecated.IWorkflowManager.readWorkflowConfig
(String prototype, String typeId, IContextId contextId) Returns the workflow which corresponds exactly to the given context, type and prototype, returnsnull
if no workflow is defined for this combination of parameters.void
IWorkflowManager.updateWorkflowConfig
(IWorkflowConfig config, String typeId, IContextId contextId) Stores the given workflow configuration to the repository (for the prototypeconfig.getPrototype()
). -
Uses of IContextId in com.polarion.alm.tracker.workreport
Modifier and TypeMethodDescriptionIWorkReportConfiguration.getContextId()
Only work records from work items in this context will be included in the report.WorkReportConfiguration.getContextId()
Modifier and TypeMethodDescriptionIWorkReportManager.getWorkReport
(IContextId contextId, String fileName) Returns the work report ornull
if it does not exist.IWorkReportManager.getWorkReports
(IContextId contextId) Returns work reports existing in the context.void
IWorkReportManager.removeWorkReport
(IContextId contextId, String fileName) Removes the work report if it exists.void
WorkReportConfiguration.setContextId
(IContextId contextId) -
Uses of IContextId in com.polarion.alm.wiki
Modifier and TypeMethodDescriptionboolean
IWikiPolicy.canCreatePages
(IContextId context) Deprecated.boolean
IWikiPolicy.canDeletePage
(String page, IContextId context) Deprecated.WARNING: assumes default space, does not work with custom sets.
UseIPersistencePolicy.canDeleteInstance(IPObject)
instead.boolean
IWikiPolicy.canDeletePages
(IContextId context) Deprecated.boolean
IWikiPolicy.canModifyPage
(String page, IContextId context) Deprecated.WARNING: assumes default space, does not work with custom sets.
UseIPersistencePolicy.canModifyInstance(IPObject)
instead.boolean
IWikiPolicy.canModifyPages
(IContextId context) Deprecated.boolean
IWikiPolicy.canReadPage
(String page, IContextId context) Deprecated.WARNING: assumes default space, does not work with custom sets.
UseIPersistencePolicy.canReadInstance(IPObject)
instead.boolean
IWikiPolicy.canReadPages
(IContextId context) Deprecated. -
Uses of IContextId in com.polarion.platform.context
Modifier and TypeMethodDescriptionIContext.getId()
IContextService.getParentContextId
(IContextId subContext) IContextService.getRootContextId()
The root context is the entry point to the hierarchy.Modifier and TypeMethodDescriptionIContextService.getAllSubcontextIds
(IContextId parent) IContextService.getDirectSubcontextIds
(IContextId parent) Modifier and TypeMethodDescriptionvoid
IContextService.addContextListener
(IContextListener l, IContextId ctx) Subscribes to the evens in the subtree below (inclusive) the given context.void
IContextListener.contextCreated
(IContextId id) Context was created.boolean
IContextService.contextExists
(IContextId id) Checks whether context with given id exists.void
IContextListener.contextRemoved
(IContextId id) Context was removed.IContextService.getAllSubcontextIds
(IContextId parent) IContextService.getContextforId
(IContextId id) IContextService.getContextPath
(IContextId id) IContextService.getDirectSubcontextIds
(IContextId parent) IContextService.getParentContextId
(IContextId subContext) -
Uses of IContextId in com.polarion.platform.jobs.scheduler
Modifier and TypeMethodDescriptionIJobSchedulerService.getJobSchedules
(IContextId scope) Return all scheduled jobs which have given scope. -
Uses of IContextId in com.polarion.platform.jobs.spi
Modifier and TypeMethodDescriptionIJobScopeHandler.parseJobScope
(String str) Tries to parse job scope. -
Uses of IContextId in com.polarion.platform.persistence
Modifier and TypeMethodDescriptionboolean
IPersistencePolicy.canAddElementToKey
(String prototypeName, String key, IContextId contextId) Security check if the current user can add elements to list value of given key in instances of given prototype in given context (project).boolean
IPersistencePolicy.canCreateInstances
(String prototypeName, IContextId contextId) Security check if the current user can create instances of given prototype in given context (project).boolean
IPersistencePolicy.canDeleteInstances
(String prototypeName, IContextId contextId) Security check if the current user can delete instances of given prototype in given context (project).boolean
IPersistencePolicy.canModifyInstances
(String prototypeName, IContextId contextId) Security check if the current user can modify instances of given prototype in given context (project).boolean
IPersistencePolicy.canModifyKey
(String prototypeName, String key, IContextId contextId) Security check if the current user can modify value of given key in instances of given prototype in given context (project).boolean
IPersistencePolicy.canReadInstances
(String prototypeName, IContextId contextId) Security check if the current user can read instances of given prototype in given context (project).boolean
IPersistencePolicy.canReadInstances
(String userId, String prototypeName, IContextId contextId) Security check if the specified user can read instances of given prototype in given context (project).boolean
IPersistencePolicy.canReadKey
(String prototypeName, String key, IContextId contextId) Security check if the current user can read value of given key in instances of given prototype in given context (project).boolean
IPersistencePolicy.canRemoveElementFromKey
(String prototypeName, String key, IContextId contextId) Security check if the current user can remove elements from list value of given key in instances of given prototype in given context (project).void
IPersistencePolicy.checkCanAddElementToKey
(String prototypeName, String key, IContextId contextId) Similar toIPersistencePolicy.canAddElementToKey(String,String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanCreateInstances
(String prototypeName, IContextId contextId) Similar toIPersistencePolicy.canCreateInstances(String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanDeleteInstances
(String prototypeName, IContextId contextId) Similar toIPersistencePolicy.canDeleteInstances(String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanModifyInstances
(String prototypeName, IContextId contextId) Similar toIPersistencePolicy.canModifyInstances(String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanModifyKey
(String prototypeName, String key, IContextId contextId) Similar toIPersistencePolicy.canModifyKey(String,String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanReadInstances
(String prototypeName, IContextId contextId) Similar toIPersistencePolicy.canReadInstances(String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanReadKey
(String prototypeName, String key, IContextId contextId) Similar toIPersistencePolicy.canReadKey(String,String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionvoid
IPersistencePolicy.checkCanRemoveElementFromKey
(String prototypeName, String key, IContextId contextId) Similar toIPersistencePolicy.canRemoveElementFromKey(String,String,IContextId)
, with the difference that instead of returningfalse
, it will throw PermissionDeniedExceptionICalculatedFieldsService.getCalculatedFieldIds
(IContextId contextId, String prototypeName, Object controlValue) Calculated fields configured for given context and control value.ICustomFieldsService.getCustomFields
(String prototypeName, IContextId contextId, String controlValue) Collects all custom fields for the specified prototype and control value.IEnumFactory.getEnumeration
(String enumId, IContextId contextId) ReturnsIEnumeration
which specific for given context and enumeration idIDataService.getEnumerationForEnumId
(IEnumType type, IContextId contextId) Returns the enumeration for a given enumeration type.IDataService.getEnumerationForKey
(String prototypeName, String key, IContextId contextId) Returns the instance of the enum factory, that handles the enumeration for a given key.IDataService.getObjectEnumerationForEnumId
(IEnumType type, IContextId contextId) Returns the instance of the object enum factory, that handles the enumeration with a given ID.IDataService.getObjectEnumerationForKey
(String prototypeName, String key, IContextId contextId) Returns the instance of the object enum factory, that handles the enumeration for a given key.IDataService.getRevision
(IContextId contextId, String revisionId) Same asIDataService.getRevision(String, String)
, but the repository name is determined from the context.ICalculatedFieldsService.recalculate
(IContextId contextId) Starts job that recalculates calculated fields in all objects in given context (recalculation needs to be done after change of calculated fields configuration).ICalculatedFieldsService.recalculate
(IContextId contextId, String nodeId) Starts job that recalculates calculated fields in all objects in given context (recalculation needs to be done after change of calculated fields configuration) and on given node in cluster.void
IDataService.refreshEnumerations
(IContextId contextId) Refreshes enumerations (stored in the database) in a given project. -
Uses of IContextId in com.polarion.platform.persistence.events
Modifier and TypeMethodDescriptionvoid
IEventManager.registerListener
(IPersistenceListener l, IContextId context) Registers the listener only for evens on objects from given contex.void
IEventManager.registerListener
(IPersistenceListener l, String[] prototypes, IContextId context) Registers the listener only for evens on objects of given prototypes from given context.void
IEventManager.registerListener
(IPersistenceListener l, String[] prototypes, IContextId context, boolean singleNode) Registers the listener only for events on objects of given prototypes from given context. -
Uses of IContextId in com.polarion.platform.persistence.model
-
Uses of IContextId in com.polarion.platform.persistence.spi
Modifier and TypeMethodDescriptionTypedEnumerationFactory.getEnumeration
(String enumId, IContextId contextId) ModifierConstructorDescriptionRepoBasedEnumeration
(IRepositoryConfigService rcs, String cfgPath, String enumerationId, IContextId contextId) TypedEnumeration
(Constructor<Object> enumConstructor, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.The constructor is deprecated in favor of more flexiblecom.polarion.platform.persistence.spi.TypedEnumeration#TypedEnumeration(java.util.function.UnaryOperator, java.lang.String, java.lang.String, com.polarion.platform.repository.config.IRepositoryConfigService, java.lang.String, com.polarion.subterra.base.data.identification.IContextId)
TypedEnumeration
(UnaryOperator<IEnumOption> wrapper, String cfgPath, String controlKey, IRepositoryConfigService rcs, String enumerationId, IContextId contextId) -
Uses of IContextId in com.polarion.platform.persistence.spi.context
-
Uses of IContextId in com.polarion.platform.repository.config
Modifier and TypeMethodDescriptionvoid
IRepositoryConfigService.addConfigurationListener
(String configId, String prefix, IContextId contextId, IConfigListener l) Registers the listener, which will be notified after change in configuration occurs.void
IConfigListener.configurationChanged
(String configId, String prefix, IContextId context) Fired when configuration with given parameters was changed.boolean
IRepositoryConfigService.existsAnyConfiguration
(String configId, String prefix, IContextId contextId) Whether the configuration exists exactly in the specified context and with the specified prefix, or it exists in another context or without the prefix according to hierarchy and inheritance settings.boolean
IRepositoryConfigService.existsSpecificConfiguration
(String configId, String prefix, IContextId contextId) Whether the configuration exists exactly in the specified context and with the specified prefix (no hierarchy or inheritance processing).IRepositoryConfigService.getConfigurationForUpdate
(String configId, IContextId contextId) This method is intended for configuration-editing clients, NOT for configuration-using clients (these should useIRepositoryConfigService.getReadConfiguration(String, IContextId)
instead.IRepositoryConfigService.getConfigurationForUpdate
(String configId, String prefix, IContextId contextId) This method is intended for configuration-editing clients, NOT for configuration-using clients (these should useIRepositoryConfigService.getReadConfiguration(String, String, IContextId)
instead.IRepositoryConfigService.getConfigurationLocationForUpload
(String configId, IContextId contextId) This method is intended only for configuration file uploading clients.IRepositoryConfigService.getConfigurationLocationForUpload
(String configId, String prefix, IContextId contextId) This method is intended only for configuration file uploading clients.IRepositoryConfigService.getExistingPrefixes
(String configId, IContextId contextId) This method returns the existing prefixes for given configuration.IRepositoryConfigService.getReadConfiguration
(String configId, IContextId context) Returns the global read-only configuration for direct usage.IRepositoryConfigService.getReadConfiguration
(String configId, String prefix, IContextId contextId) Returns the specific read-only configuration for direct usage.void
IRepositoryConfigService.removeConfigurationListener
(String configId, String prefix, IContextId contextId, IConfigListener l) Removes already registered listener.void
IRepositoryConfigService.saveConfiguration
(String configId, IContextId contextId, Object config) Saves the global configuration.void
IRepositoryConfigService.saveConfiguration
(String configId, String prefix, IContextId contextId, Object config) Saves the specific configuration.IRepositoryConfigService.validateConfiguration
(String configId, String prefix, IContextId contextId, Object config) Validates the specific configuration. -
Uses of IContextId in com.polarion.platform.repository.external
Modifier and TypeMethodDescriptionIExternalRepositoryProviderRegistry.getConfigurations
(IContextId contextId) IExternalRepositoryProviderRegistry.getRepositories
(IContextId contextId) IExternalRepositoryProvider.getRepository
(IContextId contextId, IExternalRepositoryConfiguration configuration, IExternalRepositoryProvider.IExternalRepositoryCallback callback) Creates a repository for the configuration.IExternalRepositoryProviderRegistry.getRepository
(String id, IContextId contextId) void
IExternalRepositoryProviderRegistry.setConfigurations
(IExternalRepositoryConfiguration[] configurations, IContextId contextId) -
Uses of IContextId in com.polarion.platform.security
Modifier and TypeMethodDescriptionISecurityService.getContextRolesForUser
(String userName, IContextId... contextIds) Returns context roles assigned to the user for specified contexts.ISecurityService.getRolesForUser
(String userName, IContextId... contextIds) Returns all global + context roles assigned to the user for specified contexts.Modifier and TypeMethodDescriptionvoid
ISecurityService.addContextRoleToUser
(String userName, String roleId, IContextId ctx) boolean
IUserManagementPolicy.canAddContextRoleToUser
(String userName, String roleId, IContextId ctx) Permission isUserManagementPermission.ACTION_MANAGE_USER
.boolean
UserManagementPolicy.canAddContextRoleToUser
(String userName, String roleId, IContextId ctx) Deprecated, for removal: This API element is subject to removal in a future version.boolean
IUserManagementPolicy.canCreateContextRole
(String roleId, IContextId contextId) Permission isUserManagementPermission.ACTION_MANAGE_ROLE
.boolean
UserManagementPolicy.canCreateContextRole
(String roleId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.boolean
IUserManagementPolicy.canManageRoles
(IContextId contextId) Permission isUserManagementPermission.ACTION_MANAGE_ROLE
.boolean
UserManagementPolicy.canManageRoles
(IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.boolean
IUserManagementPolicy.canManageUsers
(IContextId contextId) Permission isUserManagementPermission.ACTION_MANAGE_USER
.boolean
UserManagementPolicy.canManageUsers
(IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.boolean
IUserManagementPolicy.canRemoveContextRole
(String roleId, IContextId contextId) Permission isUserManagementPermission.ACTION_MANAGE_ROLE
.boolean
UserManagementPolicy.canRemoveContextRole
(String roleId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.boolean
IUserManagementPolicy.canRemoveContextRoleFromUser
(String userName, String roleId, IContextId ctx) Permission isUserManagementPermission.ACTION_MANAGE_USER
.boolean
UserManagementPolicy.canRemoveContextRoleFromUser
(String userName, String roleId, IContextId ctx) Deprecated, for removal: This API element is subject to removal in a future version.void
IUserManagementPolicy.checkCanAddContextRoleToUser
(String userName, String roleId, IContextId ctx) void
UserManagementPolicy.checkCanAddContextRoleToUser
(String userName, String roleId, IContextId ctx) Deprecated, for removal: This API element is subject to removal in a future version.void
IUserManagementPolicy.checkCanCreateContextRole
(String roleId, IContextId contextId) void
UserManagementPolicy.checkCanCreateContextRole
(String roleId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.void
IUserManagementPolicy.checkCanRemoveContextRole
(String roleId, IContextId contextId) void
UserManagementPolicy.checkCanRemoveContextRole
(String roleId, IContextId contextId) Deprecated, for removal: This API element is subject to removal in a future version.void
IUserManagementPolicy.checkCanRemoveContextRoleFromUser
(String userName, String roleId, IContextId ctx) void
UserManagementPolicy.checkCanRemoveContextRoleFromUser
(String userName, String roleId, IContextId ctx) Deprecated, for removal: This API element is subject to removal in a future version.void
ISecurityService.checkPermission
(IPermission permission, IContextId contextId) Check that the current user has been given permission in the given context.void
ISecurityService.checkPermission
(String user, IPermission permission, IContextId contextId) Check that the given user has been given permission in the given context.void
ISecurityService.checkPermission
(Subject user, IPermission permission, IContextId contextId) Check that given user has given permission in given context.void
ISecurityService.createContextRole
(String roleId, IContextId ctx) Creates a context role.Permission.denied
(String user, IPermission originalPermission, IContextId contextId) ISecurityService.getContextRoleAssignmentsForUser
(String userName, IContextId context) Returns the context roles assigned to the specific User together with the source of the assignment.ISecurityService.getContextRoles
(IContextId ctx) ISecurityService.getContextRolesForUser
(String userName, IContextId context) Returns the context roles assigned to the user.ISecurityService.getContextRolesForUser
(String userName, IContextId... contextIds) Returns context roles assigned to the user for specified contexts.ISecurityService.getDefaultHatForContextRole
(IContextId ctx, String role) ISecurityService.getRolesForUser
(String userName, IContextId context) Returns all global + context roles assigned to the user.ISecurityService.getRolesForUser
(String userName, IContextId... contextIds) Returns all global + context roles assigned to the user for specified contexts.ISecurityService.getUserAssignmentsForContextRole
(String roleId, IContextId context) Returns the Users assigned the specific role together with the source of the assignment.ISecurityService.getUsersForContextRole
(String roleId, IContextId ctx) Returns the IDs of all users, that have the given role for the given context.ISecurityService.getUsersWithContextRole
(IContextId ctx) Returns the IDs of all users, that have some role in the given context.boolean
ISecurityService.hasPermission
(IPermission permission, IContextId contextId) Has the current user been given permission in the given context?boolean
ISecurityService.hasPermission
(String user, IPermission permission, IContextId contextId) Has the given user been given permission in the given context?boolean
ISecurityService.hasPermission
(Collection<String> roles, IPermission permission, IContextId contextId) boolean
ISecurityService.hasPermission
(Subject user, IPermission permission, IContextId contextId) Has the given user been given permission in the given context?void
ISecurityService.removeContextRole
(String roleId, IContextId ctx) Removes a global role.void
ISecurityService.removeContextRoleFromUser
(String userName, String roleId, IContextId ctx) void
ISecurityService.setDefaultHatForContextRole
(IContextId ctx, String role, String hatId) ModifierConstructorDescriptionPermissionDeniedException
(String user, IPermission permission, IContextId contextId) Constructor.PermissionDeniedException
(String user, IPermission originalPermission, IContextId contextId, IPermission reason) Constructor.PermissionDeniedException
(String user, IPermission permission, IContextId contextId, String message) Constructor. -
Uses of IContextId in com.polarion.platform.service.repository
Modifier and TypeFieldDescriptionstatic final IContextId
IRepositoryService.DEFAULT_REPO_ROOT_CONTEXT_ID
IContextId
of the root of theIRepositoryService.DEFAULT
repository. -
Uses of IContextId in com.polarion.platform.spi.security
Modifier and TypeMethodDescriptionvoid
IACLConfigProvider.addACLConfigListener
(IACLConfigProvider.IACLConfigListener l, IContextId contextId) Register given listener on given context.void
IAuthenticationSource.addContextRoleToUser
(String userName, String roleId, IContextId ctx) IUserGroupBatchUpdate.addRole
(String roleId, IContextId contextId) Adds the Role to the group.void
IACLConfigProvider.IACLConfigListener.configurationChanged
(IContextId contextId, Document config) Notifies that configuration has changed (even if the configuration has been removed).void
IAuthenticationSource.createContextRole
(IContextId ctx, String roleId) IAuthenticationSource.getContextRoleAssignmentsForUser
(String userName, IContextId context) Returns the context roles assigned to the specific User together with the source of the assignment.IAuthenticationSource.getContextRoles
(IContextId ctx) IAuthenticationSource.getContextRolesForUser
(String userName, IContextId context) Returns context roles assigned directly to the user.IAuthenticationSource.getDefaultHatForContextRole
(IContextId ctx, String role) IAuthenticationSource.getUserAssignmentsForRole
(String role, IContextId context) Returns the Users assigned the specific role together with the source of the assignment.IAuthenticationSource.getUsersForContextRole
(String roleId, IContextId ctx) Returns a set of user IDs that the role is directly assigned to.void
IACLConfigProvider.removeACLConfigListener
(IACLConfigProvider.IACLConfigListener l, IContextId contextId) Unregister given listener from given context.void
IAuthenticationSource.removeContextRole
(IContextId ctx, String roleId) void
IAuthenticationSource.removeContextRoleFromUser
(String userName, String roleId, IContextId ctx) IUserGroupBatchUpdate.removeRole
(String roleId, IContextId contextId) Removes the Role from the group.void
IAuthenticationSource.setDefaultHatForContextRole
(IContextId ctx, String role, String hatId) -
Uses of IContextId in com.polarion.subterra.base.data.identification
Modifier and TypeMethodDescriptionIObjectId.getContextId()
Context id (if any).ObjectId.getContextId()
static IContextId
ContextId.getContextIdFromClusterAndContext
(String clusterName, String contextName) Return context id for given cluster and context.static IContextId
ContextId.getContextIdFromClusterAndContextWithBaseline
(String clusterName, String contextName, String baseline) Return context id for given cluster and context.static IContextId
ContextId.getContextIdFromContext
(String contextName) Return context id for given context and no cluster.static IContextId
ContextId.getContextIdFromContextWithBaseline
(String contextName, String baseline) Return context id for given context and no cluster.static IContextId
ContextId.getContextIdFromString
(String normId) Return context id for given normalized string representation.static IContextId
ContextId.getGlobalContextId()
Return global context id without cluster.static IContextId
ContextId.getGlobalContextId
(String clusterName) Return global context id for given cluster.ContextId.removeBaseline()
IContextId.removeBaseline()
Remove baseline (if any) from this context id and return a new context id.ContextId.removeClusterName()
IContextId.removeClusterName()
Remove cluster name (if any) from this context id and return a new context id.ContextId.setBaseline
(String baseline) IContextId.setBaseline
(String baseline) Set baseline of this context id and return a new context id.ContextId.setClusterName
(String clusterName) IContextId.setClusterName
(String clusterName) Set cluster name of this context id and return a new context id.Modifier and TypeMethodDescriptionstatic IObjectId
ObjectId.getCrossContextObjectId
(IContextId contextId, ILocalId localId) Return cross-context object id for given context id and local id.DefaultObjectResolver.getSubterraURIForObjectId
(IContextId contextId, ILocalId localId) DefaultObjectResolver.getSubterraURIForObjectId
(IObjectId objectId, IContextId contextId) IObjectResolver.getSubterraURIForObjectId
(IContextId contextId, ILocalId localId) IObjectResolver.getSubterraURIForObjectId
(IObjectId id, IContextId contextId) Deprecated.Use the method without contextId instead - the contectId parameter is redundantIObjectId.setContextId
(IContextId contextId) Set context id of this object id and return new object id.ObjectId.setContextId
(IContextId contextId) -
Uses of IContextId in com.polarion.subterra.base.data.model
Modifier and TypeMethodDescriptionIStructValueSerializer.deserializeValue
(IObjectResolver resolver, Object refres, IContextId contextId, String featureName, Object value, IStructType type) ICustomFieldsProvider.getAllCustomFields
(String prototypeName, IContextId contextId) ICustomFieldsProvider.getCustomField
(String featureId, String prototypeName, IContextId contextId) ICustomFieldsProvider.getCustomField
(String featureId, String prototypeName, IContextId contextId, Object controlValue) ICustomFieldsProvider.getDefinedCustomFields
(String prototypeName, IContextId contextId, Object controlValue) ICustomFieldsProvider.getListCustomField
(String featureId, String prototypeName, IContextId contextId) Deprecated.useICustomFieldsProvider.getListCustomField(String, String, IContextId, Object)
Similar toICustomFieldsProvider.getCustomField(String, String, IContextId)
, but ensures that the resulting feature has theIListType
, otherwise an exception is thrown.ICustomFieldsProvider.getListCustomField
(String featureId, String prototypeName, IContextId contextId, Object controlValue) Similar toICustomFieldsProvider.getCustomField(String, String, IContextId)
, but ensures, that the resulting feature has theIListType
, otherwise an exception is thrown.boolean
ICustomFieldsProvider.isCustomFieldDefined
(String featureId, String prototypeName, IContextId contextId) Deprecated.useICustomFieldsProvider.isCustomFieldDefined(String, String, IContextId, Object)
Returns true, if a feature with such a name is, even conditionally, defined for the given prototype in the given context.boolean
ICustomFieldsProvider.isCustomFieldDefined
(String featureId, String prototypeName, IContextId contextId, Object controlValue) Returns true if a feature with such a name is, even conditionally, defined for the given prototype in the given context.ICodeType.transformForEditor
(Text value, String revision, IContextId ctxId) It is possible to display the value of a field of this type in a different format than what it is saved.ICodeType.transformForSave
(Text value, IContextId ctxId) It is possible to save the value of this field type in a different format than what is visible in the editor.
true
!