public class UserProfileHierarchySet extends NonPersistentMboSet implements UserProfileHierarchySetRemote, HierarchicalMboSetRemote
fetchStopLimitEnabled, LOOKUPMAXROW, maxSorterSize, mboCountCleanuplist, perfStats, strNoBaseLangValueEntered
_ALL_SITES, _LABORFLAGS_, APPLICATIONS, APPROVAL_LIMITS, CAT_APPS, CAT_CATEGORIES, CAT_ENTITYNAME, CAT_RESTRICTION, CAT_SITE, CAT_SYSLEVELAPPS, CAT_TOPNOSITES, GL_COMPONENTS, HIGH_VALUE, LABOR, LABORFLAGS, profileCategories, RESTRICTIONS, STOREROOMS, SYSLEVELAPPS, TOLERANCES, TOPNOSITES
INSERTONLY, INSERTORUPDATE, UPDATEONLY
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
UserProfileHierarchySet(MboServerInterface ms) |
Modifier and Type | Method and Description |
---|---|
void |
clearProfile(java.lang.String userId)
This factory clears the ProfileRemote object for a given user.
|
java.util.HashSet |
getAllAuthLabor(MboSetRemote laborauthset) |
MboValueData[][] |
getAllHierarchies(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns all hierarchies for the object, this is mainly used in the case of locations.
|
java.util.Set |
getAuthEntities() |
java.util.HashSet |
getAuthGLFields(long key) |
java.util.HashSet |
getAuthLabor(long key) |
MboSetRemote |
getAuthorizedApplications(long ukey,
int sysFlag) |
MboSetRemote |
getAuthorizedStoreRooms(long key) |
java.util.HashMap |
getCategories() |
MboValueData[][] |
getCategoryData(java.lang.String object,
long key,
java.lang.String[] attrs) |
MboValueData[][] |
getChildren(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more children objects in the hierarchy.
|
MboSetRemote |
getEntities() |
MboSetRemote |
getGLFields(long ukey) |
MboValueData[] |
getHierarchy(java.lang.String object,
java.lang.String key)
Return the hierarchy of the given object.
|
MboSetRemote |
getLabor(long key) |
MboSetRemote |
getLaborFlags() |
java.util.HashSet |
getLaborForFlag(java.lang.String flag) |
java.util.HashMap |
getLevels() |
MboSetRemote |
getLimits(long ukey) |
UserProfileTreeNodeCache.MessageMapper |
getMessageMapper() |
MboValueData[] |
getParent(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs)
Returns zero or one parent object for the given object in the hierarchy.
|
MboValueData[][] |
getPathToTop(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns all objects in the path to the top from the current object, i.e.
|
MboValueData[][] |
getSiblings(java.lang.String object,
java.lang.String key,
java.lang.String[] attrs,
int maxRows)
Returns zero or more siblings of the given object in the hierarchy.
|
MboSetRemote |
getTolerances(long ukey) |
MboValueData[][] |
getTop(java.lang.String[] attrs,
int maxRows)
Create the top level node(s) for this tree.
|
MboValueData |
getUniqueIDValue(java.lang.String object,
java.lang.String[] attributes,
java.lang.String[] values)
Returns the unique id value of the object using the list of attributes and values.
|
boolean |
hasRestrictions(java.lang.String objectname) |
boolean |
hasSigOptions(java.lang.String appname,
long ukey) |
void |
init()
Programmer can provide any intialization in here.
|
void |
resetMboSetALL(java.lang.String nodelabel) |
void |
setHierarchy(java.lang.String object,
java.lang.String key,
java.lang.String hierarchy)
Sets the hierarchy of the object.
|
count, execute, execute, isClosed, setMboSetInfo, setup, toBeSaved
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addToEndOfSelectStatement, addWarning, addWarnings, appendToWhere, applyRowSecurity, canAdd, cancelAndClose, checkMethodAccess, checkMethodAccess, cleanup, clear, clearESigTransIDForAdmin, clearIgnoredAutokeyAttrs, clearLongOpPipe, clearToBeSaved, clearTransactionReference, clearWarnings, close, commit, commitTransaction, copy, copy, copy, copyForDM, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, dump, earliestDate, enableMethod, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, getAllowQualifiedRestriction, getAlwaysFlags, getAlwaysFlags, getApp, getAppAlwaysFieldFlags, getAppWhere, getAttrRestrictions, getBoolean, getByte, getBytes, getClientLocale, getClientTimeZone, getCompleteWhere, getCurrentPosition, getDate, getDBFetchMaxRows, getDefaultValue, getDefaultValueHash, getDouble, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getFloat, getIgnoredAutokeyAttrs, getInsertCompanySet, getInsertItemSet, getInsertOrg, getInsertSite, getInt, getJspDefaultValueHash, getKeyAttributes, getList, getList, getLong, getMaxAppsWhere, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboLogger, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMultiSiteWhere, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getProxy, getQbe, getQbe, getQbe, getQbeSiteAuthorization, getQbeWhere, getQualifiedWhere, getQueryTimeout, getRelationName, getRelationship, getRowRestrictions, getSecurityLogger, getSelection, getSelectionWhere, getSetOrderByForUI, getSharedMboSet, getSize, getSkipFirstNRows, getSqlLogger, getSQLOptions, getString, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserPrefWhere, getUserWhere, getUserWhere, getWarnings, getWhere, getZombie, handleMLMbo, handleMLMbo, hasMLQbe, hasQbe, hasWarnings, ignoreAutokeyAttr, ignoreAutokeyAttr, ignoreQbeExactMatchSet, incrementDeletedCount, init, initDataDictionary, isBasedOn, isDeltaStorage, isDMDeploySet, isDMSkipFieldValidation, isEAuditFieldModified, isEmpty, isESigFieldModified, isESigNeeded, isFlagSet, isIgnoreQbeExactMatchSet, isLookup, isNull, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, isTableDomainLookup, latestDate, locateMbo, logESigVerification, logRowUpdatedException, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, moveToKey, notExist, positionState, processML, remove, remove, remove, reset, resetForRefreshOnSave, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, rollbackTransaction, save, save, save, save, saveMbos, saveTransaction, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setEAuditFieldModified, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setPreserveOrderByCase, setProxy, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSkipFirstNRows, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, smartFind, smartFind, sort, splitOrderBy, startCheckpoint, startCheckpoint, sum, undeleteAll, undoTransaction, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, validateTransaction, verifyESig
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, setup
abortSql, add, add, addAtEnd, addAtEnd, addAtIndex, addAtIndex, addFakeAtEnd, addSubQbe, addSubQbe, addSubQbe, addSubQbe, addWarning, addWarnings, checkMethodAccess, cleanup, clear, clearLongOpPipe, close, commit, copy, copy, copyForDM, count, count, deleteAll, deleteAll, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemove, deleteAndRemoveAll, deleteAndRemoveAll, determineRequiredFieldsFromERM, earliestDate, fetchNext, findAllNullRequiredFields, findByIntegrationKey, findKey, getApp, getAppAlwaysFieldFlags, getAppWhere, getCompleteWhere, getCurrentPosition, getDBFetchMaxRows, getDefaultValue, getERMEntity, getESigTransactionId, getExcludeMeFromPropagation, getFlags, getKeyAttributes, getList, getList, getMaxMessage, getMbo, getMbo, getMboForUniqueId, getMboSetData, getMboSetData, getMboSetInfo, getMboSetRetainMboPositionData, getMboSetRetainMboPositionInfo, getMboSetValueData, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMLFromClause, getMXTransaction, getName, getOrderBy, getOwner, getParentApp, getProfile, getQbe, getQbe, getQbe, getQbeWhere, getQueryTimeout, getRelationName, getRelationship, getSelection, getSelectionWhere, getSetOrderByForUI, getSize, getSQLOptions, getTxnPropertyMap, getUserAndQbeWhere, getUserInfo, getUserName, getUserWhere, getWarnings, getWhere, getZombie, hasMLQbe, hasQbe, hasWarnings, ignoreQbeExactMatchSet, incrementDeletedCount, init, isBasedOn, isDMDeploySet, isDMSkipFieldValidation, isEmpty, isESigNeeded, isFlagSet, isQbeCaseSensitive, isQbeExactMatch, isRetainMboPosition, latestDate, locateMbo, logESigVerification, max, min, moveFirst, moveLast, moveNext, movePrev, moveTo, notExist, positionState, processML, remove, remove, remove, reset, resetQbe, resetWithSelection, rollback, rollbackToCheckpoint, rollbackToCheckpoint, save, save, select, select, select, selectAll, setAllowQualifiedRestriction, setApp, setAppAlwaysFieldFlag, setAppWhere, setAutoKeyFlag, setDBFetchMaxRows, setDefaultOrderBy, setDefaultValue, setDefaultValue, setDefaultValues, setDMDeploySet, setDMSkipFieldValidation, setERMEntity, setESigFieldModified, setExcludeMeFromPropagation, setFlag, setFlag, setFlags, setInsertCompanySet, setInsertItemSet, setInsertOrg, setInsertSite, setLastESigTransId, setLogLargFetchResultDisabled, setMboSetInfo, setMXTransaction, setNoNeedtoFetchFromDB, setOrderBy, setOwner, setQbe, setQbe, setQbe, setQbe, setQbe, setQbeCaseSensitive, setQbeCaseSensitive, setQbeExactMatch, setQbeExactMatch, setQbeOperatorOr, setQueryBySiteQbe, setQueryTimeout, setRelationName, setRelationship, setRequiedFlagsFromERM, setRetainMboPosition, setSetOrderByForUI, setSQLOptions, setTableDomainLookup, setTxnPropertyMap, setupLongOpPipe, setUserWhere, setUserWhereAfterParse, setWhere, setWhereQbe, smartFill, smartFill, smartFind, smartFind, startCheckpoint, startCheckpoint, sum, toBeSaved, undeleteAll, unselect, unselect, unselect, unselectAll, useStoredQuery, validate, verifyESig
getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getString, isNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull
commitTransaction, fireEventsAfterDB, fireEventsAfterDBCommit, fireEventsBeforeDB, rollbackTransaction, saveTransaction, undoTransaction, validateTransaction
public UserProfileHierarchySet(MboServerInterface ms) throws java.rmi.RemoteException
ms
- MXException
java.rmi.RemoteException
public void init() throws java.rmi.RemoteException, MXException
MboSet
init
in class MboSet
java.rmi.RemoteException
MXException
MboSet.setOwner(MboRemote)
public void clearProfile(java.lang.String userId)
userId
- public MboValueData[][] getChildren(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getChildren
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows
- - maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[][] getCategoryData(java.lang.String object, long key, java.lang.String[] attrs) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboValueData[] getParent(java.lang.String object, java.lang.String key, java.lang.String[] attrs) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getParent
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.MXException
java.rmi.RemoteException
public MboValueData[][] getSiblings(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getSiblings
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows
- - maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[][] getTop(java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
getTop
in interface HierarchicalMboSetRemote
attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows
- - maximum number of rows to return.MXException
java.rmi.RemoteException
getProfile(java.lang.String)
,
copytopmbo(psdi.mbo.MboSetRemote, java.lang.String[], java.lang.String[], java.lang.String)
,
makeSystemAppsNode(psdi.security.ProfileRemote, java.lang.String[], java.lang.String[])
,
setNoTop(psdi.mbo.MboSetRemote, java.lang.String[], java.lang.String[], java.lang.String)
public MboSetRemote getAuthorizedStoreRooms(long key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getEntities() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getAuthorizedApplications(long ukey, int sysFlag) throws MXException, java.rmi.RemoteException
ukey
- sysFlag
- 1=System-level apps only, 2=Non-System-level apps only, 3=All apps (any level)MXException
java.rmi.RemoteException
Profile.getApps(int)
public MboSetRemote getTolerances(long ukey) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getLabor(long key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getLaborFlags() throws MXException, java.rmi.RemoteException
getLaborFlags
in interface UserProfileHierarchySetRemote
MXException
java.rmi.RemoteException
public java.util.HashSet getAuthGLFields(long key) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Set getAuthEntities() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashSet getAuthLabor(long key) throws MXException, java.rmi.RemoteException
getAuthLabor
in interface UserProfileHierarchySetRemote
MXException
java.rmi.RemoteException
public java.util.HashSet getAllAuthLabor(MboSetRemote laborauthset) throws java.rmi.RemoteException
java.rmi.RemoteException
public MboSetRemote getGLFields(long ukey) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void resetMboSetALL(java.lang.String nodelabel) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getLimits(long ukey) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasSigOptions(java.lang.String appname, long ukey) throws MXException, java.rmi.RemoteException
hasSigOptions
in interface UserProfileHierarchySetRemote
MXException
java.rmi.RemoteException
public boolean hasRestrictions(java.lang.String objectname) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.HashSet getLaborForFlag(java.lang.String flag) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public UserProfileTreeNodeCache.MessageMapper getMessageMapper()
public MboValueData[][] getPathToTop(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getPathToTop
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows
- - maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[][] getAllHierarchies(java.lang.String object, java.lang.String key, java.lang.String[] attrs, int maxRows) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getAllHierarchies
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.attrs
- - list of attributes whose values are requested, the attribute data
returned in the attribute list correspond to this list.maxRows
- - maximum number of rows to return.MXException
java.rmi.RemoteException
public MboValueData[] getHierarchy(java.lang.String object, java.lang.String key) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getHierarchy
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.MXException
java.rmi.RemoteException
public void setHierarchy(java.lang.String object, java.lang.String key, java.lang.String hierarchy) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
setHierarchy
in interface HierarchicalMboSetRemote
object
- - name of the object whose children are being requested.key
- - unique id of the object whose children are being fetched.hierarchy
- - name of the hierarchy.MXException
java.rmi.RemoteException
public MboValueData getUniqueIDValue(java.lang.String object, java.lang.String[] attributes, java.lang.String[] values) throws MXException, java.rmi.RemoteException
HierarchicalMboSetRemote
getUniqueIDValue
in interface HierarchicalMboSetRemote
MXException
java.rmi.RemoteException
public java.util.HashMap getLevels() throws MXException, java.rmi.RemoteException
getLevels
in interface UserProfileHierarchySetRemote
MXException
java.rmi.RemoteException
public java.util.HashMap getCategories() throws MXException, java.rmi.RemoteException
getCategories
in interface UserProfileHierarchySetRemote
MXException
java.rmi.RemoteException