public class SiteOrgRestriction
extends java.lang.Object
Constructor and Description |
---|
SiteOrgRestriction() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCompanySetClause(UserInfo userInfo,
java.lang.String companySet)
returns the where clause for company set .
|
static java.lang.String |
getCompanySetWhere(ProfileRemote profile,
boolean forLookup,
java.lang.String appName,
UserInfo userInfo)
Gets the companyset restriction clause
|
static java.lang.String |
getItemSetClause(UserInfo userInfo,
java.lang.String itemSet)
returns the where clause for item set .
|
static java.lang.String |
getItemSetWhere(ProfileRemote profile,
boolean forLookup,
java.lang.String appName,
UserInfo userInfo)
Gets the itemset restriction clause
|
static java.lang.String |
getOrgFilter(java.lang.String entityName)
Returns the org clause used in framework for app user
|
static java.lang.String |
getOrgLookupFilter(MboRemote mbo)
Returns the org lookup clause used in framework for app user
|
static java.lang.String |
getOrgRestrictionClause(UserInfo userInfo,
java.lang.String org)
returns the org where clause for user insert org.
|
static java.lang.String |
getSetClause(UserInfo userInfo,
java.lang.String itemSet,
java.lang.String companySet,
int setType)
returns the where clause for item/company set .
|
static java.lang.String |
getSiteFilter(java.lang.String entityName)
Returns the site clause used in framework for app user
|
static java.lang.String |
getSiteFilter(java.lang.String entityName,
boolean useInSubselect) |
static java.lang.String |
getSiteIDs(java.lang.String appName,
UserInfo ui,
int siteOrgType,
java.lang.String entityName) |
static java.lang.String |
getSiteLookupFilter(MboRemote mbo)
Returns the site lookup clause used in framework for app user
|
static java.lang.String |
getSiteOrgWhere(int siteOrgType,
ProfileRemote profile,
boolean forLookup,
java.lang.String appName,
UserInfo userInfo,
java.lang.String entityName)
returns the site/org where clause for the siteorgtype
|
static java.lang.String |
getSiteOrgWhere(MboSet mboSet,
int siteOrgType,
ProfileRemote profile,
boolean forLookup,
java.lang.String appName,
UserInfo userInfo,
java.lang.String entityName)
returns the site/org where clause for the siteorgtype
|
static java.lang.String |
getSiteRestrictionClause(UserInfo userInfo,
java.lang.String site)
returns the site where clause for user insert site.
|
public static java.lang.String getSiteRestrictionClause(UserInfo userInfo, java.lang.String site) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getOrgRestrictionClause(UserInfo userInfo, java.lang.String org) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getItemSetClause(UserInfo userInfo, java.lang.String itemSet) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getCompanySetClause(UserInfo userInfo, java.lang.String companySet) throws MXException, java.rmi.RemoteException
userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getSetClause(UserInfo userInfo, java.lang.String itemSet, java.lang.String companySet, int setType) throws MXException, java.rmi.RemoteException
userInfo
- Itemset
- or companysetMXException
java.rmi.RemoteException
public static java.lang.String getItemSetWhere(ProfileRemote profile, boolean forLookup, java.lang.String appName, UserInfo userInfo) throws MXException
profile
- forLookup
- appName
- userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getCompanySetWhere(ProfileRemote profile, boolean forLookup, java.lang.String appName, UserInfo userInfo) throws MXException
profile
- forLookup
- appName
- userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String getSiteOrgWhere(int siteOrgType, ProfileRemote profile, boolean forLookup, java.lang.String appName, UserInfo userInfo, java.lang.String entityName) throws MXException
siteOrgType
- profile
- forLookup
- appName
- MXException
public static java.lang.String getSiteOrgWhere(MboSet mboSet, int siteOrgType, ProfileRemote profile, boolean forLookup, java.lang.String appName, UserInfo userInfo, java.lang.String entityName) throws MXException
siteOrgType
- profile
- forLookup
- appName
- MXException
public static java.lang.String getSiteFilter(java.lang.String entityName)
public static java.lang.String getSiteFilter(java.lang.String entityName, boolean useInSubselect)
public static java.lang.String getSiteIDs(java.lang.String appName, UserInfo ui, int siteOrgType, java.lang.String entityName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.lang.String getOrgFilter(java.lang.String entityName)
public static java.lang.String getSiteLookupFilter(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public static java.lang.String getOrgLookupFilter(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException