public class MaxGroup extends Mbo implements MaxGroupRemote
GroupUser
table.
This mbo contains non-persistent attributes (TBD).
See Signature Package description.
This is a system level object.
The key attribute for this object is GroupName.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
AuthAllGLs | True if overrides to all GL account segments are authorized for this group.
False if GL segment overrides are defined according to the GLAuth table.
If this group is not Independent, this setting applies to all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
sites on this group.
|
AuthAllSites | True if all sites are authorized for this group.
False if site authorizations are defined according to the SiteAuth table.
If this group is not Independent, this setting applies to all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
sites on this group.
|
AuthAllStorerooms | True if all storerooms are authorized for this group.
False if storeroom authorizations are defined according to the LocAuth table.
If this group is not Independent, this setting applies to all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
sites on this group.
|
AuthLaborAll | True if all labor codes are authorized for this group.
False if labor code authorizations are defined according to the LaborAuth table.
If this group is not Independent, this setting applies to the organizations for all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
the organizations for sites on this group.
|
AuthLaborCrew | True if all labor codes in the user's crew are authorized for this group.
False if the user's crew's labor code authorizations are defined according to the LaborAuth table.
If this group is not Independent, this setting applies to the organizations for all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
the organizations for sites on this group.
|
AuthPersonGroup | True if all labor codes in the user's person group are authorized for this group.
False if the user's person group's labor code authorizations are defined according to the LaborAuth table.
If this group is not Independent, this setting applies to the organizations for all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
the organizations for sites on this group.
|
AuthLaborSelf | True if the user's labor code is authorized for this group.
False if the user's labor code authorization is defined according to the LaborAuth table.
If this group is not Independent, this setting applies to the organizations for all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
the organizations for sites on this group.
|
AuthLaborSuper | True if all labor codes that the user supervises are authorized for this group.
False if authorizations for the labor codes that the user supervises are defined according to the LaborAuth table.
If this group is not Independent, this setting applies to the organizations for all sites on all other
combinable groups. If this is a standalone group, this setting applies only to
the organizations for sites on this group.
|
Description | Freeform description. Also accommodates a long description. |
GroupName | Unique identifier for the group. |
Independent | When building a user's security profile, this attribute will be used to determine if the settings on this group will apply to sites on other non-independent groups, and settings on other non-independent groups will apply to the sites on this group. |
PasswordDuration | The number of days a password is valid before it has to be changed.
Defaults from maxvar PASSWORDDURATION .
|
PasswordWarning | The number of days prior to a password's expiration date that the
user will be reminded to change it.
Defaults from maxvar PASSWORDWARNING .
|
SCTemplateID | The Start Center Template ID for this security group.
Foreign key to SCTemplate .
|
LeftNav | The indicator that specifies whether or not to show the Left navigation panel for this security group. |
MULTILANGCOPY, phantomList, phantomQueue
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
Constructor and Description |
---|
MaxGroup(MboSet ms)
Construct the MaxGroup object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add a mbo, defaulting the attributes shown below.
|
void |
appValidate()
Validate mbo.
|
void |
authorizeUsers(MboSetRemote userSet,
java.lang.String relationship)
For multiselect of users for GrpReassignAuth or GroupUser.
|
void |
canDelete()
Cannot drop the group if any users exist in that group, or if it's the
New User or Everyone
|
boolean |
canMaintainUsers()
Identifies whether GroupUser can be maintained for this group.
|
MboRemote |
copy(java.lang.String newGroupName,
MboSetRemote mboset)
Copy this group to a new group.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
MboRemote |
duplicate()
Copy MaxGroup and its children.
|
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
void |
undelete()
Unmark the Mbo for deletion.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public MaxGroup(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void init() throws MXException
Mbo
init
in class Mbo
MXException
public void add() throws MXException, java.rmi.RemoteException
If the logon user is a site administrator, set "authallsites" to False and readonly.
Attribute Name | Attribute Value |
---|---|
PasswordDuration | MaxVars value of PASSWORDDURATION
|
PasswordWarning | MaxVars value of PASSWORDWARNING
|
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
MaxGroupSet.getAdminWhereSiteSubselect()
,
addDefaultAppAuth()
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXException
java.rmi.RemoteException
SignatureService.getNewUserGroup(psdi.security.UserInfo)
public void delete(long accessModifier) throws MXException, java.rmi.RemoteException
Mbo
delete
in interface MboRemote
delete
in class Mbo
accessModifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws MXException, java.rmi.RemoteException
Mbo
undelete
in interface MboRemote
undelete
in class Mbo
MXException
java.rmi.RemoteException
public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate
in interface MboRemote
duplicate
in class Mbo
MXException
java.rmi.RemoteException
public MboRemote copy(java.lang.String newGroupName, MboSetRemote mboset) throws MXException, java.rmi.RemoteException
copy
in interface MaxGroupRemote
newGroupName
- The name of the group to be added. Cannot be null unless
MaxGroup supports autokeying.mboset
- The destination MboSet to which the new MaxGroup mbo will
be added. Cannot be null.MXException
java.rmi.RemoteException
Mbo.isAutoKeyed(java.lang.String)
public boolean canMaintainUsers() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void appValidate() throws MXException, java.rmi.RemoteException
appValidate
in class Mbo
MXException
java.rmi.RemoteException
addGrpReassignAuth()
,
MaxGroupSet.usersToUpdate
,
MaxGroupSet.fireEventsAfterDBCommit(psdi.txn.MXTransaction)
,
SignatureService.resetPasswordExpiration(java.util.HashSet, psdi.security.UserInfo)
public void authorizeUsers(MboSetRemote userSet, java.lang.String relationship) throws MXException, java.rmi.RemoteException
authorizeUsers
in interface MaxGroupRemote
userSet
- Set of MaxUserrelationship
- Relationship name: GRPREASSIGNAUTH or GROUPUSER.MXException
java.rmi.RemoteException
SelectUsersBean