Fix [ 2116811 ] Posting problem with MRole.OrgAccess not serializable

This commit is contained in:
Carlos Ruiz 2008-09-17 20:59:51 +00:00
parent f47df08a66
commit 63380a8d93
1 changed files with 15 additions and 2 deletions

View File

@ -16,6 +16,7 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.model; package org.compiere.model;
import java.io.Serializable;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.ArrayList; import java.util.ArrayList;
@ -47,6 +48,12 @@ import org.compiere.util.Trace;
*/ */
public final class MRole extends X_AD_Role public final class MRole extends X_AD_Role
{ {
/**
*
*/
private static final long serialVersionUID = 8472593143421441965L;
/** /**
* Get Default (Client) Role * Get Default (Client) Role
* @return role * @return role
@ -2292,8 +2299,14 @@ public final class MRole extends X_AD_Role
/** /**
* Org Access Summary * Org Access Summary
*/ */
class OrgAccess class OrgAccess implements Serializable
{ {
/**
*
*/
private static final long serialVersionUID = -4880665261978385315L;
/** /**
* Org Access constructor * Org Access constructor
* @param ad_Client_ID client * @param ad_Client_ID client