Class X_AD_ClientShare

java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_ClientShare
All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_ClientShare, I_Persistent, Evaluatee
Direct Known Subclasses:
MClientShare

public class X_AD_ClientShare extends PO implements I_AD_ClientShare, I_Persistent
Generated Model for AD_ClientShare
Version:
Release 11 - $Id$
Author:
iDempiere (generated)
See Also:
  • Field Details

    • SHARETYPE_AD_Reference_ID

      public static final int SHARETYPE_AD_Reference_ID
      ShareType AD_Reference_ID=365
      See Also:
    • SHARETYPE_ClientAllShared

      public static final String SHARETYPE_ClientAllShared
      Client (all shared) = C
      See Also:
    • SHARETYPE_OrgNotShared

      public static final String SHARETYPE_OrgNotShared
      Org (not shared) = O
      See Also:
    • SHARETYPE_ClientOrOrg

      public static final String SHARETYPE_ClientOrOrg
      Client or Org = x
      See Also:
  • Constructor Details

    • X_AD_ClientShare

      public X_AD_ClientShare(Properties ctx, int AD_ClientShare_ID, String trxName)
      Standard Constructor
    • X_AD_ClientShare

      public X_AD_ClientShare(Properties ctx, int AD_ClientShare_ID, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_ClientShare

      public X_AD_ClientShare(Properties ctx, String AD_ClientShare_UU, String trxName)
      Standard Constructor
    • X_AD_ClientShare

      public X_AD_ClientShare(Properties ctx, String AD_ClientShare_UU, String trxName, String... virtualColumns)
      Standard Constructor
    • X_AD_ClientShare

      public X_AD_ClientShare(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
  • Method Details

    • get_AccessLevel

      protected int get_AccessLevel()
      AccessLevel
      Specified by:
      get_AccessLevel in class PO
      Returns:
      2 - Client
    • initPO

      protected POInfo initPO(Properties ctx)
      Load Meta Data
      Specified by:
      initPO in class PO
      Parameters:
      ctx - context
      Returns:
      Meta data of PO
    • toString

      public String toString()
      Description copied from class: PO
      String representation
      Overrides:
      toString in class PO
      Returns:
      String representation
    • setAD_ClientShare_ID

      public void setAD_ClientShare_ID(int AD_ClientShare_ID)
      Set Tenant Share.
      Specified by:
      setAD_ClientShare_ID in interface I_AD_ClientShare
      Parameters:
      AD_ClientShare_ID - Force (not) sharing of tenant/org entities
    • getAD_ClientShare_ID

      public int getAD_ClientShare_ID()
      Get Tenant Share.
      Specified by:
      getAD_ClientShare_ID in interface I_AD_ClientShare
      Returns:
      Force (not) sharing of tenant/org entities
    • setAD_ClientShare_UU

      public void setAD_ClientShare_UU(String AD_ClientShare_UU)
      Set AD_ClientShare_UU.
      Specified by:
      setAD_ClientShare_UU in interface I_AD_ClientShare
      Parameters:
      AD_ClientShare_UU - AD_ClientShare_UU
    • getAD_ClientShare_UU

      public String getAD_ClientShare_UU()
      Get AD_ClientShare_UU.
      Specified by:
      getAD_ClientShare_UU in interface I_AD_ClientShare
      Returns:
      AD_ClientShare_UU
    • getAD_Table

      public I_AD_Table getAD_Table() throws RuntimeException
      Specified by:
      getAD_Table in interface I_AD_ClientShare
      Throws:
      RuntimeException
    • setAD_Table_ID

      public void setAD_Table_ID(int AD_Table_ID)
      Set Table.
      Specified by:
      setAD_Table_ID in interface I_AD_ClientShare
      Parameters:
      AD_Table_ID - Database Table information
    • getAD_Table_ID

      public int getAD_Table_ID()
      Get Table.
      Specified by:
      getAD_Table_ID in interface I_AD_ClientShare
      Returns:
      Database Table information
    • setDescription

      public void setDescription(String Description)
      Set Description.
      Specified by:
      setDescription in interface I_AD_ClientShare
      Parameters:
      Description - Optional short description of the record
    • getDescription

      public String getDescription()
      Get Description.
      Specified by:
      getDescription in interface I_AD_ClientShare
      Returns:
      Optional short description of the record
    • setName

      public void setName(String Name)
      Set Name.
      Specified by:
      setName in interface I_AD_ClientShare
      Parameters:
      Name - Alphanumeric identifier of the entity
    • getName

      public String getName()
      Get Name.
      Specified by:
      getName in interface I_AD_ClientShare
      Returns:
      Alphanumeric identifier of the entity
    • getKeyNamePair

      public KeyNamePair getKeyNamePair()
      Get Record ID/ColumnName
      Returns:
      ID/ColumnName pair
    • setShareType

      public void setShareType(String ShareType)
      Set Share Type.
      Specified by:
      setShareType in interface I_AD_ClientShare
      Parameters:
      ShareType - Type of sharing
    • getShareType

      public String getShareType()
      Get Share Type.
      Specified by:
      getShareType in interface I_AD_ClientShare
      Returns:
      Type of sharing