Search in sources :

Example 11 with TestContractResource

use of eu.bcvsolutions.idm.acc.entity.TestContractResource in project CzechIdMng by bcvsolutions.

the class DefaultUniformPasswordManagerIntegrationTest method createContract.

private TestContractResource createContract(String code, String owner, String leader, String main, String workposition, String state, String disabled, String positions) {
    TestContractResource contract = new TestContractResource();
    contract.setId(code);
    contract.setName(code);
    contract.setOwner(owner);
    contract.setState(state);
    contract.setDisabled(disabled);
    contract.setLeader(leader);
    contract.setMain(main);
    contract.setWorkposition(workposition);
    contract.setDescription(code);
    contract.setPositions(positions);
    return contract;
}
Also used : TestContractResource(eu.bcvsolutions.idm.acc.entity.TestContractResource)

Aggregations

TestContractResource (eu.bcvsolutions.idm.acc.entity.TestContractResource)11 AbstractSysSyncConfigDto (eu.bcvsolutions.idm.acc.dto.AbstractSysSyncConfigDto)6 SysSyncContractConfigDto (eu.bcvsolutions.idm.acc.dto.SysSyncContractConfigDto)6 SysSyncLogDto (eu.bcvsolutions.idm.acc.dto.SysSyncLogDto)6 SysSystemDto (eu.bcvsolutions.idm.acc.dto.SysSystemDto)6 IdmIdentityDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto)6 IdmIdentityContractFilter (eu.bcvsolutions.idm.core.api.dto.filter.IdmIdentityContractFilter)6 AbstractIntegrationTest (eu.bcvsolutions.idm.test.api.AbstractIntegrationTest)6 UUID (java.util.UUID)6 Test (org.junit.Test)6 SysSystemAttributeMappingDto (eu.bcvsolutions.idm.acc.dto.SysSystemAttributeMappingDto)5 SysSystemMappingDto (eu.bcvsolutions.idm.acc.dto.SysSystemMappingDto)5 SynchronizationSchedulableTaskExecutor (eu.bcvsolutions.idm.acc.scheduler.task.impl.SynchronizationSchedulableTaskExecutor)5 IdmEntityStateDto (eu.bcvsolutions.idm.core.api.dto.IdmEntityStateDto)5 IdmRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmRoleDto)5 IdmTreeNodeDto (eu.bcvsolutions.idm.core.api.dto.IdmTreeNodeDto)5 IdmTreeTypeDto (eu.bcvsolutions.idm.core.api.dto.IdmTreeTypeDto)5 Transactional (org.springframework.transaction.annotation.Transactional)4 AccUniformPasswordDto (eu.bcvsolutions.idm.acc.dto.AccUniformPasswordDto)3 TestResource (eu.bcvsolutions.idm.acc.entity.TestResource)3