/** * Find a container from its identifier. If the container is not found or * cannot be seen by the current user, the error code * {@link org.ligoj.bootstrap.core.resource.BusinessException#KEY_UNKNOW_ID} * will be returned. * * @param id * The container's identifier. Will be normalized. * @return The container from its identifier. */ public T findByIdExpected(final String id) { return getRepository().findByIdExpected(securityHelper.getLogin(), id); }