public class PersonGroup extends Mbo implements PersonGroupRemote
This is a Database level object.
The key attribute for this object is PersonGroup.
The attributes in this object are as follows:
Attribute Description
| Attribute | Description |
|---|---|
PersonGroup | The id of the Person Group (Autonumber is enabled by default). |
| Description | The description of the person group. This is a long description owner. |
| Persongroupid | key autogenerated by the system |
PersonGroupMULTILANGCOPY, phantomList, phantomQueueALLROWS, 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 |
|---|
PersonGroup(MboSet ms)
Construct the PersonGroup object
|
| Modifier and Type | Method and Description |
|---|---|
void |
appValidate()
Validate the person group.
|
void |
canDelete()
Function called before delete() to check if a PersonGroup mbo
can be deleted.
|
void |
delete(long accessModifier)
Delete the persongroup record and delete associated persongroupteam
records
|
MboRemote |
duplicate()
This method creates a duplicate persongroup
|
void |
duplicateCheck()
Checks for the PersonGroupTeam members to see if there
are any duplicates.
|
PersonSetRemote |
getAvailablePersonforBroadcast(java.lang.String orgID,
java.lang.String siteID)
Obtain the available PersonGroupTeam for workflow assignment(w/broadcast) by checking
useforsite and usefororg values
site default equal to input site
org default equal to input org
It returns the mbo of the person group team records based on useforsite and usefororg values.
|
PersonRemote |
getCurrentFirstAvailablePerson(java.util.Date date,
java.lang.String orgID,
java.lang.String siteID)
Obtain the first available PersonGroupTeam for this work order by checking
the calendar of the Person Group members in this order
primary members by sequence number
alternates by the same primary member order and the alternate sequence number
if no valid member is found one is selected in this order:
site default equal to input site
org default equal to input org
group default
It returns the mbo of the person group team record.
|
PersonRemote |
getCurrentResponsiblePerson(java.util.Date date)
Get the responsible person in the persongroup.
|
PersonRemote |
getCurrentResponsiblePerson(java.util.Date date,
java.lang.String orgID,
java.lang.String siteID)
Get the responsible person in the persongroup.
|
PersonRemote |
getNextAvailablePerson(java.util.Date date,
java.lang.String skipPersonId)
Returns the next available Person in the person group in the sequence after the given Person.
|
PersonRemote |
getNextAvailablePerson(java.util.Date date,
java.lang.String orgID,
java.lang.String siteID,
java.lang.String skipPersonId)
Returns the next available Person in the person group in the sequence after the given Person.
|
PersonGroupTeamSetRemote |
getResponsibleParty()
Obtain the initial responsible party (primary members not alternates)
for this persongroup.
|
PersonSetRemote |
getResponsiblePeople()
Obtain all members (primary and alternate)
for this person group.
|
void |
validateLevels()
Checks for the PersonGroupTeam members to ensure that if any members
are at the group level that they are also not at another level.
|
MboRemote |
validGroupDefault()
Checks for the PersonGroupTeam members DefaultGroup 'Y'
only one PersonGroupTeam for a PersonGroup can have 'Y' for
GroupDefault.
|
add, 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, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getRowRestrictionFlag, getRowStamp, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, init, initFieldFlagsOnMbo, initRelationship, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeRelatedSet, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, 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, undelete, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, 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, 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, undelete, unlock, unselect, validate, validateAttributespublic PersonGroup(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
delete in interface MboRemotedelete in class Mboaccess - modifier used for the delete passed to super.deleteMXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void appValidate()
throws MXException,
java.rmi.RemoteException
appValidate in class MboMXApplicationExceptionMXExceptionjava.rmi.RemoteExceptionpublic void validateLevels()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMXApplicationException("persongroup","incompatibleusefororg")MXApplicationException("persongroup","incompatibleuseforsite")public MboRemote validGroupDefault() throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMXApplicationException("persongroup","MoreThanOneGroupDefault")public void duplicateCheck()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionMXApplicationException("persongroup","groupmemberAlreadyExists")public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionskipCopyField(psdi.mbo.MboValueInfo)public PersonGroupTeamSetRemote getResponsibleParty() throws MXException, java.rmi.RemoteException
getResponsibleParty in interface PersonGroupRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.persongroup.getCurrentFirstAvailablePerson().public PersonSetRemote getAvailablePersonforBroadcast(java.lang.String orgID, java.lang.String siteID) throws MXException, java.rmi.RemoteException
getAvailablePersonforBroadcast in interface PersonGroupRemoteMXExceptionjava.rmi.RemoteExceptiongetResponsibleParty()public PersonRemote getCurrentFirstAvailablePerson(java.util.Date date, java.lang.String orgID, java.lang.String siteID) throws MXException, java.rmi.RemoteException
Date - of interestMXExceptionjava.rmi.RemoteExceptiongetResponsibleParty()public PersonRemote getCurrentResponsiblePerson(java.util.Date date) throws MXException, java.rmi.RemoteException
getCurrentResponsiblePerson in interface PersonGroupRemoteDate - of interestMXExceptionjava.rmi.RemoteExceptiongetCurrentFirstAvailablePerson(Date date, String orgID, String siteID)public PersonRemote getCurrentResponsiblePerson(java.util.Date date, java.lang.String orgID, java.lang.String siteID) throws MXException, java.rmi.RemoteException
getCurrentResponsiblePerson in interface PersonGroupRemoteDate - of interestString - orgID - organization IDString - siteID - site IDMXExceptionjava.rmi.RemoteExceptionpublic PersonSetRemote getResponsiblePeople() throws MXException, java.rmi.RemoteException
getResponsiblePeople in interface PersonGroupRemoteMXExceptionjava.rmi.RemoteExceptionpublic PersonRemote getNextAvailablePerson(java.util.Date date, java.lang.String skipPersonId) throws MXException, java.rmi.RemoteException
getNextAvailablePerson in interface PersonGroupRemotedate - date for which avaialbility needs to be checked.skipPersonId - Person Id in the sequence from which to find the next available person
in the person group. If null is specified for this, returns the first available person
in the person group.MXExceptionjava.rmi.RemoteExceptionpublic PersonRemote getNextAvailablePerson(java.util.Date date, java.lang.String orgID, java.lang.String siteID, java.lang.String skipPersonId) throws MXException, java.rmi.RemoteException
getNextAvailablePerson in interface PersonGroupRemotedate - date for which avaialbility needs to be checked.orgID - organization idsiteID - site idskipPersonId - Person Id in the sequence from which to find the next available person
in the person group. If null is specified for this, returns the first available person
in the person group.MXExceptionjava.rmi.RemoteException