for (int i = 0; i < rows.size(); i++)
{
Permission obj = TurbineSecurity.getPermissionInstance(null);
Record row = (Record) rows.get(i);
((SecurityObject) obj).setPrimaryKey(
new NumberKey(row.getValue(1).asInt()));
((SecurityObject) obj).setName(row.getValue(2).asString());
byte[] objectData = (byte[]) row.getValue(3).asBytes();
Map temp = (Map) ObjectUtils.deserialize(objectData);
if (temp != null)
{