public class PersonGroupTeam extends Mbo implements PersonGroupTeamRemote
This is a System level object.
The key attributes for this object are PersonGroup, ResppartyGroup and Respparty
The attributes in this object are as follows:
Attribute Description
| Attribute | Description |
|---|---|
| psdi.app.persongroup.FldPersonGroup PersonGroup | Identifier of the Person Group |
| {@link psdi.app.persongroup.FldRespPartyGroup RespPartyGroup} | A Personid identifying a responsible party within a responsible party group. If this is a primary (non alternate) member (resppartygroup) then respparty equals resppartygroup |
| {@link psdi.app.persongroup.FldRespParty RespParty} | A Personid identifying a responsible party within a responsible party group. If this is an alternate for the primary member (resppartygroup) then respparty does not equal resppartygroup |
| {@link psdi.app.persongroup.FldAQSeq RespPartyGroupSeq} | Assignment sequence for primary members of a PersonGroupTeam... identifies which member gets assigned first. |
| {@link psdi.app.persongroup.FldAQSeq RespPartySeq} | Assignment sequence for a responsible party within a group. |
| {@link psdi.app.persongroup.FldUseForOrg UseForOrg} | Affects workflow searching for people (Not referenced for alternates) |
| {@link psdi.app.persongroup.FldUseForSite UseForSite} | Affects workflow searching for people (Not referenced for alternates) |
| {@link psdi.app.persongroup.FldGroupDefault GroupDefault} | true if this is the default for the group. There must be exactly one. |
| SiteDefault | true if this is the default for the site. Works with UseForSite. Zero or one person may have this true for a given non null UseForSite value. |
| OrgDefault | true if this is the default for the org. Works with UseForOrg. Zero or one person may have this true for a given non null UseForOrg value. |
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 |
|---|
PersonGroupTeam(MboSet ms)
Construct the PersonGroupTeam object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
Add a new persongroupteam
Initialise all the fields that are "required".
|
boolean |
alreadyExists()
Loop through the current set, if there are any other
records that would be a duplicate (resppartygroup, usefororg, useforsite
matches for primary members, or respparty and resppartgroup match for
alternate members) return true.
|
void |
canDelete()
Function called before delete() to check if a PersonGroupTeam is the default
only non default members are allowed to be deleted
|
void |
delete(long accessModifier)
Delete the PersonGroupTeam record and delete associated alternates
records.
|
MboSetRemote |
getAlternates()
Get the mbo set of the alternates for this personid.
|
void |
init()
init routine
For existing rows attributes
PARTYGROUPID,RESPPARTYGROUP,RESPPARTY are set readonly
For existing rows attributes (usefororg,useforsite) are readonly
if (orgdefault,sitedefault) are null
|
boolean |
isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID)
This immediately calls the other isAvailableByCalendar(), which now allows AvailCalc to be passed
as an argument from above, thereby saving much work for the garbage collector (since that way
there will be only one AvailCalc object involved, not a new one each time personRemote.getAvailableMbo
is called.
|
boolean |
isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID,
AvailCalc availCalc) |
boolean |
isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID,
AvailCalc availCalc,
boolean considerBreaks,
int mins)
Check the calendar of the labor code of this member of the responsible party,
determine the availability at the passed in date.
If siteID and orgID both passed in ignore orgID and process as if only siteID was pased in. |
void |
makeOtherNotDefault(java.lang.String booleanAttribute,
java.lang.String useforAttribute)
Loop through the current set, if there are any other
records for the same useforattribute value that are not
this record then set their booleanAttribute to false.
|
void |
makeOtherNotGroupDefault()
Used to force groupdefault checkbox to function like a radiobutton.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, 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, 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, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, 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 PersonGroupTeam(MboSet ms) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
| Attribute Name | Attribute Value |
|---|---|
| resppartyseq | 1 |
| ORGDEFAULT | false |
| SITEDEFAULT | false |
| GROUPDEFAULT | false |
add in interface MboRemoteadd in class MboMXExceptionjava.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 MboaccessModifier - 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.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public MboSetRemote getAlternates() throws MXException, java.rmi.RemoteException
getAlternates in interface PersonGroupTeamRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.persongroup.PersonGroup#getFirstAvailablePersonpublic boolean isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID)
throws MXException,
java.rmi.RemoteException
isAvailableByCalendar in interface PersonGroupTeamRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID,
AvailCalc availCalc)
throws MXException,
java.rmi.RemoteException
isAvailableByCalendar in interface PersonGroupTeamRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isAvailableByCalendar(java.util.Date dateVal,
java.lang.String orgID,
java.lang.String siteID,
AvailCalc availCalc,
boolean considerBreaks,
int mins)
throws MXException,
java.rmi.RemoteException
isAvailableByCalendar in interface PersonGroupTeamRemotejava.util.Date - dateVal is the date of interestString - orgID organization IDString - siteID siteIDMXExceptionjava.rmi.RemoteExceptionPersonGroup.getCurrentFirstAvailablePerson(java.util.Date, java.lang.String, java.lang.String),
Person.getAvailableHours(java.util.Date, java.lang.String)public void makeOtherNotGroupDefault()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.labor.LaborCraftRate#makeOtherNotPrimarypublic void makeOtherNotDefault(java.lang.String booleanAttribute,
java.lang.String useforAttribute)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpsdi.app.persongroup,
psdi.app.persongrouppublic boolean alreadyExists()
throws MXException,
java.rmi.RemoteException
alreadyExists in interface PersonGroupTeamRemoteMXExceptionjava.rmi.RemoteException