|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.idega.presentation.PresentationObject
com.idega.presentation.PresentationObjectContainer
com.idega.presentation.Block
is.idega.idegaweb.golf.presentation.GolfBlock
is.idega.idegaweb.golf.startingtime.presentation.TeeTimeTable
public class TeeTimeTable
Title: TeeTimeSearch Description: Copyright: Copyright (c) 2004 Company: idega Software
Field Summary | |
---|---|
static int |
ACTION_HANDICAP_ROUND
|
static int |
ACTION_HANDICAP_ROUND_REMOVE
|
static int |
ACTION_UNREGISTER
|
static java.lang.String |
PARAMETER_ACTION
|
static java.lang.String |
PARAMETER_DATE
|
static java.lang.String |
PARAMETER_DAYTIME
|
static java.lang.String |
PARAMETER_FIELD
|
static java.lang.String |
PARAMETER_GROUP_NUMBER
|
static java.lang.String |
PARAMETER_MEMBER_MAIN_UNION
|
static java.lang.String |
PARAMETER_NUMBER_OF_GOLFERS
|
static java.lang.String |
PARAMETER_NUMBER_OF_HOLES
|
static java.lang.String |
PARAMETER_TEE_TIME
|
static java.lang.String |
PARAMETER_TIME_OF_DAY
|
static java.lang.String |
PARAMETER_UNION
|
static java.lang.String |
SESSION_CLUB
|
Fields inherited from class is.idega.idegaweb.golf.presentation.GolfBlock |
---|
PARAMETER_MEMBER, PARAMETER_MEMBER_LOGIN, PRM_PARENT_PREFIX |
Fields inherited from class com.idega.presentation.Block |
---|
IW_BLOCK_CACHE_KEY, usingNewAcessControlSystem |
Fields inherited from class com.idega.presentation.PresentationObjectContainer |
---|
_label, _locked, allObjects |
Fields inherited from class com.idega.presentation.PresentationObject |
---|
_listenerList, attributes, childrenList, CLICK, COMPOUNDID_CHILD_NUMBER_DELIMITER, COMPOUNDID_COMPONENT_DELIMITER, CORE_IW_BUNDLE_IDENTIFIER, eventLocationString, facetMap, hasBeenAdded, HEIGHT, HORIZONTAL_ALIGNMENT, initializedInMain, listenerList, NULL_CLONE_OBJECT, sessionEventStorageName, slash, TARGET_OBJ_INS, treeID, WIDTH |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Fields inherited from interface com.idega.idegaweb.block.presentation.Builderaware |
---|
IW_CORE_BUNDLE_IDENTIFIER |
Constructor Summary | |
---|---|
TeeTimeTable()
|
Method Summary | |
---|---|
boolean |
actionPerformed(com.idega.presentation.IWContext iwc)
|
protected com.idega.presentation.TableCell2 |
getCell(com.idega.presentation.TableRow row,
java.lang.String styleClass)
|
com.idega.presentation.Layer |
getNavigation(com.idega.presentation.IWContext iwc,
com.idega.presentation.ui.Form form,
com.idega.util.IWCalendar dateFunc,
java.util.Map<com.idega.util.IWTimestamp,GolfField> Today,
boolean admin,
boolean isInUnion)
|
TableInfo |
getTableInfo(GolfField start,
GolfField end,
int daytime)
|
com.idega.presentation.ui.Form |
getTeeTimes(com.idega.presentation.IWContext iwc,
com.idega.util.IWCalendar funcDate,
boolean hasAdminRole)
|
com.idega.core.builder.data.ICPage |
getTeeTimeSearchPage()
|
com.idega.core.builder.data.ICPage |
getTeeTimesPage()
|
com.idega.presentation.Table2 |
getTeeTimeTable(java.util.Map<com.idega.util.IWTimestamp,GolfField> configs,
java.util.Map<com.idega.util.IWTimestamp,GolfField> todayConfigs,
TableInfo myTableInfo,
java.util.Vector tournamentGroups,
com.idega.presentation.IWContext iwc)
|
java.lang.String |
getTournamentName(java.util.Vector rounds,
int groupNumber)
|
com.idega.presentation.ui.DropdownMenu |
insertDropdown(java.lang.String dropdownName,
int countFrom,
int countTo)
|
com.idega.presentation.ui.InterfaceObject |
insertDropdown(java.lang.String dropdownName,
com.idega.util.IWCalendar funcDate,
GolfField today,
com.idega.presentation.IWContext iwc,
boolean isInUnion)
|
com.idega.presentation.ui.DropdownMenu |
insertDropdown(java.lang.String dropdownName,
com.idega.presentation.IWContext iwc)
|
com.idega.presentation.ui.DropdownMenu |
insertDrowdown(java.lang.String dropdownName,
TableInfo myTableInfo,
com.idega.presentation.IWContext iwc,
java.util.Vector torunamentRounds)
|
boolean |
isMemberBlackListed(java.lang.String union)
|
boolean |
isMemberOfUnion(com.idega.presentation.IWContext iwc,
java.lang.String union)
|
boolean |
isTournamentGroup(java.util.Vector rounds,
int groupNumber)
|
boolean |
isUser(com.idega.presentation.IWContext iwc)
|
void |
main(com.idega.presentation.IWContext iwc)
|
void |
setTeeTimeSearchPage(com.idega.core.builder.data.ICPage p)
|
void |
setTeeTimesPage(com.idega.core.builder.data.ICPage p)
|
Methods inherited from class is.idega.idegaweb.golf.presentation.GolfBlock |
---|
_main, addHeading, freeConnection, getBundle, getBundleIdentifier, getConnection, getJQuery, getMember, getMember, getMember, getMember, getMemberHome, getMemberID, getParentReloadURL, getResourceBundle, getTournamentBusiness, getTournamentSession, getUnionID, getWeb2Business, getWeb2Business, hasParentToReloadURL, initParentReloadURL, isAdmin, isClubAdmin, isClubWorker, isDeveloper, isUser, localize, localize, maintainParentReloadURL, removeUnionIdSessionAttribute, setDefaultParentReloadURL |
Methods inherited from class com.idega.presentation.Block |
---|
autoCreateGlobalHoverStyles, beginCacheing, clone, clonePermissionChecked, decode, deleteBlock, encodeBegin, encodeEnd, endCacheing, getCacheableObject, getCacheKey, getCachePrefixString, getCacheState, getComponentType, getDerivedCacheKey, getLocalizedName, getLocalizedNameKey, getLocalizedNameValue, getModuleName, getPermissionKeys, getPermissionKeys, getPermissionKeys, getStyleLink, getStyleLink, getStyleName, getStyleNames, getStyleObject, getStyleText, getStyleText, getTargetObjectInstance, getWidth, hasEditPermission, hasPermission, invalidateCache, invalidateCache, invalidateCache, isAdministrator, isCacheable, isCacheValid, isContainer, isDeveloper, isMemberOf, isTarget, print, printPreCachedContent, registerPermissionKey, registerPermissionKeys, resetGoneThroughMainInRestore, restoreState, saveState, setAsObjectInstanceTarget, setCacheable, setCacheable, setCacheable, setDefaultWidth, setStyle, setTargetObjectInstance, setToDebugParameters, setWidth |
Methods inherited from class com.idega.presentation.PresentationObjectContainer |
---|
add, add, add, add, add, add, addAtBeginning, addBreak, addChild, addChild, addObject, addText, addText, addText, clearChildren, clone, cloneJSFChildren, cloneJSFFacets, encodeChildren, getChild, getChildren, getChildrenCount, getChildrenRecursive, getContainedLabeledObject, getContainedObject, getContainedObject, getIndex, getLabel, initVariables, insertAt, isEmpty, isLocked, lock, numberOfObjects, objectAt, remove, remove, removeAll, removeChild, resetAllContainedObjectsRecursive, set, setChildren, setLabel, setLocation, unlock |
Methods inherited from class com.idega.presentation.PresentationObject |
---|
_print, addActionListener, addIWActionListener, addIWLinkListener, addIWSubmitListener, addMarkupAttributes, allowPagePermissionInheritance, callMain, callPrint, castToIWContext, changeInstanceIdForInheritedObject, changeState, cleanVariables, cloneJSFFacets, clonePermissionChecked, debug, debugEventListanerList, debugParameters, dispatchEvent, doPrint, empty, encodeSpecialRequestString, endEvent, equals, equals, fireEvent, flush, generateID, getAssociatedScript, getAttribute, getAttributeMap, getAttributes, getAttributesString, getBelongsToParent, getBuilderName, getBuilderService, getBundle, getChangeInstanceIDOnInheritance, getChildCount, getClassName, getComponentId, getCompoundId, getDebugLogLevel, getDefaultLogLevel, getDefaultState, getErrorLogLevel, getErrorMessage, getEventAttribute, getEventIWContext, getEventListener, getEventListenerList, getEventListenerList, getExpressionValue, getFacet, getFacets, getFacetsAndChildren, getFamily, getHeight, getHorizontalAlignment, getICFileSystem, getICInstance, getICObject, getICObject, getICObjectID, getICObjectID, getICObjectInstance, getICObjectInstance, getICObjectInstanceID, getICObjectInstanceID, getId, getID, getIWApplicationContext, getIWLinkListeners, getIWSubmitListeners, getIWUserContext, getLanguage, getLocalizedString, getLocalizedString, getLocation, getLogger, getMarkupAttribute, getMarkupAttributes, getMarkupAttributesString, getMarkupLanguage, getName, getParent, getParentForm, getParentObject, getParentObjectInstance, getParentObjectInstanceID, getParentPage, getParentPageID, getPrintWriter, getRendersChildren, getRequest, getResourceBundle, getResponse, getRootParent, getSetApplicationMarkupLanguage, getState, getStateInstance, getStyleAttribute, getStyleClass, getTemplateId, getTemplateObject, getTitle, getToolTip, getUseBuilderObjectControl, getUserProperties, getValueBindingByAttributeExp, getXmlId, goneThroughRenderPhase, initializeInMain, initInMain, isHeightSet, isMarkupAttributeSet, isRendered, isRestoredFromState, isWidthSet, isXhtmlSet, listenerAdded, listenerAdded, log, log, log, logConfig, logDebug, logError, logSevere, logWarning, mayGoThroughMain, prepareClone, print, println, processDecodes, processEvent, processIWLinkEvent, processIWSubmitEvent, processRestoreState, processSaveState, processUpdates, processValidators, removeActionListener, removeIWActionListener, removeMarkupAttribute, removeStyleAttribute, renderChild, renderComponent, resetBeforeMain, resetGoneThroughMain, restoreFromReflectionProperties, setArtificialCompoundId, setAsPrinted, setAssociatedScript, setBelongsToParent, setBuilderIds, setChangeInstanceIDOnInheritance, setDefaultState, setDoPrint, setErrorMessage, setEventAttribute, setGoneThroughMain, setHeight, setHeightStyle, setHorizontalAlignment, setICObject, setICObjectID, setICObjectInstance, setICObjectInstanceID, setID, setID, setId, setID, setLocation, setMarkupAttribute, setMarkupAttribute, setMarkupAttribute, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributes, setMarkupAttributeWithoutValue, setName, setParent, setParentObject, setProperty, setRenderedPhaseDone, setRenderedPhaseNotDone, setResetGoneThroughMainInRestore, setStyleAttribute, setStyleAttribute, setStyleClass, setSupportsMultipleMainCalls, setTemplateId, setTemplateId, setTitle, setToolTip, setToRenderForLoggedIn, setToRenderForLoggedOut, setUseBuilderObjectControl, setVisible, setWidthStyle, supportsMultipleMainCalls, xhtmlEncode |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, findComponent, getClientId, getFacesContext, getFacesListeners, getFacetCount, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isTransient, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAMETER_MEMBER_MAIN_UNION
public static final java.lang.String PARAMETER_DATE
public static final java.lang.String PARAMETER_UNION
public static final java.lang.String PARAMETER_TIME_OF_DAY
public static final java.lang.String PARAMETER_GROUP_NUMBER
public static final java.lang.String PARAMETER_DAYTIME
public static final java.lang.String PARAMETER_NUMBER_OF_GOLFERS
public static final java.lang.String PARAMETER_FIELD
public static final java.lang.String PARAMETER_TEE_TIME
public static final java.lang.String PARAMETER_NUMBER_OF_HOLES
public static final java.lang.String PARAMETER_ACTION
public static final int ACTION_UNREGISTER
public static final int ACTION_HANDICAP_ROUND
public static final int ACTION_HANDICAP_ROUND_REMOVE
public static final java.lang.String SESSION_CLUB
Constructor Detail |
---|
public TeeTimeTable()
Method Detail |
---|
public void main(com.idega.presentation.IWContext iwc) throws java.lang.Exception
main
in class GolfBlock
java.lang.Exception
public boolean isUser(com.idega.presentation.IWContext iwc)
isUser
in class GolfBlock
public com.idega.presentation.ui.Form getTeeTimes(com.idega.presentation.IWContext iwc, com.idega.util.IWCalendar funcDate, boolean hasAdminRole) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public boolean isMemberOfUnion(com.idega.presentation.IWContext iwc, java.lang.String union)
public boolean isMemberBlackListed(java.lang.String union)
protected com.idega.presentation.TableCell2 getCell(com.idega.presentation.TableRow row, java.lang.String styleClass)
row
- to serach for cell in, not null
;styleClass
- is name of one of the style classes assigned to
cell, not null
;
null
on failure;public com.idega.presentation.Table2 getTeeTimeTable(java.util.Map<com.idega.util.IWTimestamp,GolfField> configs, java.util.Map<com.idega.util.IWTimestamp,GolfField> todayConfigs, TableInfo myTableInfo, java.util.Vector tournamentGroups, com.idega.presentation.IWContext iwc) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public boolean isTournamentGroup(java.util.Vector rounds, int groupNumber)
public java.lang.String getTournamentName(java.util.Vector rounds, int groupNumber)
public TableInfo getTableInfo(GolfField start, GolfField end, int daytime)
public com.idega.presentation.ui.DropdownMenu insertDropdown(java.lang.String dropdownName, com.idega.presentation.IWContext iwc) throws java.io.IOException
java.io.IOException
public com.idega.presentation.ui.DropdownMenu insertDropdown(java.lang.String dropdownName, int countFrom, int countTo)
public com.idega.presentation.ui.InterfaceObject insertDropdown(java.lang.String dropdownName, com.idega.util.IWCalendar funcDate, GolfField today, com.idega.presentation.IWContext iwc, boolean isInUnion)
public com.idega.presentation.ui.DropdownMenu insertDrowdown(java.lang.String dropdownName, TableInfo myTableInfo, com.idega.presentation.IWContext iwc, java.util.Vector torunamentRounds) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public com.idega.presentation.Layer getNavigation(com.idega.presentation.IWContext iwc, com.idega.presentation.ui.Form form, com.idega.util.IWCalendar dateFunc, java.util.Map<com.idega.util.IWTimestamp,GolfField> Today, boolean admin, boolean isInUnion) throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public com.idega.core.builder.data.ICPage getTeeTimeSearchPage()
public void setTeeTimeSearchPage(com.idega.core.builder.data.ICPage p)
public com.idega.core.builder.data.ICPage getTeeTimesPage()
public void setTeeTimesPage(com.idega.core.builder.data.ICPage p)
public boolean actionPerformed(com.idega.presentation.IWContext iwc) throws com.idega.idegaweb.IWException
actionPerformed
in interface com.idega.event.IWPageEventListener
com.idega.idegaweb.IWException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |