code: public List<CmsResource> readSiblings(CmsDbContext dbc, CmsResource resource, CmsResourceFilter filter)
      throws CmsException {
  
          List<CmsResource> siblings = getVfsDriver(
              dbc).readSiblings(dbc, dbc.currentProject().getUuid(), resource, filter.includeDeleted());
  
          // important: there is no permission check done on the returned list of siblings
          // this is because of possible issues with the "publish all siblings" option,
          // moreover the user has read permission for the content through
          // the selected sibling anyway
          return updateContextDates(dbc, siblings, filter);
      }
docs: Returns a List of all siblings of the specified resource,
  the specified resource being always part of the result set.<p>
  
  The result is a list of <code>{@link CmsResource}</code> objects.<p>
  
  @param dbc the current database context
  @param resource the resource to read the siblings for
  @param filter a filter object
  
  @return a list of <code>{@link CmsResource}</code> Objects that
  are siblings to the specified resource,
  including the specified resource itself
  
  @throws CmsException if something goes wrong