@@ -0,0 +1,957 @@
+package eu.bcvsolutions.idm.acc.service.api;%0A%0Aimport eu.bcvsolutions.idm.acc.entity.SysRoleSystem;%0Aimport eu.bcvsolutions.idm.core.model.entity.IdmIdentity;%0Aimport eu.bcvsolutions.idm.core.model.entity.IdmIdentityRole;%0A%0Apublic interface AccAccountManagementService %7B%0A%0A%09/**%0A%09 * Create or delete accounts for this identity according their roles%0A%09 * @param identity%0A%09 * @return%0A%09 */%0A%09boolean resolveIdentityAccounts(IdmIdentity identity);%0A%0A%09/**%0A%09 * Identity role is deleting, we have to delete linked identity accounts%0A%09 * @param entity%0A%09 */%0A%09void deleteIdentityAccount(IdmIdentityRole entity);%0A%09%0A%09/**%0A%09 * Return UID for this identity and roleSystem. First will be find and use%0A%09 * transform script from roleSystem attribute. If isn't UID attribute for%0A%09 * roleSystem defined, then will be use default UID attribute handling.%0A%09 * %0A%09 * @param identity%0A%09 * @param roleSystem%0A%09 * @return%0A%09 */%0A%09String generateUID(IdmIdentity identity, SysRoleSystem roleSystem);%0A%7D

Create account manager interface for acc module (support new method generate UID)