Class ResourceManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.ResourceManager
-
- All Implemented Interfaces:
Session
public class ResourceManager extends AbstractManager
- Author:
- Tom Baeyens
-
-
Constructor Summary
Constructors Constructor Description ResourceManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteResourcesByDeploymentId(java.lang.String deploymentId)
java.util.Map<java.lang.String,ResourceEntity>
findLatestResourcesByDeploymentName(java.lang.String deploymentName, java.util.Set<java.lang.String> resourcesToFind, java.lang.String source, java.lang.String tenantId)
ResourceEntity
findLicenseKeyResource()
ResourceEntity
findResourceByDeploymentIdAndResourceId(java.lang.String deploymentId, java.lang.String resourceId)
java.util.List<ResourceEntity>
findResourceByDeploymentIdAndResourceIds(java.lang.String deploymentId, java.lang.String... resourceIds)
ResourceEntity
findResourceByDeploymentIdAndResourceName(java.lang.String deploymentId, java.lang.String resourceName)
java.util.List<ResourceEntity>
findResourceByDeploymentIdAndResourceNames(java.lang.String deploymentId, java.lang.String... resourceNames)
java.util.List<ResourceEntity>
findResourcesByDeploymentId(java.lang.String deploymentId)
void
insertResource(ResourceEntity resource)
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
-
-
-
Method Detail
-
insertResource
public void insertResource(ResourceEntity resource)
-
deleteResourcesByDeploymentId
public void deleteResourcesByDeploymentId(java.lang.String deploymentId)
-
findResourceByDeploymentIdAndResourceName
public ResourceEntity findResourceByDeploymentIdAndResourceName(java.lang.String deploymentId, java.lang.String resourceName)
-
findResourceByDeploymentIdAndResourceNames
public java.util.List<ResourceEntity> findResourceByDeploymentIdAndResourceNames(java.lang.String deploymentId, java.lang.String... resourceNames)
-
findResourceByDeploymentIdAndResourceId
public ResourceEntity findResourceByDeploymentIdAndResourceId(java.lang.String deploymentId, java.lang.String resourceId)
-
findResourceByDeploymentIdAndResourceIds
public java.util.List<ResourceEntity> findResourceByDeploymentIdAndResourceIds(java.lang.String deploymentId, java.lang.String... resourceIds)
-
findResourcesByDeploymentId
public java.util.List<ResourceEntity> findResourcesByDeploymentId(java.lang.String deploymentId)
-
findLatestResourcesByDeploymentName
public java.util.Map<java.lang.String,ResourceEntity> findLatestResourcesByDeploymentName(java.lang.String deploymentName, java.util.Set<java.lang.String> resourcesToFind, java.lang.String source, java.lang.String tenantId)
-
findLicenseKeyResource
public ResourceEntity findLicenseKeyResource()
-
-