public class PathGroup extends PermissionedContact implements DBClassListener
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
PathGroup
|
static java.lang.String |
DBCLASS_NAME
PathGroup
|
DBEVERYONE_CONTACT, DBFIELD_MOBILE, DBUSERS_ADMIN, DBUSERS_CONTACT
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
PathGroup(DBClass theClass,
DataSource dataSource)
Creates new DBObject.
|
Modifier and Type | Method and Description |
---|---|
protected void |
clearCache(GlobalKey changedKey)
Automatically called for eventDataLoaded() with this GlobalKey and getCleanVersion() with null for the global key.
|
protected void |
clearTargetCache() |
void |
eventObjectCreated(GlobalKey createdKey,
VirtualDB layer)
The record was created.
|
void |
eventObjectDeleted(GlobalKey deletedKey,
VirtualDB layer)
The record was deleted.
|
void |
eventObjectModified(GlobalKey modifiedKey,
VirtualDB layer)
The record was modified.
|
protected void |
extCheckModifyAccess(DBField field)
Additional access checking for write access of this object.
|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
protected boolean |
extIsMemberOf(DBField field,
FldParams params,
Path pth,
DBObject base,
boolean isBusiness) |
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
Additional validation for a particular field.
|
java.lang.String |
getFieldPath(java.lang.String... args) |
protected java.lang.String |
getMembers(DBField field,
FldParams params) |
protected java.util.HashMap |
getPersonMap(GlobalKey loginObject,
Path pth) |
protected java.lang.Object |
isMemberOf(DBField field,
FldParams params) |
protected boolean |
isMemberOf(PermissionedContact pc) |
boolean |
isValid(FldParams params) |
PathGroup |
setFieldPath(java.lang.String value,
java.lang.String... args) |
getCode, getGroups, getMembers, hasEntitlement, isMemberOf, isMemberOfGroup, setCode
canReceiveAlert, decodeUnsubscribeId, displayName, encodeUnsubscribeId, eventFieldUpdated, extFixUp, extGetDerivedGlobalKey, extPostSaveRecord, extPreSaveRecord, extPreValidate, extValidateRecord, findContactPerson, findCountry, findDisplayMailCountry, findDisplayMailState, findKey, findLastModifiedBy, findMailCountry, findMailState, findState, getAddress, getContactId, getContactPerson, getCoordinate, getCountry, getCurrentEmail, getDisplayEmail, getDisplayMailAddress, getDisplayMailCountry, getDisplayMailPostCode, getDisplayMailState, getDisplayMailSuburbCity, getEmail, getFax, getFullTextSearchScore, getKeyWords, getLastModifiedBy, getLastModifiedTime, getMailAddress, getMailCountry, getMailPostCode, getMailState, getMailSuburbCity, getMapsHREF, getName, getNotes, getPhone, getPostcode, getPrimaryType, getProperties, getReferencesUUID, getSequence, getSocialFacebook, getSocialGithub, getSocialGooglePlus, getSocialInstagram, getSocialLinkedIn, getSocialPinterest, getSocialTwitter, getSocialYoutube, getState, getSuburbCity, getTFN, getTmpAttachmentKey, getUnsubscribeURL, getUUID, getWeakReferencesUUID, hasReadAccess, isAdmin, isChildNode, isContains, isDescendantNode, isDirectory, isInternal, isNoEmailCorrespondance, isNoEmailCorrespondanceDrv, isPrivate, isPublic, isReferenceable, isSameNode, isVersionable, lastModified, listNodes, makeQuery, makeSearchPlan, setAddress, setAdmin, setContactId, setContactPerson, setCoordinate, setCountry, setEmail, setFax, setKeyWords, setLastModifiedBy, setLastModifiedTime, setMailAddress, setMailCountry, setMailPostCode, setMailState, setMailSuburbCity, setName, setNoEmailCorrespondance, setNotes, setPhone, setPostcode, setPrimaryType, setPrivate, setProperties, setReferenceable, setReferencesUUID, setSequence, setSocialFacebook, setSocialGithub, setSocialGooglePlus, setSocialInstagram, setSocialLinkedIn, setSocialPinterest, setSocialTwitter, setSocialYoutube, setState, setSuburbCity, setTFN, setTmpAttachmentKey, setUUID, setVersionable, setWeakReferencesUUID, toString, vDisplayName, vName
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayValue, doSearch, dump, equals, eventDataLoaded, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPreDeleteRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public PathGroup(DBClass theClass, DataSource dataSource) throws java.lang.Exception
theClass
- The class of this objectdataSource
- Your current data sourcejava.lang.Exception
- Failed to initiate the database object.@CheckReturnValue @Nonnull public java.lang.String getFieldPath(java.lang.String... args)
@Nonnull public PathGroup setFieldPath(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField
in class DBObject
list
- The validation listfield
- The field to be validatedjava.lang.Exception
- A serious problem@OverridingMethodsMustInvokeSuper protected void extCheckModifyAccess(@Nonnull DBField field) throws DBAccessException
extCheckModifyAccess
in class DBObject
field
- The fieldDBAccessException
- No access to modify@OverridingMethodsMustInvokeSuper protected void clearCache(@Nullable GlobalKey changedKey)
DBObject
clearCache
in class DBObject
changedKey
- @CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class PermissionedContact
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemprotected java.lang.Object isMemberOf(DBField field, FldParams params) throws java.lang.Exception
field
- The fieldparams
- the field parametersjava.lang.Exception
- a serious problemprotected boolean isMemberOf(PermissionedContact pc) throws java.lang.Exception
pc
- java.lang.Exception
- a serious problemprotected boolean extIsMemberOf(DBField field, FldParams params, Path pth, DBObject base, boolean isBusiness) throws java.lang.Exception
field
- The fieldparams
- the field parameterspth
- base
- the base objectisBusiness
- java.lang.Exception
- a serious problemprotected java.util.HashMap getPersonMap(GlobalKey loginObject, Path pth) throws java.lang.Exception
loginObject
- pth
- java.lang.Exception
- a serious problempublic void eventObjectCreated(@Nonnull GlobalKey createdKey, @Nonnull VirtualDB layer)
DBClassListener
eventObjectCreated
in interface DBClassListener
createdKey
- layer
- the layerpublic void eventObjectDeleted(@Nonnull GlobalKey deletedKey, @Nonnull VirtualDB layer)
DBClassListener
eventObjectDeleted
in interface DBClassListener
deletedKey
- layer
- the layerpublic void eventObjectModified(@Nonnull GlobalKey modifiedKey, @Nonnull VirtualDB layer)
DBClassListener
eventObjectModified
in interface DBClassListener
modifiedKey
- layer
- the layerprotected void clearTargetCache()
protected java.lang.String getMembers(DBField field, FldParams params) throws java.lang.Exception
field
- The fieldparams
- the field parametersjava.lang.Exception
- a serious problempublic boolean isValid(FldParams params)
isValid
in class PermissionedContact
params
- the field parametersstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.