Uses of Class
com.saperion.ngc.exception.NgcUiException
-
Packages that use NgcUiException Package Description com.saperion.ngc.authorization Package for authorization component classes.com.saperion.ngc.dialogs Package for client dialog classes.com.saperion.ngc.iform Package for main iForm components.com.saperion.ngc.iform.button Package for iForm buttons.com.saperion.ngc.iform.image Package for iForm image elements.com.saperion.ngc.iform.mashup Package for iForm mashup elements.com.saperion.ngc.iform.tab Package for iForm tab components.com.saperion.ngc.iform.validator Package for field validators.com.saperion.ngc.navigation Package for navigation component classes.com.saperion.ngc.resultset Package for resultset component classes.com.saperion.ngc.resultset.contextmenu Package for resultset context menu classes.com.saperion.ngc.resultset.modes Package for resultset rendering modes.com.saperion.ngc.resultset.multiselect Package for multiselection tool.com.saperion.ngc.toolbar Package for user toolbar component classes.com.saperion.ngc.util Package for client utility classes.com.saperion.ngc.viewer Package for viewer component classes. -
-
Uses of NgcUiException in com.saperion.ngc.authorization
Methods in com.saperion.ngc.authorization that throw NgcUiException Modifier and Type Method Description protected voidAuthorizationPresenter. checkModelConnection()Checks model connection.protected voidAuthorizationPresenter. logoff()Logoff.protected voidAuthorizationPresenter. logon(java.lang.String username, java.lang.String password, int selectedItem, java.lang.String mandant)protected voidAuthorizationPresenter. startup()Startup. -
Uses of NgcUiException in com.saperion.ngc.dialogs
Methods in com.saperion.ngc.dialogs that throw NgcUiException Modifier and Type Method Description static RevisionHistoryDialog.RevisionListModelRevisionHistoryDialog.RevisionListModel. create(ResultSetPresenter resultPresenter, ResultSetViewImpl view, DocumentId docId, java.lang.String maskName)Factory method.voidRevisionListRenderer. downloadRevision(RevisionHistoryDialog.RevisionBean bean)static voidAclSelectDialog. show(java.util.List<java.lang.String> selectableAcls, java.util.List<java.lang.String> setAcls, BaseWindow parent, org.zkoss.zk.ui.event.EventListener eventListener)Shows the AclSelectDialog.static voidCommentDialog. show(ResultSetPresenter resultPresenter, com.saperion.intf.wf.TaskInfo task)Shows the comment dialog.static voidExportSettingsDialog. show(java.util.Set<java.lang.String> allColumns, java.util.Collection<ResultSetColumn> visibleColumns, BaseWindow parent, org.zkoss.zk.ui.event.EventListener eventListener)Shows the ColumnSelectDialog.static voidRevisionHistoryDialog. show(ResultSetPresenter resultPresenter, ResultSetViewImpl view, DocumentId docId, java.lang.String maskName)Shows the revision history. -
Uses of NgcUiException in com.saperion.ngc.iform
Methods in com.saperion.ngc.iform that throw NgcUiException Modifier and Type Method Description DocumentIdIntelligentFormPresenter. addDocument(java.util.List<FieldResultBean> properties, java.lang.String comment, FolderUploadInfos infos, java.lang.String ddcName)Adds a new document to the archive.booleanIntelligentFormPresenter. canEditIndex(ResultProperties props)Checks if the index of the specified document can be edited.voidElementCreator. createBitmaps(java.util.List<com.saperion.ngc.iform.xml.BitmapType> bitmaps, org.zkoss.zk.ui.Component parent)Creates bitmaps.java.util.Map<java.lang.Long,FormButton>ElementCreator. createButtons(java.util.List<com.saperion.ngc.iform.xml.ButtonType> buttons, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component eventParent)Creates buttons.java.util.Map<java.lang.Long,IntelligentFormView>ElementCreator. createIncludes(java.util.List<com.saperion.ngc.iform.xml.IncludeType> includes, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component eventTarget, boolean autoQuery)Creates included elements.java.util.Map<java.lang.Long,FormMashup>ElementCreator. createMashup(java.util.List<com.saperion.ngc.iform.xml.MashupType> mashups, org.zkoss.zk.ui.Component parent)Creates Mashups.voidIntelligentFormPresenter. createSystemView(java.util.List<com.saperion.intf.SaFieldDescription> list, SysForm.FormType type, java.lang.String ddcName)Deprecated.useIntelligentFormView.createView(Form)with system form implementation from package com.saperion.ngc.iform.system instead.java.util.Map<java.lang.Long,FormTabbox>ElementCreator. createTabs(java.util.List<com.saperion.ngc.iform.xml.TabListType> tabs, boolean stretch, org.zkoss.zk.ui.Component parent, boolean isQueryForm, java.lang.String formName, java.lang.String ddcName)Creates tabs.java.util.Map<java.lang.Long,FormEditableImage>ElementCreator. createThumbnail(java.util.List<com.saperion.ngc.iform.xml.ThumbnailType> thumbnails, org.zkoss.zk.ui.Component parent)Creates thumbnail components.voidIntelligentFormView. createView(com.saperion.ngc.iform.xml.Form form)Creates the view.voidIntelligentFormViewImpl. createView(com.saperion.ngc.iform.xml.Form formType)Creates the view.voidIntelligentFormPresenter. deleteStoredConfiguration()Deletes the stored area sizes and result list layouts for this mask.java.util.Set<java.lang.String>IntelligentFormPresenter. getAclsForUpdating()Returns a comma-separated acl-string that can be used for updating a document.DocumentArchiveMetaInfoIntelligentFormPresenter. getArchiveMetaInfo(DocumentId id, boolean currentRevision)Retrieves the meta information of the document from the archive.com.saperion.intf.DDCIntelligentFormPresenter. getDdc(java.lang.String ddcName)Returns the DDC with the specified name.voidIntelligentFormPresenter. getDefinition(java.lang.String ddcName, SysForm.FormType type)Deprecated.useIntelligentFormView.createView(Form)with system form implementation from package com.saperion.ngc.iform.system instead.ResultPropertiesIntelligentFormPresenter. getDocProperties(DocumentId id)Reads the properties for the given document.java.util.List<com.saperion.intf.SaFieldDescription>IntelligentFormPresenter. getFieldDefinitions(java.lang.String ddcName)Returns the field descriptions for the specified DDC.FolderInfoIntelligentFormPresenter. getFolderInfos(FolderId folderId)Retrieves information about the specified folder.intIntelligentFormPresenter. getInboxId()com.saperion.ngc.iform.xml.FormIntelligentFormPresenter. getMaskDefinition(java.lang.String maskName)intIntelligentFormPresenter. getNextCounterValue(java.lang.String ddcName, java.lang.String fieldName, java.lang.String dbFieldName)Deprecated.Counter fields cannot be set by API any more.java.lang.StringIntelligentFormPresenter. getSetting(java.lang.String section, java.lang.String key)java.util.Map<java.lang.Integer,AreaSize>IntelligentFormPresenter. loadSizesFromConfig()Loads the sizes of the forms layout-areas from the configuration.static voidValidationErrorMessageCreator. showValidationErrorMessage(IntelligentField field, FieldValidationException.ValidationError validationError, EventChildHandler eventHandler)voidIntelligentFormPresenter. storeMaskDefinition(java.lang.String maskName, com.saperion.ngc.iform.xml.Form form)Deprecated.this method does nothing and will be removed in 8.1voidIntelligentFormPresenter. storeSizesInConfig(java.util.Map<java.lang.Integer,AreaSize> sizes)Stored the layout of the mask in the configuration.static voidElementUtil. updateFromQBE(FormButton field, com.saperion.ngc.iform.xml.ButtonType definition, com.saperion.ngc.iform.xml.PosType panePos)Setup button element.static voidElementUtil. updateFromQBE(FormEditableImage field, com.saperion.ngc.iform.xml.ThumbnailType definition, com.saperion.ngc.iform.xml.PosType panePos)Setup label element.static voidElementUtil. updateFromQBE(FormMashup field, com.saperion.ngc.iform.xml.MashupType definition)Setup mashup element.static voidElementUtil. updateFromQBE(org.zkoss.zul.Image field, com.saperion.ngc.iform.xml.BitmapType definition, com.saperion.ngc.iform.xml.PosType panePos)Setup label element.Constructors in com.saperion.ngc.iform that throw NgcUiException Constructor Description IntelligentFormMiniPopup(com.saperion.ngc.iform.xml.Form form)Constructor. -
Uses of NgcUiException in com.saperion.ngc.iform.button
Methods in com.saperion.ngc.iform.button that throw NgcUiException Modifier and Type Method Description voidFormButton. setKind(com.saperion.ngc.iform.xml.ButtonKindType value)voidFormButton. setSaveAction(com.saperion.ngc.iform.xml.SaveActionType value)voidFormButton. setUseFields(boolean value)voidFormButton. setUtf8(boolean value)voidFormButton. setWorkflowAction(com.saperion.ngc.iform.xml.WorkflowActionType value)Constructors in com.saperion.ngc.iform.button that throw NgcUiException Constructor Description FormButton()Constructor.FormButton(com.saperion.ngc.iform.xml.ButtonType buttonType, com.saperion.ngc.iform.xml.PosType panePos, boolean isNoLocatization)Constructor.FormButton(java.lang.String label)Constructor.FormButton(java.lang.String label, java.lang.String image)Constructor. -
Uses of NgcUiException in com.saperion.ngc.iform.image
Constructors in com.saperion.ngc.iform.image that throw NgcUiException Constructor Description FormEditableImage(com.saperion.ngc.iform.xml.ThumbnailType node, com.saperion.ngc.iform.xml.PosType panePos)Constructor.FormImage()FormImage(com.saperion.ngc.iform.xml.BitmapType node, com.saperion.ngc.iform.xml.PosType panePos) -
Uses of NgcUiException in com.saperion.ngc.iform.mashup
Constructors in com.saperion.ngc.iform.mashup that throw NgcUiException Constructor Description FormMashup()FormMashup(com.saperion.ngc.iform.xml.MashupType type) -
Uses of NgcUiException in com.saperion.ngc.iform.tab
Constructors in com.saperion.ngc.iform.tab that throw NgcUiException Constructor Description FormTabbox(com.saperion.ngc.iform.xml.TabListType definition, boolean stretch, IntelligentFormView iForm, boolean isQueryForm, java.lang.String maskName, com.saperion.ngc.iform.xml.PosType panePos, java.lang.String ddc, boolean isNoLocalization)Constructor. -
Uses of NgcUiException in com.saperion.ngc.iform.validator
Methods in com.saperion.ngc.iform.validator that throw NgcUiException Modifier and Type Method Description static voidFieldValidator. validate(IntelligentField field)Validates the field. -
Uses of NgcUiException in com.saperion.ngc.navigation
Methods in com.saperion.ngc.navigation that throw NgcUiException Modifier and Type Method Description FastAccessItemFastAccessList. addFastAccess(java.lang.String ddc, java.lang.String path, java.lang.String name, boolean temporary)Creates a new fast access entry.protected voidNaviTreeNode. copyFolder(NaviTreeNode folderToCopy, NaviTreeNode target)Copies a folder.NavigationNodeNavigationPresenter. copyNode(FolderId folderId, NavigationNode parentNode, FolderId beforeChildId, boolean withDocuments)Copies a node.NavigationNodeNavigationPresenter. createLinkNode(NavigationNode parentNode, java.lang.String name, FolderId destination)NavigationNodeNavigationPresenter. createNode(NavigationNode parentNode, java.lang.String name, com.saperion.constants.SaFolderConstants.FOLDER_TYPE nodeType, java.util.Properties properties)NavigationNodeNavigationPresenter. createWebpartNode(NavigationNode parentNode, java.lang.String name, java.lang.String destination)voidNavigationPresenter. deleteNode(NavigationNode node)voidNavigationPresenter. deleteNodeById(FolderId id)Deletes the specified folder.java.util.Set<FolderClass>NavigationPresenter. filterNonCompatibleClassesForCreate(com.saperion.constants.SaFolderConstants.CLASS_TYPE type, java.util.Set<FolderClass> folderClassesForDDC)Returns a set of folder classes that can be used in the web client to create a new file or register.com.saperion.wf.BoxCountNavigationPresenter. getBoxCount(int boxId, WorkflowNodeInfo.Filter boxFilter)Returns the count of workflow items of the given box.java.util.Map<java.lang.Integer,com.saperion.wf.BoxCount>NavigationPresenter. getBoxCounts(java.util.Set<java.lang.Integer> boxIds)Returns the count of workflow items of the given box.FolderNodeNavigationPresenter. getFolderById(FolderId id)Returns the folder with the specified id.FolderNodeNavigationPresenter. getFolderByPath(java.lang.String ddc, java.lang.String path)Returns the folder with the specified path.FolderClassNavigationPresenter. getFolderClass(java.lang.String className)Returns the folder class for the specified name or null if no such class was found.java.util.Set<FolderClass>NavigationPresenter. getFolderClassesForDDC(java.lang.String ddcName, com.saperion.constants.SaFolderConstants.CLASS_TYPE classType)Returns all folder classes of a certain type that can be used for the specified DDC.com.saperion.ngc.iform.xml.FormNavigationPresenter. getFolderEditForm(java.lang.String formName)Returns the mask definition needed to open the edit mask for the folder.FolderInfoNavigationPresenter. getFolderInfo(FolderId id)Returns infos about the specified folder.com.saperion.ngc.iform.xml.FormNavigationPresenter. getForm(java.lang.String name)Returns the mask definition for the specified mask name.protected booleanALFNaviTreeNode. getNextLevelFolders()Initiates lazy loading of next level folders.protected booleanNaviTreeNode. getNextLevelFolders()Initiates lazy loading of next level folders.java.lang.StringNavigationPresenter. getPathById(FolderId id)Returns the absolute path of the node with the specified id.com.saperion.wf.BoxCountNavigationPresenter. getTaskCounts()booleanNavigationPresenter. isLookupTable(java.lang.String ddcName)voidFastAccessList. loadSavedItems()Loads the default or the stored fast access items.voidNavigationPresenter. lockFolder(FolderId id)Locks the specified folder.protected voidNaviTreeNode. moveFolder(NaviTreeNode sourceNode)Moves a folder to another.protected voidNaviTreeNode. refreshCurrentNode()Refreshes the current node only.protected voidNaviTreeNode. refreshCurrentNode(boolean includeChildren)Refreshes the current node.protected voidRootNaviTreeNode. refreshCurrentNode(boolean includeChildren)protected voidWorkflowFormNaviTreeNode. refreshCurrentNode(boolean includeChildren)protected voidWorkflowRootNaviTreeNode. refreshCurrentNode(boolean includeChildren)protected voidNaviTreeNode. refreshParent()Refreshes the parent view of the current node.voidFastAccessList. removeFastAccessAndWrite(FastAccessItem item)Removes a fast access entry and saves the reduced fast access list.NavigationNodeNavigationPresenter. renameNode(NavigationNode node, java.lang.String name)protected voidNaviTreeNode. renderChildNodes(java.util.List<NavigationNode> nodes)voidNavigationPresenter. unlockFolder(FolderId id)Unlocks the specified folder.voidNavigationPresenter. updateFolder(FolderId id, java.util.Properties nameValuePairs, java.util.List<com.saperion.bean.ContentStream> thumbnails, int selectedImage)Updates a folder's properties. -
Uses of NgcUiException in com.saperion.ngc.resultset
Methods in com.saperion.ngc.resultset that throw NgcUiException Modifier and Type Method Description booleanContextMenuVisibility. activateLitigationHold(boolean multiselect)ItemAnalyzeResultResultSetPresenter. analyzeItems(java.util.Collection<ResultListItem> items, boolean useAttachment)Analyze the items.WorkflowItemAnalyzeResultResultSetPresenter. analyzeWorkflowItems(java.util.Collection<ResultListItem> items)Analyze the workflow items.java.util.List<org.zkoss.zk.ui.Component>ContextMenuItemFactory. createEmptyListItems()Creates the menu for empty lists.java.util.List<org.zkoss.zk.ui.Component>ContextMenuItemFactory. createItems()Creates all menu items that can be used with the currently selected items.DraggableListItemResultSetMode. createListitem(ResultProperties properties)Creates a listitem.voidResultsetConfiguration. deleteColumnConfiguration(java.lang.String formName)Deletes the configuration of the columns in the database.booleanResultSetPresenter. doDeleteDocument(DocumentId id)Delete document.booleanResultSetPresenter. doDeleteDocument(DocumentId id, boolean finalDelete)Delete document.voidResultSetPresenter. doUndelet(ResultProperties row, java.lang.String comment)Undeleted the document.voidResultSetPresenter. editStructure(DocumentId documentId)Shows the dialog to edit a document's structure.com.saperion.connector.wf.WorkflowResultResultSetPresenter. executeWfCommand(WorkflowActionBean action)Executes the given workflow action.voidResultSetPresenter. export()Exports the current query result.voidResultSetPresenter. export(java.util.Map<java.lang.String,java.lang.String> columnsToExport, ResultSetView.ExportFormat format, java.lang.String filename)Exports the current query result.voidResultSetPresenter. externalStorageUpload(DocumentId documentId, com.saperion.externalstorage.client.ExternalStorageClient client, com.saperion.externalstorage.ExternalStorageType storageType)Upload a saperion document to ShareBasejava.util.List<java.lang.String>ResultSetPresenter. getAclNames(DocumentId documentId)Returns the ACLs of a document.java.util.List<java.lang.String>ResultSetPresenter. getAllAcls()Returns a list of all ACL names.java.util.List<com.saperion.intf.wf.CommentInfo>ResultSetPresenter. getComments(com.saperion.intf.wf.TaskInfo taskInfo)Retrieves the comments for the specified task.com.saperion.intf.DDCResultSetPresenter. getDdc(java.lang.String ddcName)Returns the DDC with the specified name.ResultPropertiesResultSetPresenter. getDocProperties(DocumentId id)Reads the properties for the given document.ResultPropertiesResultSetPresenter. getDocProperties(DocumentId id, boolean isDeleted)Reads the properties for the given document.java.util.List<FolderId>ResultSetPresenter. getDocumentFolders(DocumentId documentId)Retrieves the folders that contain the specified document.ResultPropertiesResultSetPresenter. getDocumentInfoFromArchive(DocumentId id, boolean currentRevision)java.util.List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo>ResultSetPresenter. getDocumentPages(DocumentId id, boolean currentRevision)Returns the amount of pages for the specified document.DocumentVersionInfoResultSetPresenter. getDocumentVersion(java.lang.String versionId)Returns the version information for the specified version ID.java.util.List<java.lang.String>ResultSetPresenter. getDocumentVersionIDs(DocumentId id)Returns the version IDs for the specified document.java.util.List<DocumentVersionInfo>ResultSetPresenter. getDocumentVersions(DocumentId id)Retrieves the version information for a document.java.util.Map<java.lang.String,com.saperion.intf.SaFieldDescription>ResultSetPresenter. getFieldDescriptions(java.lang.String ddc)Returns a map ofSaFieldDescriptions of the given DDC. java.util.List<java.lang.String>ResultSetPresenter. getLastLaunched()Gets the last launched.com.saperion.intf.wf.WorkflowMemberResultSetPresenter. getSelectedUserTreeRoot(java.util.List<com.saperion.intf.wf.WorkflowMember> selectedMembers)Gets the user tree root element with selected users as children.com.saperion.intf.wf.WorkflowMemberResultSetPresenter. getUserTreeRoot(java.lang.String filter)Gets the user tree root element and its direct children.booleanResultSetPresenter. isContainedInFolder()Checks if the document is contained in one or more folders from current user or other users.booleanResultSetPresenter. isSelectionAllowed()Checks, if the selection is allowed and not locked nor checked out.booleanContextMenuVisibility. launch(boolean multiselect)voidResultSetPresenter. prolongRetention(ResultProperties row, java.util.Date prolongDate)booleanContextMenuVisibility. prolongRetentionTime(boolean multiselect)voidResultsetConfiguration. readResultType(java.lang.String formName)voidResultSetPresenter. reduceDisposition(ResultProperties row, java.util.Date dispositionDate)booleanContextMenuVisibility. reduceDispositionTime(boolean multiselect)booleanContextMenuVisibility. release(boolean multiselect)voidResultSetPresenter. removeFromFolder(DocumentId documentId, java.util.Set<FolderId> folderIDs)Removes the documents from the specified folder.booleanContextMenuVisibility. revisionHistory(boolean multiselect)voidResultSetPresenter. saveLastLaunched(java.lang.String lastName)Save last launched.voidResultSetPresenter. setDocumentRead(ResultListItem item)Sets the specified document's state to 'read'.voidResultSetPresenter. setDocumentUnread(ResultListItem item)Sets the specified document's state to 'unread'.voidResultSetPresenter. setlitigationhold(DocumentId documentId, boolean activate)Sets the specified document's litigationhold to 'read'.com.saperion.connector.wf.WorkflowResultResultSetPresenter. startWorkflow(LaunchWorkflowBean launchBean)Starts a business case.voidResultsetConfiguration. storeColumnConfiguration(java.lang.String formName)Stores the configuration of the columns in the database.voidResultSetPresenter. updateListItem(ResultListItem item)Updated the specified listitem in the containedResultListas well as in the current result stored in theQueryService.com.saperion.externalstorage.library.DocumentResultSetPresenter. uploadDocToExternalStorage(DocumentId documentId, java.lang.String selectedFolderID, com.saperion.externalstorage.client.ExternalStorageClient externalStorageClient, com.saperion.externalstorage.ExternalStorageType storageType)booleanContextMenuVisibility. workflowMenu(boolean multiselect) -
Uses of NgcUiException in com.saperion.ngc.resultset.contextmenu
Methods in com.saperion.ngc.resultset.contextmenu that throw NgcUiException Modifier and Type Method Description abstract java.util.List<org.zkoss.zk.ui.Component>AbstractContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>MultiDocumentContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>MultiFolderContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>MultiLookupContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>MultiWorkflowContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>SingleDocumentContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>SingleFolderContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>SingleLookupContextMenu. getMenuItems()java.util.List<org.zkoss.zk.ui.Component>SingleWorkflowContextMenu. getMenuItems() -
Uses of NgcUiException in com.saperion.ngc.resultset.modes
Methods in com.saperion.ngc.resultset.modes that throw NgcUiException Modifier and Type Method Description DraggableListItemLookupResultSetMode. createListitem(ResultProperties properties)Creates a listitem.DraggableListItemSimpleResultSetMode. createListitem(ResultProperties properties)Creates a listitem. -
Uses of NgcUiException in com.saperion.ngc.resultset.multiselect
Methods in com.saperion.ngc.resultset.multiselect that throw NgcUiException Modifier and Type Method Description voidConvertToPdfAction. execute(java.util.List<Content> contentList)Executes the action on the specified list of contents.voidMultiSelectAction. execute(java.util.List<Content> contentList)Executes the action on the specified list of contents.voidZkDownloadAction. execute(java.util.List<Content> contentList)Executes the action on the specified list of contents.voidContentMultiSelect. executeAction(MultiSelectAction action)Executes the specified action on the items set by forItems. -
Uses of NgcUiException in com.saperion.ngc.toolbar
Methods in com.saperion.ngc.toolbar that throw NgcUiException Modifier and Type Method Description voidSaperionToolbarPresenter. setLocale(java.util.Locale locale)Sets the locale on the underlying backend connection. -
Uses of NgcUiException in com.saperion.ngc.util
Methods in com.saperion.ngc.util that throw NgcUiException Modifier and Type Method Description static voidSessionTempFileUtil. deleteDir()Deletes the temporary directory for the current session.static voidSessionTempFileUtil. deleteDir(java.lang.String sessionId)Deletes the temporary directory for the current session.static java.lang.StringSessionTempFileUtil. saveToFile(java.lang.String s, java.lang.String fileName)voidUiExceptionThrower. throwIt(java.lang.Exception e)Throw an NgcUiException containing a log-message only.voidUiExceptionThrower. throwIt(java.lang.Exception e, java.lang.String localizationKey)Throw an NgcUiException containing both a log-message and an error-message for the user.voidUiExceptionThrower. throwIt(java.lang.Exception e, java.lang.String localizationKey, java.util.Map<java.lang.String,java.lang.String> replacements)Throw an NgcUiException containing both a log-message and an error-message for the user.voidUiExceptionThrower. throwIt(java.lang.String localizationKey)Throw an NgcUiException containing both an error-message for the user only.voidUiExceptionThrower. throwIt(java.lang.String message, java.lang.String localizationKey)Throw an NgcUiException containing both a log-message and an error-message for the user.voidUiExceptionThrower. throwIt(java.lang.String message, java.lang.String localizationKey, java.util.Map<java.lang.String,java.lang.String> replacements)Throws a NgcUiException containing the error message and the user message with replacements. -
Uses of NgcUiException in com.saperion.ngc.viewer
Methods in com.saperion.ngc.viewer that throw NgcUiException Modifier and Type Method Description booleanDocumentViewPresenter. canDownload(int maskRights, DocumentId documentId)Checks if downloading an item is allowed in this mask.booleanDocumentViewPresenter. canEditAnnotations(OpenDocumentBean bean)Checks if the user can edit the annotations.booleanDocumentViewPresenter. canEditDocument(DocumentId id)Checks if the document can be edited.booleanDocumentViewPresenter. canView(DocumentId documentId)Checks if the document can be opened in viewer.voidDocumentViewPresenter. checkConnection()Checks if the connection to the backend is still alive.voidDocumentViewPresenter. downloadAsZip(java.util.List<Content> content)Triggers a download of a ZIP containing the specified content.voidDocumentViewPresenter. downloadSingle(DocumentId docId, java.lang.String filename, int element)Triggers the download of a single document.DocumentArchiveMetaInfoDocumentViewPresenter. getArchiveMetaInfo(DocumentId documentId, boolean currentRevision, boolean previewMode)Gets the archive meta info.java.util.List<Content>DocumentViewPresenter. getContentListForLink(DocumentId id, DocumentArchiveMetaInfo linkMetaInfo)Returns a list ofContentof a linked document.ResultPropertiesDocumentViewPresenter. getDocumentInfo(DocumentId id)Returns the database meta-info of the document with the specified ID.longDocumentViewPresenter. getElementSize(DocumentId id, int element)Determines the size of the element.java.util.Map<java.lang.Integer,java.lang.Long>DocumentViewPresenter. getElementSizes(DocumentId id, java.util.List<java.lang.Integer> elementsWithoutSize)Determines the sizes of the list of elements.java.lang.StringDocumentViewPresenter. getNotes(java.lang.String hDoc)Reads the notes element for the given document id.java.io.InputStreamDocumentViewPresenter. getStream(DocumentId id, int element)Gets the document's content as stream.booleanDocumentViewPresenter. hasAclAnnotationsInEveryDocument(java.util.List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo> elements, DocumentId documentId)Checks for ACL in all sub-structure elements in a documentjava.lang.StringDocumentViewPresenter. resolveLatestRevision(java.lang.String originalHdoc)Resolves the latest revision of the document with the specified HDOC.com.saperion.externalstorage.library.DocumentDocumentViewPresenter. uploadDocElementToExternalStorage(DocumentId documentId, java.lang.String selectedFolderID, com.saperion.externalstorage.client.ExternalStorageClient externalStorageClient, com.saperion.externalstorage.ExternalStorageType storageType, int elementNo)voidDocumentViewPresenter. writeNotes(DocumentId documentId, java.lang.String text)Writes the text to the notes element or creates a new one.
-