private void addToAccessControlEntries(Integer objectId,Integer parentId,List<byte[]> sids) throws IOException {
  if (sids.isEmpty()) {
    collectNewObjectSIDs(parentId,sids);
  }
  TableImpl acEntries=getAccessControlEntries();
  ColumnImpl acmCol=acEntries.getColumn(ACE_COL_ACM);
  ColumnImpl inheritCol=acEntries.getColumn(ACE_COL_F_INHERITABLE);
  ColumnImpl objIdCol=acEntries.getColumn(ACE_COL_OBJECT_ID);
  ColumnImpl sidCol=acEntries.getColumn(ACE_COL_SID);
  List<Object[]> aceRows=new ArrayList<Object[]>(sids.size());
  for (  byte[] sid : sids) {
    Object[] aceRow=new Object[acEntries.getColumnCount()];
    acmCol.setRowValue(aceRow,SYS_FULL_ACCESS_ACM);
    inheritCol.setRowValue(aceRow,Boolean.FALSE);
    objIdCol.setRowValue(aceRow,objectId);
    sidCol.setRowValue(aceRow,sid);
    aceRows.add(aceRow);
  }
  acEntries.addRows(aceRows);
}

private void addToAccessControlEntries ( Integer objectId , Integer parentId , List < byte [ ] > sids ) throws IOException { if ( sids . isEmpty ( ) ) { collectNewObjectSIDs ( parentId , sids ) ; } TableImpl acEntries = getAccessControlEntries ( ) ; ColumnImpl acmCol = acEntries . getColumn ( ACE_COL_ACM ) ; ColumnImpl inheritCol = acEntries . getColumn ( ACE_COL_F_INHERITABLE ) ; ColumnImpl objIdCol = acEntries . getColumn ( ACE_COL_OBJECT_ID ) ; ColumnImpl sidCol = acEntries . getColumn ( ACE_COL_SID ) ; List < Object [ ] > aceRows = new ArrayList < Object [ ] > ( sids . size ( ) ) ; for ( byte [ ] sid : sids ) { Object [ ] aceRow = new Object [ acEntries . getColumnCount ( ) ] ; acmCol . setRowValue ( aceRow , SYS_FULL_ACCESS_ACM ) ; inheritCol . setRowValue ( aceRow , Boolean . FALSE ) ; objIdCol . setRowValue ( aceRow , objectId ) ; sidCol . setRowValue ( aceRow , sid ) ; aceRows . add ( aceRow ) ; } acEntries . addRows ( aceRows ) ; }
adds a new object to the system ' s access control entries
