public class CreatePublicationPreviewWizard extends GeneratedCreatePublicationPreviewWizard
LocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionPDFPRESET, PREVIEWSIZEBACK_BUTTON, BACK_BUTTON_NAME, CANCEL_BUTTON, CANCEL_BUTTON_NAME, CLOSE_BUTTON_NAME, DONE_BUTTON_NAME, NEXT_BUTTON, NEXT_BUTTON_NAME, START_BUTTON, START_BUTTON_NAMELANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
CreatePublicationPreviewWizard() |
| Modifier and Type | Method and Description |
|---|---|
EnumerationValue |
getPdfPreset(SessionContext ctx)
Generated method - Getter of the
CreatePublicationPreviewWizard.pdfPreset attribute. |
Integer |
getPreviewSize(SessionContext ctx)
Generated method - Getter of the
CreatePublicationPreviewWizard.previewSize attribute. |
Publication |
getPublication() |
void |
initialize(WizardEditorContext ctx)
Called to initialize the wizard immediately after the item editor creates the WizardEditorContext.
|
void |
setPdfPreset(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
CreatePublicationPreviewWizard.pdfPreset attribute. |
void |
setPreviewSize(SessionContext ctx,
Integer value)
Generated method - Setter of the
CreatePublicationPreviewWizard.previewSize attribute. |
void |
setPublication(Publication publication) |
void |
start(WizardEditorContext ctx)
Called if the user requests the wizard to start its actions.
|
void |
validate(WizardEditorContext ctx,
String fromTab,
String toTab)
Called before
tab is changed
start event delivered
or if validation was explicitely requested.
|
getPdfPreset, getPreviewSize, getPreviewSizeAsPrimitive, getPreviewSizeAsPrimitive, setPdfPreset, setPreviewSize, setPreviewSize, setPreviewSizeabortProcessing, appendLocalizedTemplateString, close, createItem, doGetAttribute, doSetAttribute, endProcessing, getLocalizedTemplateString, isCloseAllowed, pollStatus, provideComposedType, provideCreationTime, provideModificationTime, providePK, removeJaloOnly, setClosedAllowed, startProcessing, tabChanges, validategetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getDefaultAttributeModes, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getNonInitialAttributes, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic void initialize(WizardEditorContext ctx)
WizardBusinessIteminitialize in class WizardBusinessItemctx - the wizard editor contextpublic void start(WizardEditorContext ctx) throws VetoException
WizardBusinessItemstart in class WizardBusinessItemctx - the wizard editor contextVetoException - to signal that the wizard cannot be started right nowpublic void validate(WizardEditorContext ctx, String fromTab, String toTab) throws ValidationException
WizardBusinessItem
To check current input values use ItemEditorContext.getCurrentValue(String).
To signal an error a ValidationException must be raised. The actual event (tab change or start of this
wizard) is not executed in this case but a error popup is shown.
Additionally erroneous fields may be marked via ItemEditorContext.showError(String, String).
Make sure that always super.validate is called !
validate in class WizardBusinessItemctx - the wizard editor contextfromTab - the tab which is being lefttoTab - the new target tabValidationExceptionpublic Publication getPublication()
public void setPublication(Publication publication)
publication - the publication to setpublic EnumerationValue getPdfPreset(SessionContext ctx)
GeneratedCreatePublicationPreviewWizardCreatePublicationPreviewWizard.pdfPreset attribute.getPdfPreset in class GeneratedCreatePublicationPreviewWizardpublic Integer getPreviewSize(SessionContext ctx)
GeneratedCreatePublicationPreviewWizardCreatePublicationPreviewWizard.previewSize attribute.getPreviewSize in class GeneratedCreatePublicationPreviewWizardpublic void setPdfPreset(SessionContext ctx, EnumerationValue value)
GeneratedCreatePublicationPreviewWizardCreatePublicationPreviewWizard.pdfPreset attribute.setPdfPreset in class GeneratedCreatePublicationPreviewWizardvalue - the pdfPresetpublic void setPreviewSize(SessionContext ctx, Integer value)
GeneratedCreatePublicationPreviewWizardCreatePublicationPreviewWizard.previewSize attribute.setPreviewSize in class GeneratedCreatePublicationPreviewWizardvalue - the previewSizeCopyright © 2017 SAP SE. All Rights Reserved.