code: List<CmsRelation> readOutgoingRelations(CmsObject cms, CmsResource resource) throws CmsException {
  
          List<CmsRelation> results = cms.readRelations(
              CmsRelationFilter.relationsFromStructureId(resource.getStructureId()).filterType(
                  CmsRelationType.LOCALE_VARIANT));
          return results;
      }
docs: Reads the outgoing LOCALE_VARIANT relations for a given resource.<p>
  
  @param cms the CMS context
  @param resource the resource
  @return the list of relations
  @throws CmsException if something goes wrong