|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Component org.apache.wicket.MarkupContainer org.apache.wicket.Page org.apache.wicket.markup.html.WebPage org.zeroexchange.web.page.Layout org.zeroexchange.web.page.TabPage org.zeroexchange.web.page.contract.ContractDetails org.zeroexchange.web.page.contract.EditContract
@Secured(value="ROLE_USER") public class EditContract
Edit contract page.
Field Summary | |
---|---|
static String |
TABALIAS_INVITATIONS
|
static String |
TABALIAS_USER_CREDITS
|
static String |
TABALIAS_USER_RESOURCES
|
Fields inherited from class org.zeroexchange.web.page.contract.ContractDetails |
---|
MKEY_STATE_PREFIX, PARAM_CONTRACT_ID, statusSign, TABALIAS_ALL_CONTRACT_RESOURCES, TABALIAS_GANTT |
Fields inherited from class org.zeroexchange.web.page.TabPage |
---|
PKEY_TAB |
Fields inherited from class org.zeroexchange.web.page.Layout |
---|
CSS_REFERENCE |
Fields inherited from class org.apache.wicket.Component |
---|
ENABLE, FLAG_INITIALIZED, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER |
Fields inherited from interface org.zeroexchange.web.page.contract.CreateEditConstants |
---|
PAGEKEY |
Fields inherited from interface org.zeroexchange.web.page.CommonStringKeys |
---|
MKEY_BACK, MKEY_UOM_PREFIX |
Fields inherited from interface org.apache.wicket.IRedirectListener |
---|
INTERFACE |
Constructor Summary | |
---|---|
EditContract(org.apache.wicket.request.mapper.parameter.PageParameters parameters)
Page constructor. |
Method Summary | |
---|---|
protected Contract |
getContract()
Returns the contract |
protected org.apache.wicket.markup.html.form.Form<org.zeroexchange.web.page.contract.EditContract.ContractData> |
getContractForm()
Creates form with simple contract's properties. |
protected ContractStatus |
getCurrentContractStatus()
Returns the status of the displayed contract. |
String |
getKey()
Returns item's key; |
protected String |
getPageTitle()
Returns page title if any. |
protected List<RowAction<Resource>> |
getResourceRowActions()
Returns list of the actions available for the each resource row. |
protected List<ToolbarItem> |
getToolbarItems()
|
protected void |
initUI()
Initializes the UI. |
protected void |
onBeforeRender()
|
void |
onEvent(org.apache.wicket.event.IEvent<?> event)
|
Methods inherited from class org.zeroexchange.web.page.contract.ContractDetails |
---|
getContractId, renderHead |
Methods inherited from class org.zeroexchange.web.page.TabPage |
---|
addTab, getCurrentTabName, onInitialize |
Methods inherited from class org.zeroexchange.web.page.Layout |
---|
areBreadcrumbsVisible, forward, getAjaxIndicatorMarkupId, getPreviousPage, getVariation, goBack, reload, setBreadcrumbsVisible |
Methods inherited from class org.apache.wicket.markup.html.WebPage |
---|
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, setHeaders |
Methods inherited from class org.apache.wicket.Page |
---|
componentChanged, componentRendered, detachModels, dirty, endComponentRender, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, internalPrepareForRender, isBookmarkable, isErrorPage, isPageStateless, onDetach, onRedirect, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, startComponentRender, toString, wasCreatedBookmarkable, wasRendered |
Methods inherited from class org.apache.wicket.MarkupContainer |
---|
add, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, visitChildren, visitChildren, visitChildren, visitChildren |
Methods inherited from class org.apache.wicket.Component |
---|
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onConfigure, onModelChanged, onModelChanging, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent |
---|
detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath |
Methods inherited from interface org.apache.wicket.page.IManageablePage |
---|
detach |
Field Detail |
---|
public static final String TABALIAS_USER_RESOURCES
public static final String TABALIAS_USER_CREDITS
public static final String TABALIAS_INVITATIONS
Constructor Detail |
---|
public EditContract(org.apache.wicket.request.mapper.parameter.PageParameters parameters) throws BusinessLogicException
BusinessLogicException
Method Detail |
---|
protected void initUI()
initUI
in class ContractDetails
public void onEvent(org.apache.wicket.event.IEvent<?> event)
onEvent
in interface org.apache.wicket.event.IEventSink
onEvent
in class org.apache.wicket.Component
protected List<ToolbarItem> getToolbarItems()
protected org.apache.wicket.markup.html.form.Form<org.zeroexchange.web.page.contract.EditContract.ContractData> getContractForm()
protected void onBeforeRender()
onBeforeRender
in class Layout
protected List<RowAction<Resource>> getResourceRowActions()
getResourceRowActions
in class ContractDetails
protected ContractStatus getCurrentContractStatus()
getCurrentContractStatus
in class ContractDetails
protected Contract getContract()
getContract
in class ContractDetails
public String getKey()
getKey
in interface KeyAware
protected String getPageTitle()
Layout
getPageTitle
in class ContractDetails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |