public class ECOrganizationQuery extends ECQuery
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The class name.
|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
static java.lang.String |
JOIN_ADDRESS
Join condition for the ADDRESS table.
|
static java.lang.String |
JOIN_ANCESTORORG
Join condition for any ancestor organization from the ORGENTITY table.
|
static java.lang.String |
JOIN_MBRATTRVAL
Join condition for the MBRATTRVAL table.
|
static java.lang.String |
JOIN_MBRREL
Join condition for the MBRREL table.
|
static java.lang.String |
JOIN_MEMBER
Join condition for the MEMBER table.
|
static java.lang.String |
JOIN_PARENTORG
Join condition for the ORGENTITY record for the parent ORGENTITY.
|
DEFAULT_START, UNDEFINED_MAX_RESULTS
Constructor and Description |
---|
ECOrganizationQuery() |
Modifier and Type | Method and Description |
---|---|
static WhereClauseCondition |
getWhereClauseAllOrgsICanManage(java.lang.Long anUserId)
Gets a WHERE clause that includes organizations that the user is allowed to manage.
|
static WhereClauseCondition |
getWhereClauseAllOrgsWhereICanAssignRoles(java.lang.Long anUserId)
Gets a WHERE clause that includes organizations where the current user is allowed to assign a role to another user.
|
static WhereClauseCondition |
getWhereClauseAllOrgsWhereRoleIsPlayed(java.lang.Long anUserId)
Gets a WHERE clause that includes all organizations where the user plays any role,
except Registered Customer role.
|
executeQuery, getAdditionalSelectTableFields, getMaxResults, getOrderBy, getResultSize, getRetrieveCountOnly, getStart, getUncommittedRead, getWhereClause, isValid, setAdditionalSelectTableFields, setAllFromTables, setMaxResults, setOrderBy, setRetrieveCountOnly, setStart, setUncommittedRead, setWhereClause, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final java.lang.String JOIN_MEMBER
public static final java.lang.String JOIN_ADDRESS
public static final java.lang.String JOIN_MBRREL
public static final java.lang.String JOIN_MBRATTRVAL
public static final java.lang.String JOIN_PARENTORG
public static final java.lang.String JOIN_ANCESTORORG
public static WhereClauseCondition getWhereClauseAllOrgsWhereRoleIsPlayed(java.lang.Long anUserId)
WC_install_dir\xml\tools\buyerconsole\MemberSearch.xml
anUserId
- The user's Id.public static WhereClauseCondition getWhereClauseAllOrgsICanManage(java.lang.Long anUserId)
WC_install_dir\xml\tools\buyerconsole\MemberSearch.xml
anUserId
- The user's Id.public static WhereClauseCondition getWhereClauseAllOrgsWhereICanAssignRoles(java.lang.Long anUserId)
WC_install_dir\xml\tools\buyerconsole\MemberSearch.xml
anUserId
- The user's Id.