public void deleteSecDeviceByIdIdx(UUID SecUserId, String DevName) {
   CFSecuritySecDevicePKey pkey =
       ((ICFSecuritySchema) schema.getBackingStore()).getFactorySecDevice().newPKey();
   pkey.setRequiredSecUserId(SecUserId);
   pkey.setRequiredDevName(DevName);
   ICFSecuritySecDeviceObj obj = readSecDevice(pkey);
   if (obj != null) {
     ICFSecuritySecDeviceEditObj editObj = (ICFSecuritySecDeviceEditObj) obj.getEdit();
     boolean editStarted;
     if (editObj == null) {
       editObj = (ICFSecuritySecDeviceEditObj) obj.beginEdit();
       if (editObj != null) {
         editStarted = true;
       } else {
         editStarted = false;
       }
     } else {
       editStarted = false;
     }
     if (editObj != null) {
       editObj.delete();
       if (editStarted) {
         editObj.endEdit();
       }
     }
     obj.forget(true);
   }
 }
 public ICFSecuritySecDeviceObj readSecDeviceByIdIdx(
     UUID SecUserId, String DevName, boolean forceRead) {
   CFSecuritySecDevicePKey pkey =
       ((ICFSecuritySchema) schema.getBackingStore()).getFactorySecDevice().newPKey();
   pkey.setRequiredSecUserId(SecUserId);
   pkey.setRequiredDevName(DevName);
   ICFSecuritySecDeviceObj obj = readSecDevice(pkey, forceRead);
   return (obj);
 }
 public void forgetSecDeviceByIdIdx(UUID SecUserId, String DevName) {
   if (members == null) {
     return;
   }
   CFSecuritySecDevicePKey key =
       ((ICFSecuritySchema) schema.getBackingStore()).getFactorySecDevice().newPKey();
   key.setRequiredSecUserId(SecUserId);
   key.setRequiredDevName(DevName);
   if (members.containsKey(key)) {
     ICFSecuritySecDeviceObj probed = members.get(key);
     if (probed != null) {
       probed.forget(true);
     }
   }
 }