public class SDBTimeSheetPortal extends SDBTableLayout
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
SDBTimeSheetPortal
|
static java.lang.String |
DBCLASS_NAME
SDBTimeSheetPortal
|
USER_PREF_ICON_FILTERED
PAINTER_FIELD_PATH, PAINTER_PORTAL_PATH, RENDER_TYPE_HTML, USER_PREF_ICON
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
SDBTimeSheetPortal(DBClass def,
DataSource dataSource)
Std.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
extGetDerivedValue(DBField field,
FldParams params)
Calculate the derived value for this field.
|
HTMLTable |
getBaseTable()
Creates a HTMLTable to hold the portal header and detail rows
|
SDBComponent[] |
getComponents()
Returns a list of all components that have a parent of this component
|
int |
getDuplicateAtColumn(java.lang.String... args) |
HTMLTable |
getMainTable(SDBContext context)
Creates a HTMLTable with the first row set to the title of the portal
|
java.lang.String |
getPortalPath(java.lang.String... args) |
java.lang.String |
getPortalPathDesc(java.lang.String... args) |
boolean |
isParsOK(SDBContext context,
WebClient client)
Are the pars OK ? Which controls if the screen painter will offer this component as a choice in the pallet
Determines whether the portal can be created in the current context.
|
protected HTMLComponent |
makeHTMLComponent(SDBContext context)
Builds the HTML components necessary to display the portal
|
java.lang.String |
makeParsURL(WebClient client)
Specifies the URL that is added to the portal component tab item
|
SDBTimeSheetPortal |
setDuplicateAtColumn(int value,
java.lang.String... args) |
SDBTimeSheetPortal |
setPortalPath(java.lang.String value,
java.lang.String... args) |
addPdfCell, alignLabel, allowBuilderCompDrag, applyPrefFilters, bestFit, buildPrefFilters, buildPrefFilters, checkPrefSortOrder, extFixUp, fillInBuilderTable, findTableHAlign, findTableVAlign, getAddSubClassFilter, getBasePDFTable, getBaseTableV2, getBorderColor, getBorderSize, getBuilderBaseTable, getBuilderComponent, getCell, getCols, getContactGroup, getHeaderBorder, getHeaderCellPadding, getHeaderCellSpacing, getHeight, getPriRowStyleName, getRows, getScrollHeight, getScrollWidth, getSecRowStyleName, getTableHAlign, getTableVAlign, getUserPrefIconName, getUserPrefToolTip, getWidth, hasHeight, hasLoginViewAccess, hasWidth, isFixedHeadings, isHighlightOddRow, makePDFComponent, setAddSubClassFilter, setBorderColor, setBorderSize, setCellAttributes, setCellAttributes, setCols, setFixedHeadings, setHeaderBorder, setHeaderCellPadding, setHeaderCellSpacing, setHighlightOddRow, setPDFCellAttributes, setPriRowStyleName, setRows, setScrollHeight, setScrollWidth, setSecRowStyleName, setTableHAlign, setTableVAlign, updateCustomRowAttributes, updateCustomRowAttributes, updateCustomStyle
addBuilderCopyBtn, addBuilderDragBar, checkHidden, clearCache, eventDataLoaded, eventDependantAdded, eventDependantRemoved, eventFieldUpdated, getAllComponents, isComponentHidden, isComponentHiddenWhenPref, isComponentHiddenWhenViewControl, isComponentReadOnly, supportsAttributeLabels
allowBuilderCompDrop, assertParsURL, createDefaultPref, createMagicNumber, extCopy, extGetDerivedGlobalKey, extPreValidate, extValidateField, findBackgroundImage, findContainerId, findCurrentPref, findCurrentPrefs, findDefaultPref, findHAlign, findHasInitFocus, findKey, findLabelPlacement, findNoteControl, findPreference, findScreenId, findScreenShot, findUserPrefsComponentType, findUserPrefsListDisplayField, findUserPrefsScreen, findUserPrefsTargetClass, findVAlign, getBackgroundColor, getBackgroundImage, getBaseScreen, getBestSkin, getCalcNotes, getCellPadding, getCellSpacing, getCode, getCol, getColumnSpan, getComponentId, getComponentPrefClassName, getContainerId, getCssClass, getCurrentPrefs, getHAlign, getHasInitFocus, getHeight, getHTMLComponent, getID, getLabel, getLabelColour, getLabelPlacement, getLabelWidth, getManageFiltersHref, getModifyPrefAnchor, getNoteControl, getNotes, getParentUserPrefLabel, getPlugin, getReportV6FormaterFunction, getReportV6FormaterFunctionName, getRow, getRowSpan, getSaveFilterHref, getScreenId, getScreenShot, getSimpleTable, getTabIndex, getTableSection, getToolTip, getUserPrefsCalcFieldPath, getUserPrefsCalcLabel, getUserPrefsComponentType, getUserPrefsDefaultSymbol, getUserPrefsDisplaySeq, getUserPrefsFieldPath, getUserPrefsLabel, getUserPrefsListDisplayField, getUserPrefsListFilter, getUserPrefsListLength, getUserPrefsListSortOrder, getUserPrefsScreen, getUserPrefsScreenButtonDescription, getUserPrefsScreenButtonLabel, getUserPrefsTargetClass, getVAlign, getWidth, hasContainer, hasNamedPreferences, hasStyleControl, hasViewControl, isAllowUserPrefs, isEmailImage, isHidden, isLabelBold, isLabelIncludesTags, isNoWrap, isPrintMode, isScreenShotCurrent, isUserPrefsHideWand, isUserPrefsListIsSorted, isUserPrefsListUseInOperator, makeHelpHeading, makeHTMLHelp, makePreference, makeQuery, makeUserPrefsAnchor, makeUserPrefsScriptName, render, replaceLabel, setAllowUserPrefs, setBackgroundColor, setBackgroundImage, setCellPadding, setCellSpacing, setCode, setCol, setColumnSpan, setContainerId, setCssClass, setEmailImage, setHAlign, setHasInitFocus, setHasStyleControl, setHasViewControl, setHeight, setHidden, setID, setLabel, setLabelBold, setLabelColour, setLabelIncludesTags, setLabelPlacement, setLabelWidth, setNoteControl, setNotes, setNoWrap, setPlugin, setRow, setRowSpan, setScreenId, setScreenShot, setScreenShotCurrent, setTabIndex, setTableSection, setToolTip, setupHasInitFocus, setUserPrefsComponentType, setUserPrefsDefaultSymbol, setUserPrefsDisplaySeq, setUserPrefsFieldPath, setUserPrefsHideWand, setUserPrefsLabel, setUserPrefsListDisplayField, setUserPrefsListFilter, setUserPrefsListIsSorted, setUserPrefsListLength, setUserPrefsListSortOrder, setUserPrefsListUseInOperator, setUserPrefsScreen, setUserPrefsScreenButtonDescription, setUserPrefsScreenButtonLabel, setVAlign, setWidth, supportV6Report
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extDelete, extDeleteRecord, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateRecord, 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, makeSearchPlan, 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, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public SDBTimeSheetPortal(DBClass def, DataSource dataSource) throws java.lang.Exception
def
- The class of this objectdataSource
- The datasource for this objectjava.lang.Exception
- A serious problem occurred@CheckReturnValue public int getDuplicateAtColumn(java.lang.String... args)
@Nonnull public SDBTimeSheetPortal setDuplicateAtColumn(int value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getPortalPath(java.lang.String... args)
@Nonnull public SDBTimeSheetPortal setPortalPath(java.lang.String value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nonnull public java.lang.String getPortalPathDesc(java.lang.String... args)
public boolean isParsOK(SDBContext context, WebClient client)
isParsOK
in class SDBComponent
context
- the screen contextclient
- the web clientpublic HTMLTable getMainTable(SDBContext context) throws java.lang.Exception
context
- the contextjava.lang.Exception
- a serious problempublic HTMLTable getBaseTable() throws java.lang.Exception
getBaseTable
in class SDBTableLayout
java.lang.Exception
- a serious problem@CheckReturnValue @Nonnull public java.lang.String makeParsURL(@Nonnull WebClient client)
makeParsURL
in class SDBComponent
client
- the client to use@CheckReturnValue @Nonnull protected HTMLComponent makeHTMLComponent(@Nonnull SDBContext context) throws java.lang.Exception
makeHTMLComponent
in class SDBTableLayout
context
- the contextjava.lang.Exception
- a serious problempublic SDBComponent[] getComponents() throws java.lang.Exception
SDBContainer
getComponents
in class SDBContainer
java.lang.Exception
- a serious problem@CheckReturnValue protected java.lang.Object extGetDerivedValue(@Nonnull DBField field, @Nullable FldParams params) throws java.lang.Exception
extGetDerivedValue
in class SDBComponent
field
- The field to getparams
- The parameters for this field eg. language= or default=java.lang.Exception
- A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.