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 void
AuthorizationPresenter. checkModelConnection()
Checks model connection.protected void
AuthorizationPresenter. logoff()
Logoff.protected void
AuthorizationPresenter. logon(java.lang.String username, java.lang.String password, int selectedItem, java.lang.String mandant)
protected void
AuthorizationPresenter. 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.RevisionListModel
RevisionHistoryDialog.RevisionListModel. create(ResultSetPresenter resultPresenter, ResultSetViewImpl view, DocumentId docId, java.lang.String maskName)
Factory method.void
RevisionListRenderer. downloadRevision(RevisionHistoryDialog.RevisionBean bean)
static void
AclSelectDialog. 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 void
CommentDialog. show(ResultSetPresenter resultPresenter, com.saperion.intf.wf.TaskInfo task)
Shows the comment dialog.static void
ExportSettingsDialog. 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 void
RevisionHistoryDialog. 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 DocumentId
IntelligentFormPresenter. addDocument(java.util.List<FieldResultBean> properties, java.lang.String comment, FolderUploadInfos infos, java.lang.String ddcName)
Adds a new document to the archive.boolean
IntelligentFormPresenter. canEditIndex(ResultProperties props)
Checks if the index of the specified document can be edited.void
ElementCreator. 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.void
IntelligentFormPresenter. 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.void
IntelligentFormView. createView(com.saperion.ngc.iform.xml.Form form)
Creates the view.void
IntelligentFormViewImpl. createView(com.saperion.ngc.iform.xml.Form formType)
Creates the view.void
IntelligentFormPresenter. 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.DocumentArchiveMetaInfo
IntelligentFormPresenter. getArchiveMetaInfo(DocumentId id, boolean currentRevision)
Retrieves the meta information of the document from the archive.com.saperion.intf.DDC
IntelligentFormPresenter. getDdc(java.lang.String ddcName)
Returns the DDC with the specified name.void
IntelligentFormPresenter. getDefinition(java.lang.String ddcName, SysForm.FormType type)
Deprecated.useIntelligentFormView.createView(Form)
with system form implementation from package com.saperion.ngc.iform.system instead.ResultProperties
IntelligentFormPresenter. 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.FolderInfo
IntelligentFormPresenter. getFolderInfos(FolderId folderId)
Retrieves information about the specified folder.int
IntelligentFormPresenter. getInboxId()
com.saperion.ngc.iform.xml.Form
IntelligentFormPresenter. getMaskDefinition(java.lang.String maskName)
int
IntelligentFormPresenter. 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.String
IntelligentFormPresenter. 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 void
ValidationErrorMessageCreator. showValidationErrorMessage(IntelligentField field, FieldValidationException.ValidationError validationError, EventChildHandler eventHandler)
void
IntelligentFormPresenter. storeMaskDefinition(java.lang.String maskName, com.saperion.ngc.iform.xml.Form form)
Deprecated.this method does nothing and will be removed in 8.1void
IntelligentFormPresenter. storeSizesInConfig(java.util.Map<java.lang.Integer,AreaSize> sizes)
Stored the layout of the mask in the configuration.static void
ElementUtil. updateFromQBE(FormButton field, com.saperion.ngc.iform.xml.ButtonType definition, com.saperion.ngc.iform.xml.PosType panePos)
Setup button element.static void
ElementUtil. updateFromQBE(FormEditableImage field, com.saperion.ngc.iform.xml.ThumbnailType definition, com.saperion.ngc.iform.xml.PosType panePos)
Setup label element.static void
ElementUtil. updateFromQBE(FormMashup field, com.saperion.ngc.iform.xml.MashupType definition)
Setup mashup element.static void
ElementUtil. 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 void
FormButton. setKind(com.saperion.ngc.iform.xml.ButtonKindType value)
void
FormButton. setSaveAction(com.saperion.ngc.iform.xml.SaveActionType value)
void
FormButton. setUseFields(boolean value)
void
FormButton. setUtf8(boolean value)
void
FormButton. 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 void
FieldValidator. 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 FastAccessItem
FastAccessList. addFastAccess(java.lang.String ddc, java.lang.String path, java.lang.String name, boolean temporary)
Creates a new fast access entry.protected void
NaviTreeNode. copyFolder(NaviTreeNode folderToCopy, NaviTreeNode target)
Copies a folder.NavigationNode
NavigationPresenter. copyNode(FolderId folderId, NavigationNode parentNode, FolderId beforeChildId, boolean withDocuments)
Copies a node.NavigationNode
NavigationPresenter. createLinkNode(NavigationNode parentNode, java.lang.String name, FolderId destination)
NavigationNode
NavigationPresenter. createNode(NavigationNode parentNode, java.lang.String name, com.saperion.constants.SaFolderConstants.FOLDER_TYPE nodeType, java.util.Properties properties)
NavigationNode
NavigationPresenter. createWebpartNode(NavigationNode parentNode, java.lang.String name, java.lang.String destination)
void
NavigationPresenter. deleteNode(NavigationNode node)
void
NavigationPresenter. 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.BoxCount
NavigationPresenter. 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.FolderNode
NavigationPresenter. getFolderById(FolderId id)
Returns the folder with the specified id.FolderNode
NavigationPresenter. getFolderByPath(java.lang.String ddc, java.lang.String path)
Returns the folder with the specified path.FolderClass
NavigationPresenter. 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.Form
NavigationPresenter. getFolderEditForm(java.lang.String formName)
Returns the mask definition needed to open the edit mask for the folder.FolderInfo
NavigationPresenter. getFolderInfo(FolderId id)
Returns infos about the specified folder.com.saperion.ngc.iform.xml.Form
NavigationPresenter. getForm(java.lang.String name)
Returns the mask definition for the specified mask name.protected boolean
ALFNaviTreeNode. getNextLevelFolders()
Initiates lazy loading of next level folders.protected boolean
NaviTreeNode. getNextLevelFolders()
Initiates lazy loading of next level folders.java.lang.String
NavigationPresenter. getPathById(FolderId id)
Returns the absolute path of the node with the specified id.com.saperion.wf.BoxCount
NavigationPresenter. getTaskCounts()
boolean
NavigationPresenter. isLookupTable(java.lang.String ddcName)
void
FastAccessList. loadSavedItems()
Loads the default or the stored fast access items.void
NavigationPresenter. lockFolder(FolderId id)
Locks the specified folder.protected void
NaviTreeNode. moveFolder(NaviTreeNode sourceNode)
Moves a folder to another.protected void
NaviTreeNode. refreshCurrentNode()
Refreshes the current node only.protected void
NaviTreeNode. refreshCurrentNode(boolean includeChildren)
Refreshes the current node.protected void
RootNaviTreeNode. refreshCurrentNode(boolean includeChildren)
protected void
WorkflowFormNaviTreeNode. refreshCurrentNode(boolean includeChildren)
protected void
WorkflowRootNaviTreeNode. refreshCurrentNode(boolean includeChildren)
protected void
NaviTreeNode. refreshParent()
Refreshes the parent view of the current node.void
FastAccessList. removeFastAccessAndWrite(FastAccessItem item)
Removes a fast access entry and saves the reduced fast access list.NavigationNode
NavigationPresenter. renameNode(NavigationNode node, java.lang.String name)
protected void
NaviTreeNode. renderChildNodes(java.util.List<NavigationNode> nodes)
void
NavigationPresenter. unlockFolder(FolderId id)
Unlocks the specified folder.void
NavigationPresenter. 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 boolean
ContextMenuVisibility. activateLitigationHold(boolean multiselect)
ItemAnalyzeResult
ResultSetPresenter. analyzeItems(java.util.Collection<ResultListItem> items, boolean useAttachment)
Analyze the items.WorkflowItemAnalyzeResult
ResultSetPresenter. 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.DraggableListItem
ResultSetMode. createListitem(ResultProperties properties)
Creates a listitem.void
ResultsetConfiguration. deleteColumnConfiguration(java.lang.String formName)
Deletes the configuration of the columns in the database.boolean
ResultSetPresenter. doDeleteDocument(DocumentId id)
Delete document.boolean
ResultSetPresenter. doDeleteDocument(DocumentId id, boolean finalDelete)
Delete document.void
ResultSetPresenter. doUndelet(ResultProperties row, java.lang.String comment)
Undeleted the document.void
ResultSetPresenter. editStructure(DocumentId documentId)
Shows the dialog to edit a document's structure.com.saperion.connector.wf.WorkflowResult
ResultSetPresenter. executeWfCommand(WorkflowActionBean action)
Executes the given workflow action.void
ResultSetPresenter. export()
Exports the current query result.void
ResultSetPresenter. export(java.util.Map<java.lang.String,java.lang.String> columnsToExport, ResultSetView.ExportFormat format, java.lang.String filename)
Exports the current query result.void
ResultSetPresenter. 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.DDC
ResultSetPresenter. getDdc(java.lang.String ddcName)
Returns the DDC with the specified name.ResultProperties
ResultSetPresenter. getDocProperties(DocumentId id)
Reads the properties for the given document.ResultProperties
ResultSetPresenter. 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.ResultProperties
ResultSetPresenter. 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.DocumentVersionInfo
ResultSetPresenter. 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.WorkflowMember
ResultSetPresenter. 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.WorkflowMember
ResultSetPresenter. getUserTreeRoot(java.lang.String filter)
Gets the user tree root element and its direct children.boolean
ResultSetPresenter. isContainedInFolder()
Checks if the document is contained in one or more folders from current user or other users.boolean
ResultSetPresenter. isSelectionAllowed()
Checks, if the selection is allowed and not locked nor checked out.boolean
ContextMenuVisibility. launch(boolean multiselect)
void
ResultSetPresenter. prolongRetention(ResultProperties row, java.util.Date prolongDate)
boolean
ContextMenuVisibility. prolongRetentionTime(boolean multiselect)
void
ResultsetConfiguration. readResultType(java.lang.String formName)
void
ResultSetPresenter. reduceDisposition(ResultProperties row, java.util.Date dispositionDate)
boolean
ContextMenuVisibility. reduceDispositionTime(boolean multiselect)
boolean
ContextMenuVisibility. release(boolean multiselect)
void
ResultSetPresenter. removeFromFolder(DocumentId documentId, java.util.Set<FolderId> folderIDs)
Removes the documents from the specified folder.boolean
ContextMenuVisibility. revisionHistory(boolean multiselect)
void
ResultSetPresenter. saveLastLaunched(java.lang.String lastName)
Save last launched.void
ResultSetPresenter. setDocumentRead(ResultListItem item)
Sets the specified document's state to 'read'.void
ResultSetPresenter. setDocumentUnread(ResultListItem item)
Sets the specified document's state to 'unread'.void
ResultSetPresenter. setlitigationhold(DocumentId documentId, boolean activate)
Sets the specified document's litigationhold to 'read'.com.saperion.connector.wf.WorkflowResult
ResultSetPresenter. startWorkflow(LaunchWorkflowBean launchBean)
Starts a business case.void
ResultsetConfiguration. storeColumnConfiguration(java.lang.String formName)
Stores the configuration of the columns in the database.void
ResultSetPresenter. updateListItem(ResultListItem item)
Updated the specified listitem in the containedResultList
as well as in the current result stored in theQueryService
.com.saperion.externalstorage.library.Document
ResultSetPresenter. uploadDocToExternalStorage(DocumentId documentId, java.lang.String selectedFolderID, com.saperion.externalstorage.client.ExternalStorageClient externalStorageClient, com.saperion.externalstorage.ExternalStorageType storageType)
boolean
ContextMenuVisibility. 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 DraggableListItem
LookupResultSetMode. createListitem(ResultProperties properties)
Creates a listitem.DraggableListItem
SimpleResultSetMode. 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 void
ConvertToPdfAction. execute(java.util.List<Content> contentList)
Executes the action on the specified list of contents.void
MultiSelectAction. execute(java.util.List<Content> contentList)
Executes the action on the specified list of contents.void
ZkDownloadAction. execute(java.util.List<Content> contentList)
Executes the action on the specified list of contents.void
ContentMultiSelect. 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 void
SaperionToolbarPresenter. 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 void
SessionTempFileUtil. deleteDir()
Deletes the temporary directory for the current session.static void
SessionTempFileUtil. deleteDir(java.lang.String sessionId)
Deletes the temporary directory for the current session.static java.lang.String
SessionTempFileUtil. saveToFile(java.lang.String s, java.lang.String fileName)
void
UiExceptionThrower. throwIt(java.lang.Exception e)
Throw an NgcUiException containing a log-message only.void
UiExceptionThrower. throwIt(java.lang.Exception e, java.lang.String localizationKey)
Throw an NgcUiException containing both a log-message and an error-message for the user.void
UiExceptionThrower. 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.void
UiExceptionThrower. throwIt(java.lang.String localizationKey)
Throw an NgcUiException containing both an error-message for the user only.void
UiExceptionThrower. throwIt(java.lang.String message, java.lang.String localizationKey)
Throw an NgcUiException containing both a log-message and an error-message for the user.void
UiExceptionThrower. 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 boolean
DocumentViewPresenter. canDownload(int maskRights, DocumentId documentId)
Checks if downloading an item is allowed in this mask.boolean
DocumentViewPresenter. canEditAnnotations(OpenDocumentBean bean)
Checks if the user can edit the annotations.boolean
DocumentViewPresenter. canEditDocument(DocumentId id)
Checks if the document can be edited.boolean
DocumentViewPresenter. canView(DocumentId documentId)
Checks if the document can be opened in viewer.void
DocumentViewPresenter. checkConnection()
Checks if the connection to the backend is still alive.void
DocumentViewPresenter. downloadAsZip(java.util.List<Content> content)
Triggers a download of a ZIP containing the specified content.void
DocumentViewPresenter. downloadSingle(DocumentId docId, java.lang.String filename, int element)
Triggers the download of a single document.DocumentArchiveMetaInfo
DocumentViewPresenter. 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 ofContent
of a linked document.ResultProperties
DocumentViewPresenter. getDocumentInfo(DocumentId id)
Returns the database meta-info of the document with the specified ID.long
DocumentViewPresenter. 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.String
DocumentViewPresenter. getNotes(java.lang.String hDoc)
Reads the notes element for the given document id.java.io.InputStream
DocumentViewPresenter. getStream(DocumentId id, int element)
Gets the document's content as stream.boolean
DocumentViewPresenter. hasAclAnnotationsInEveryDocument(java.util.List<DocumentArchiveMetaInfo.ElementArchiveMetaInfo> elements, DocumentId documentId)
Checks for ACL in all sub-structure elements in a documentjava.lang.String
DocumentViewPresenter. resolveLatestRevision(java.lang.String originalHdoc)
Resolves the latest revision of the document with the specified HDOC.com.saperion.externalstorage.library.Document
DocumentViewPresenter. uploadDocElementToExternalStorage(DocumentId documentId, java.lang.String selectedFolderID, com.saperion.externalstorage.client.ExternalStorageClient externalStorageClient, com.saperion.externalstorage.ExternalStorageType storageType, int elementNo)
void
DocumentViewPresenter. writeNotes(DocumentId documentId, java.lang.String text)
Writes the text to the notes element or creates a new one.
-