is.idega.idegaweb.golf.tournament.presentation
Class TournamentRegistration

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.idega.presentation.PresentationObject
              extended by com.idega.presentation.PresentationObjectContainer
                  extended by com.idega.presentation.Block
                      extended by is.idega.idegaweb.golf.presentation.GolfBlock
                          extended by is.idega.idegaweb.golf.tournament.presentation.TournamentBlock
                              extended by is.idega.idegaweb.golf.tournament.presentation.TournamentRegistration
All Implemented Interfaces:
com.idega.idegaweb.block.presentation.Builderaware, com.idega.presentation.PresentationObjectType, java.lang.Cloneable, javax.faces.component.StateHolder

public class TournamentRegistration
extends TournamentBlock

Author:
gimmi

Field Summary
 
Fields inherited from class is.idega.idegaweb.golf.tournament.presentation.TournamentBlock
PARAMETER_CLASS_NAME
 
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
TournamentRegistration()
           
 
Method Summary
 void checkMarkedMembers(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void correctHandicap(com.idega.presentation.IWContext modinfo, Member member, java.lang.String handicapString)
           
 void directRegistration(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void disableSave(com.idega.presentation.IWContext modinfo)
           
 void drawTableWithMembers(com.idega.presentation.IWContext modinfo, java.util.List theMembers, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void drawTableWithMembers(com.idega.presentation.IWContext modinfo, Member[] theMembers, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void drawTableWithMembers(com.idega.presentation.IWContext modinfo, Member[] theMembers, java.util.List guests, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void enableSave(com.idega.presentation.IWContext modinfo)
           
 void finalizeDirectRegistration(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrc)
           
 java.util.List findGuestsBySocialSecurityNumber(com.idega.presentation.IWContext modinfo, java.lang.String socialSecurityNumbers)
           
 java.util.List findGuestsBySocialSecurityNumber(com.idega.presentation.IWContext modinfo, java.util.Vector ssn)
           
 Member[] findMembersByName(com.idega.presentation.IWContext modinfo, java.lang.String socialSecurityNumbers)
           
 Member[] findMembersByName(com.idega.presentation.IWContext modinfo, java.util.Vector name)
           
 Member[] findMembersBySocialSecurityNumber(com.idega.presentation.IWContext modinfo, java.lang.String socialSecurityNumbers)
           
 Member[] findMembersBySocialSecurityNumber(com.idega.presentation.IWContext modinfo, java.util.Vector socialSecurityNumbers)
           
 int getAge(Member member)
           
 void getDirectRegistrationTable(com.idega.presentation.IWContext modinfo, boolean view, com.idega.idegaweb.IWResourceBundle iwrb)
           
 java.util.List getMembersInTournamentList(com.idega.presentation.IWContext iwc, Tournament tournament)
           
 java.util.List getMembersInUnion(com.idega.presentation.IWContext iwc, Union union)
           
 void getSearchByNameResults(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void getSearchBySocialSecurityNumberResults(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 Tournament getTournament(com.idega.presentation.IWContext modinfo)
           
 void getUnionMemberList(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 boolean isSaveEnabled(com.idega.presentation.IWContext modinfo)
           
 void main(com.idega.presentation.IWContext modinfo)
           
 void noAction(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void registerMarkedMembers(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void saveDirectRegistration(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void searchByName(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void searchBySocialSecurityNumber(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void selectMember(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
 void setTournament(com.idega.presentation.IWContext modinfo, Tournament tournament)
           
 void tournamentMemberList(com.idega.presentation.IWContext modinfo, com.idega.idegaweb.IWResourceBundle iwrb)
           
protected  boolean tournamentMustBeSet()
           
 void unregisterMember(Member member, Tournament theTournament)
           
 
Methods inherited from class is.idega.idegaweb.golf.tournament.presentation.TournamentBlock
_main, getTournamentID, setAdminView, setTournamentID
 
Methods inherited from class is.idega.idegaweb.golf.presentation.GolfBlock
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, 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
 

Constructor Detail

TournamentRegistration

public TournamentRegistration()
Method Detail

setTournament

public void setTournament(com.idega.presentation.IWContext modinfo,
                          Tournament tournament)

getTournament

public Tournament getTournament(com.idega.presentation.IWContext modinfo)

tournamentMustBeSet

protected boolean tournamentMustBeSet()
Specified by:
tournamentMustBeSet in class TournamentBlock

main

public void main(com.idega.presentation.IWContext modinfo)
          throws java.lang.Exception
Specified by:
main in class GolfBlock
Throws:
java.lang.Exception

noAction

public void noAction(com.idega.presentation.IWContext modinfo,
                     com.idega.idegaweb.IWResourceBundle iwrb)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

selectMember

public void selectMember(com.idega.presentation.IWContext modinfo,
                         com.idega.idegaweb.IWResourceBundle iwrb)
                  throws java.lang.NumberFormatException,
                         java.rmi.RemoteException,
                         java.sql.SQLException
Throws:
java.lang.NumberFormatException
java.rmi.RemoteException
java.sql.SQLException

directRegistration

public void directRegistration(com.idega.presentation.IWContext modinfo,
                               com.idega.idegaweb.IWResourceBundle iwrb)
                        throws java.sql.SQLException,
                               java.lang.NumberFormatException,
                               java.rmi.RemoteException
Throws:
java.sql.SQLException
java.lang.NumberFormatException
java.rmi.RemoteException

tournamentMemberList

public void tournamentMemberList(com.idega.presentation.IWContext modinfo,
                                 com.idega.idegaweb.IWResourceBundle iwrb)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getDirectRegistrationTable

public void getDirectRegistrationTable(com.idega.presentation.IWContext modinfo,
                                       boolean view,
                                       com.idega.idegaweb.IWResourceBundle iwrb)
                                throws java.rmi.RemoteException,
                                       java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

finalizeDirectRegistration

public void finalizeDirectRegistration(com.idega.presentation.IWContext modinfo,
                                       com.idega.idegaweb.IWResourceBundle iwrc)
                                throws java.lang.NumberFormatException,
                                       java.rmi.RemoteException,
                                       java.sql.SQLException
Throws:
java.lang.NumberFormatException
java.rmi.RemoteException
java.sql.SQLException

saveDirectRegistration

public void saveDirectRegistration(com.idega.presentation.IWContext modinfo,
                                   com.idega.idegaweb.IWResourceBundle iwrb)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getUnionMemberList

public void getUnionMemberList(com.idega.presentation.IWContext modinfo,
                               com.idega.idegaweb.IWResourceBundle iwrb)
                        throws java.sql.SQLException,
                               java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getMembersInUnion

public java.util.List getMembersInUnion(com.idega.presentation.IWContext iwc,
                                        Union union)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getMembersInTournamentList

public java.util.List getMembersInTournamentList(com.idega.presentation.IWContext iwc,
                                                 Tournament tournament)
                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

searchByName

public void searchByName(com.idega.presentation.IWContext modinfo,
                         com.idega.idegaweb.IWResourceBundle iwrb)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getSearchByNameResults

public void getSearchByNameResults(com.idega.presentation.IWContext modinfo,
                                   com.idega.idegaweb.IWResourceBundle iwrb)
                            throws java.sql.SQLException,
                                   java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getSearchBySocialSecurityNumberResults

public void getSearchBySocialSecurityNumberResults(com.idega.presentation.IWContext modinfo,
                                                   com.idega.idegaweb.IWResourceBundle iwrb)
                                            throws java.sql.SQLException,
                                                   java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

searchBySocialSecurityNumber

public void searchBySocialSecurityNumber(com.idega.presentation.IWContext modinfo,
                                         com.idega.idegaweb.IWResourceBundle iwrb)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

drawTableWithMembers

public void drawTableWithMembers(com.idega.presentation.IWContext modinfo,
                                 java.util.List theMembers,
                                 com.idega.idegaweb.IWResourceBundle iwrb)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

drawTableWithMembers

public void drawTableWithMembers(com.idega.presentation.IWContext modinfo,
                                 Member[] theMembers,
                                 com.idega.idegaweb.IWResourceBundle iwrb)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

drawTableWithMembers

public void drawTableWithMembers(com.idega.presentation.IWContext modinfo,
                                 Member[] theMembers,
                                 java.util.List guests,
                                 com.idega.idegaweb.IWResourceBundle iwrb)
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

registerMarkedMembers

public void registerMarkedMembers(com.idega.presentation.IWContext modinfo,
                                  com.idega.idegaweb.IWResourceBundle iwrb)
                           throws java.sql.SQLException,
                                  java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

correctHandicap

public void correctHandicap(com.idega.presentation.IWContext modinfo,
                            Member member,
                            java.lang.String handicapString)

checkMarkedMembers

public void checkMarkedMembers(com.idega.presentation.IWContext modinfo,
                               com.idega.idegaweb.IWResourceBundle iwrb)
                        throws java.sql.SQLException,
                               java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

unregisterMember

public void unregisterMember(Member member,
                             Tournament theTournament)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getAge

public int getAge(Member member)

findMembersBySocialSecurityNumber

public Member[] findMembersBySocialSecurityNumber(com.idega.presentation.IWContext modinfo,
                                                  java.lang.String socialSecurityNumbers)
                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

findGuestsBySocialSecurityNumber

public java.util.List findGuestsBySocialSecurityNumber(com.idega.presentation.IWContext modinfo,
                                                       java.lang.String socialSecurityNumbers)
                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

findGuestsBySocialSecurityNumber

public java.util.List findGuestsBySocialSecurityNumber(com.idega.presentation.IWContext modinfo,
                                                       java.util.Vector ssn)

findMembersByName

public Member[] findMembersByName(com.idega.presentation.IWContext modinfo,
                                  java.lang.String socialSecurityNumbers)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

findMembersByName

public Member[] findMembersByName(com.idega.presentation.IWContext modinfo,
                                  java.util.Vector name)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

findMembersBySocialSecurityNumber

public Member[] findMembersBySocialSecurityNumber(com.idega.presentation.IWContext modinfo,
                                                  java.util.Vector socialSecurityNumbers)
                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

enableSave

public void enableSave(com.idega.presentation.IWContext modinfo)

disableSave

public void disableSave(com.idega.presentation.IWContext modinfo)

isSaveEnabled

public boolean isSaveEnabled(com.idega.presentation.IWContext modinfo)


Copyright © 2000-2014 idega software. All Rights Reserved.