grantee = getNullAuthorizationID();
grantor = getNullAuthorizationID();
}
else
{
TablePermsDescriptor tpd = (TablePermsDescriptor) td;
oid = tpd.getUUID();
if ( oid == null )
{
oid = getUUIDFactory().createUUID();
tpd.setUUID(oid);
}
tablePermID = oid.toString();
grantee = getAuthorizationID( tpd.getGrantee());
grantor = getAuthorizationID( tpd.getGrantor());
tableID = tpd.getTableUUID().toString();
selectPriv = tpd.getSelectPriv();
deletePriv = tpd.getDeletePriv();
insertPriv = tpd.getInsertPriv();
updatePriv = tpd.getUpdatePriv();
referencesPriv = tpd.getReferencesPriv();
triggerPriv = tpd.getTriggerPriv();
}
ExecRow row = getExecutionFactory().getValueRow( COLUMN_COUNT);
row.setColumn( TABLEPERMSID_COL_NUM, dvf.getCharDataValue(tablePermID));
row.setColumn( GRANTEE_COL_NUM, grantee);
row.setColumn( GRANTOR_COL_NUM, grantor);