User API

ShellPal

Other API in Package

Web

Internal Tunnel

Internal Web

Tunnel

This class represents a shell pal. Shell pals are dynamic pals created by controlling "admin" pal using console workflow

Method Summary
  addGroup(String groupName)

Associates this pal with group. This method silently ignored if pal is already associated with specified group

boolean addOrReplaceAttachment(String name, File file)

Returns true if the attachment contained in the file upload is successfully added to the Pal as a new attachment or as a replacement.

boolean addOrReplaceDocument(String name, File file)

Returns true if the document contained in the file upload is successfully added to the Pal as a new document or as a replacement.

boolean addOrReplaceEmail(String name, File file, boolean plainText)

Adds or replaces email template in this Pal

boolean addOrReplaceImage(String name, File file)

Adds or replaces image in this Pal

boolean addOrReplaceStyle(String name, File file)

Adds or replaces style in this Pal

boolean checkAuthDomain(String subdomain, String domainId)

Checks to see if setting the auth domain for the Web module of the Pal will succeed.

boolean checkTransactionAccess(String profileId)

Returns true if the Pal is accessible by the identified profile.

boolean checkWebDomain(String subdomain, String domainId)

Checks to see if setting the web domain for the Web module of the Pal will succeed.

  commit()

Saves all pending changes to shell pal and releases pal lock

  deleteAttachment(String name)

Deletes attachment from shell pal

  deleteDocument(String name)

Deletes document from shell pal

  deleteEmail(String name)

Deletes email template from shell pal

  deleteImage(String name)

Deletes image from shell pal

  deleteStyle(String name)

Deletes style from shell pal

File exportShellPal()

Exports this shell pal to file

String getAccessToken()

Returns Navigator access token for this Pal

PalActivationKeyInfo getActivationKeyInfo()

Returns the PalActivationKeyInfo for the Pal.

Fragment getAjaxFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment in an ajax response.

File getAttachment(String attachment)

Returns Pal attachment as File object.

String getAuthDomain()

Returns the auth domain: auth.mysite.com, returns auth.mysite.com.

String getAuthSubDomain()

Returns the subdomain of the auth domain: auth.mysite.com, returns auth.

String getAuthTopDomain()

Returns the top domain of the auth domain: auth.mysite.com, returns mysite.com.

File getAutoScript(String name)

Returns automated script of this pal as File. Returns null if script with specified name is not available

String getCategory()

Returns the category of the Pal.

String getChainId()

Returns the pal's chain id, if is using a PalChain.

Fragment getChartFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment for rendering a chart. Presumably the content is SVG. See also Fragment.toImage()

String getConsoleIcon()

Returns console icon name for this pal

String getConsoleLabel()

Returns console label for this pal

String getConsoleLoginUrl()

Returns the console login url for this Pal.

Data getConsolePacketProperties()

Returns the Console Packet properties for the Pal. The Data is read/write but not persisted. Call setConsolePacketProperties to persist it.

String getConsoleProfileAccess()

Returns the Console Profile access (E,P,PE,EP)

String getConsoleSystemWorkflow()

Returns default console system workflow or null if not set

Data getConsoleUserPacketProperties()

Returns the User Console Packet properties for the Pal. The Data is read/write but not persisted. Call setConsoleUserPacketProperties to persist it.

String getConsoleWebServiceWorkflow()

Returns default console web service workflow or null if not set

String getConsoleWorkflow()

Returns default console workflow or null if not set

Data getData()

Returns Data with top level information about this Pal.

Data getData(String name)

Returns the specified Data object from this Pal. The Data is read/write but not persisted. Call setData to persist it.

DataList getDataList(String name)

Returns the specified DataList from this Pal.

PacketDataList getDataLists()

Returns a list of DataList object names defined in this Pal.

PacketDataList getDataNames()

Returns a list of Data object names defined in this Pal.

DataList getDataSets()

Returns a list of DataSet names are accessible by this Pal.

DataList getDataViews()

Returns a list of DataView names for this Pal.

String getDescription()

Returns the description of the Pal.

File getDocument(String name)

Returns document of this pal as File. Returns null if document with specified name is not available

Fragment getDocumentAsFragment(String documentName)

Returns the specified document as a fragment.

Fragment getDocumentFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment in a document. See Document.addFragment.

File getEmail(String name)

Returns email of this pal as File. Returns null if template with specified name is not available

Fragment getExportFragment(String fragmentName)

Returns the specified fragment with the intention of using it for an export.

DataList getGroups()

Returns a DataList of all groups this pal is a member of.

Fragment getHeadFragment(String fragmentName)

Returns specified head fragment. See Chunk API.

String getId()

Returns the pal id.

ImageFile getImage(String name)

Returns image of this pal as File. Returns null if image with specified name is not available

ImageFile getLogo()

Returns the logo, if any, associated with this pal.

String getLogoName()

Returns the file name of the logo for this Pal.

String getName()

Returns the name of the Pal.

Data getPacketProperties()

Returns the Packet properties for the Pal. The Data is read/write but not persisted. Call setPacketProperties to persist it.

Render getPage(String page)

Returns a Render object for the given page.

PacketDataList getPalAttachments()

Returns list of attachments for this pal

PacketDataList getPalAutoScripts()

Returns list of automation scripts for this pal

PacketDataList getPalDocuments()

Returns list of documents for this pal

PacketDataList getPalEmails()

Returns list of emails for this pal

PacketDataList getPalFragments()

Returns list of fragments for this pal

PacketDataList getPalImages()

Returns list of images for this pal

PacketDataList getPalPages()

Returns a list of Page object names defined in this Pal.

PacketDataList getPalScripts()

Returns list of scripts for this pal

PacketDataList getPalStyles()

Returns list of styles for this pal

PacketDataList getPalWizards()

Returns list of wizards for this pal

PacketDataList getPalWorkflows()

Returns a list of workflow files defined in this Pal.

PdfFile getPdfDocument(String name)

Returns pdf document of this pal as File. Returns null if document with specified name is not available is not pdf document

String getReadme()

Returns the Readme for this Pal or null if there is not one. This method does not chain or inherit the Readme content from elsewhere.

DataList getReleaseNotes()

Returns release notes for this pal

RuntimePal getRuntimePal()

Returns the RuntimePal for this ShellPal.

String getScript(String scriptFile)

Returns the content of the script file as a string. See Response.addJavascript.

String getSecureWebUrl(String endPoint)

Returns the secure web url for this pal the an optional endpoint (for example: start.do). Returns null if there is no web workflow for this pal.

Fragment getServiceFragment(String fragmentName)

Returns the specified fragment with the intention of using it for a ServiceRequest.

String getStoreId()

If the Pal is published in the store, returns the storeId.

File getStyle(String name)

Returns style of this pal as File. Returns null if style with specified name is not available

Data getTransactionProperties()

Returns all transaction properties from the Pal as a read-only Data object.

String getTransactionSystemWorkflow()

Returns default transaction system workflow or null if not set

String getTransactionWebServiceWorkflow()

Returns default transaction web service workflow or null if not set

String getTransactionWorkflow()

Returns default transaction workflow or null if not set

String getUserWebServiceWorkflow()

Returns default user web service workflow or null if not set

String getVersion()

Returns the version of the Pal.

String getWebDomain()

Returns the web domain: www.mysite.com, returns www.mysite.com.

String getWebSubDomain()

Returns the subdomain of the web domain: www.mysite.com, returns www.

String getWebTopDomain()

Returns the top domain of the web domain: www.mysite.com, returns mysite.com.

String getWebUrl()

Returns the public URL for this Pal.

String getWebWorkflow()

Returns default web workflow or null if not set

Fragment getWizardFragment(String wizard, String dialog, String classname)

Returns specified wizard and optionally a specific dialog. This removes all wizard specific tags and returns just the XHTML.

boolean hasFragment(String fragmentName)

Returns true if the specified fragment exists.

boolean hasLogo()

Returns true if the Pal has a logo associated with it.

boolean hasWorkflow(String workflowName)

Returns true if the specified workflow exists.

boolean isActive()

Returns true if the Pal is active.

boolean isAuditDocumentView()

Returns true if document view audit is enabled

boolean isConsoleHeadless()

Returns true if console configured as headless

boolean isConsoleModule()

Returns true if this Pal has a console module.

boolean isConsolePalControlled()

Returns true if console control flag is enabled

boolean isFirstInChain()

Checks whether this pal always has priority in chain lookup

boolean isGroupAccessOnly()

Returns true group access enabled

boolean isLinked()

Returns true if the Pal is a linked Pal.

boolean isLocked()

Returns true if pal is locked and modifications to pal allowed

boolean isMobile()

Checks whether this pal enabled for mobile applications

boolean isNavigatorHeadless()

Returns true if navigator configured as headless

boolean isReadonly()

Returns true if properties are read only.

boolean isShadow()

Returns true if the Pal is a shadow Pal.

boolean isShell()

Returns true if the Pal is a Shell Pal.

boolean isShowInConsole()

Checks whether this pal is visible in console

boolean isTestMode()

Returns true if the Pal is being executed in test mode.

boolean isTransactionModule()

Returns true if this Pal has a transaction module.

boolean isWebModule()

Returns true if this Pal has a web module.

boolean lock()

Obtains a lock on shell pal

  removeGroup(String groupName)

Removes group association for this pal. This method silently ignored if pal is not associated with specified group

  replaceFull(File file, boolean preserveLocal)

This will replace all artifacts in this shell pal with content from the file. If preserveLocal is true, objects in this shell with the same name as the source will not be changed. This method includes all pal objects except workflow, datasets, and dataviews.

  replacePartial(File file, boolean preserveLocal)

This will replace all artifacts in this shell pal with content from the file. If preserveLocal is true, objects in this shell with the same name as the source will not be changed.

  rollback()

Discards all pending changes and releases pal lock

  setActivationKey(String keyId)

Sets activation key for this Pal

  setAuditDocumentView(boolean enabled)

Enables or disables documents view audit

boolean setAuthDomain(String subdomain, String domainId)

Sets the domain for the custom authentication of the Pal. Pass null to remove. See InternalDomain.getDomains()

  setCategory(String category)

Sets new category for this pal

  setConsoleIcon(String name)

Sets console icon for this pal

  setConsoleLabel(String label)

Sets console label for this pal

boolean setConsolePacketProperties(Data data)

Sets the Console Packet properties for the Pal.

  setConsolePalControlled(boolean enabled)

Sets console control flag on this pal

  setConsoleProfileAccess(String accessMode)

Sets the Console Profile Access. Choices are 'E' for Enterprise only, 'P' for Personal only, 'EP' for Enterprise first then Personal, 'PE' for Personal first then Enterprise. This property is used by the platform when it is not obvious which user profile to use when running a Console Pal.

  setConsoleSystemWorkflow(String name)

Sets default console system workflow

boolean setConsoleUserPacketProperties(Data data)

Sets the User Console Packet properties for the Pal.

  setConsoleWebServiceWorkflow(String name)

Sets default console web service workflow

  setConsoleWorkflow(String name)

Sets default console workflow

boolean setData(String name, Data data)

Replaces the specified Data in this this Pal or adds it if it does not exist.

boolean setDataList(DataList list)

Replaces the specified DataList in this this Pal or adds it if it does not exist.

  setDescription(String description)

Sets new description for this pal

  setFirstInChain(boolean first)

Enables or disables chain lookup priority override

  setGroupAccessOnly(boolean enabled)

Restricts pal to group access

  setHeadlessMode(boolean navigator, boolean console)

Sets headless mode for this shell pal

boolean setLogo(String logoId)

Sets the logo for the Pal. Pass null to remove the logo.

  setMobile(boolean enabled)

Enables or disables this pal for mobile applications. Note that enabling mobile discovery actually delegates mobile features to first pal in associated pal chain

  setName(String name)

Sets new name for this pal

boolean setPacketProperties(Data data)

Sets the Packet properties for the Pal.

  setPalChain(String chainName)

Re-attaches this Pal to different Pal chain. Throws exception if chain does not exist.

  setShowInConsole(boolean visible)

Sets console visibility for the pal

  setTransactionSystemWorkflow(String name)

Sets default transaction system workflow

  setTransactionWebServiceWorkflow(String name)

Sets default transaction web service workflow

  setTransactionWorkflow(String name)

Sets default transaction workflow

  setUserWebServiceWorkflow(String name)

Sets default user web service workflow

boolean setWebDomain(String subdomain, String domainId)

Sets the domain for the Web module of the Pal. Pass null to remove. See InternalDomain.getDomains()

  setWebWorkflow(String name)

Sets default web service workflow

String toString()

Returns a description of this object.

Method Detail


addGroup(String groupName)

Associates this pal with group. This method silently ignored if pal is already associated with specified group

Parameters:

  • String   groupName  - group name. Required parameter.

Since: 04-04-2011

top

boolean addOrReplaceAttachment(String name, File file)

Returns true if the attachment contained in the file upload is successfully added to the Pal as a new attachment or as a replacement.

Parameters:

  • String   name
  • File   file

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

boolean addOrReplaceDocument(String name, File file)

Returns true if the document contained in the file upload is successfully added to the Pal as a new document or as a replacement.

Parameters:

  • String   name
  • File   file

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

boolean addOrReplaceEmail(String name, File file, boolean plainText)

Adds or replaces email template in this Pal

Parameters:

  • String   name  - email template name. Required parameter.
  • File   file  - file to create resource from. Required parameter.
  • boolean   plainText  - true for plain text email, false for xhtml.

Returns:  boolean

Since: 04-04-2011

Notes: Requires call to lock() method

top

boolean addOrReplaceImage(String name, File file)

Adds or replaces image in this Pal

Parameters:

  • String   name  - image name. Required parameter.
  • File   file  - file to create resource from. Required parameter.

Returns:  boolean

Since: 04-04-2011

Notes: Requires call to lock() method

top

boolean addOrReplaceStyle(String name, File file)

Adds or replaces style in this Pal

Parameters:

  • String   name  - style name. Required parameter.
  • File   file  - file to create resource from. Required parameter.

Returns:  boolean

Since: 04-04-2011

Notes: Requires call to lock() method

top

boolean checkAuthDomain(String subdomain, String domainId)

Checks to see if setting the auth domain for the Web module of the Pal will succeed.

Parameters:

  • String   subdomain Required parameter.
  • String   domainId  - Domain key from getDomains() or the actual domain string such as something.com. Required parameter.

Returns:  boolean

Since: 05-25-2018

top

boolean checkTransactionAccess(String profileId)

Returns true if the Pal is accessible by the identified profile.

Parameters:

  • String   profileId Required parameter.

Returns:  boolean

Since: 09-25-2009

top

boolean checkWebDomain(String subdomain, String domainId)

Checks to see if setting the web domain for the Web module of the Pal will succeed.

Parameters:

  • String   subdomain
  • String   domainId  - Domain key from getDomains() or the actual domain string such as something.com.

Returns:  boolean

Since: 05-25-2018

top

commit()

Saves all pending changes to shell pal and releases pal lock

Since: 04-18-2011

Notes: Requires call to lock() method

top

deleteAttachment(String name)

Deletes attachment from shell pal

Parameters:

  • String   name  - attachment name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

deleteDocument(String name)

Deletes document from shell pal

Parameters:

  • String   name  - document name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

deleteEmail(String name)

Deletes email template from shell pal

Parameters:

  • String   name  - email template name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

deleteImage(String name)

Deletes image from shell pal

Parameters:

  • String   name  - image name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

deleteStyle(String name)

Deletes style from shell pal

Parameters:

  • String   name  - style name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

File exportShellPal()

Exports this shell pal to file

Returns:  File

Since: 03-30-2018

top

String getAccessToken()

Returns Navigator access token for this Pal

Returns:  String

Since: 04-01-2011

top

PalActivationKeyInfo getActivationKeyInfo()

Returns the PalActivationKeyInfo for the Pal.

Returns:  PalActivationKeyInfo

Since: 04-28-2010

top

Fragment getAjaxFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment in an ajax response.

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

File getAttachment(String attachment)

Returns Pal attachment as File object.

Parameters:

  • String   attachment

Returns:  File

Since: 04-28-2010

top

String getAuthDomain()

Returns the auth domain: auth.mysite.com, returns auth.mysite.com.

Returns:  String

Since: 09-24-2009

top

String getAuthSubDomain()

Returns the subdomain of the auth domain: auth.mysite.com, returns auth.

Returns:  String

Since: 09-24-2009

top

String getAuthTopDomain()

Returns the top domain of the auth domain: auth.mysite.com, returns mysite.com.

Returns:  String

Since: 09-24-2009

top

File getAutoScript(String name)

Returns automated script of this pal as File. Returns null if script with specified name is not available

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  File

Since: 03-02-2018

top

String getCategory()

Returns the category of the Pal.

Returns:  String

Since: 09-25-2009

top

String getChainId()

Returns the pal's chain id, if is using a PalChain.

Returns:  String

Since: 04-14-2011

top

Fragment getChartFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment for rendering a chart. Presumably the content is SVG. See also Fragment.toImage()

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

String getConsoleIcon()

Returns console icon name for this pal

Returns:  String

Since: 04-04-2011

top

String getConsoleLabel()

Returns console label for this pal

Returns:  String

Since: 04-04-2011

top

String getConsoleLoginUrl()

Returns the console login url for this Pal.

Returns:  String

Since: 10-07-2010

top

Data getConsolePacketProperties()

Returns the Console Packet properties for the Pal. The Data is read/write but not persisted. Call setConsolePacketProperties to persist it.

Returns:  Data

Since: 09-24-2009

top

String getConsoleProfileAccess()

Returns the Console Profile access (E,P,PE,EP)

Returns:  String

Since: 07-15-2011

top

String getConsoleSystemWorkflow()

Returns default console system workflow or null if not set

Returns:  String

Since: 04-18-2011

top

Data getConsoleUserPacketProperties()

Returns the User Console Packet properties for the Pal. The Data is read/write but not persisted. Call setConsoleUserPacketProperties to persist it.

Returns:  Data

Since: 09-24-2009

top

String getConsoleWebServiceWorkflow()

Returns default console web service workflow or null if not set

Returns:  String

Since: 04-18-2011

top

String getConsoleWorkflow()

Returns default console workflow or null if not set

Returns:  String

Since: 04-18-2011

top

Data getData()

Returns Data with top level information about this Pal.

Returns:  Data

Since: 06-01-2011

top

Data getData(String name)

Returns the specified Data object from this Pal. The Data is read/write but not persisted. Call setData to persist it.

Parameters:

  • String   name

Returns:  Data

Since: 09-24-2009

top

DataList getDataList(String name)

Returns the specified DataList from this Pal.

Parameters:

  • String   name

Returns:  DataList

Since: 09-24-2009

top

PacketDataList getDataLists()

Returns a list of DataList object names defined in this Pal.

Returns:  PacketDataList


DataList Name: datalists
DataList Fields: name, location

Since: 04-28-2010

top

PacketDataList getDataNames()

Returns a list of Data object names defined in this Pal.

Returns:  PacketDataList


DataList Name: names
DataList Fields: name, location

Since: 04-28-2010

top

DataList getDataSets()

Returns a list of DataSet names are accessible by this Pal.

Returns:  DataList


DataList Name: tables
DataList Fields: table

Since: 04-28-2010

top

DataList getDataViews()

Returns a list of DataView names for this Pal.

Returns:  DataList


DataList Name: views
DataList Fields: name

Since: 04-28-2010

top

String getDescription()

Returns the description of the Pal.

Returns:  String

Since: 09-25-2009

top

File getDocument(String name)

Returns document of this pal as File. Returns null if document with specified name is not available

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  File

Since: 04-04-2011

top

Fragment getDocumentAsFragment(String documentName)

Returns the specified document as a fragment.

Parameters:

  • String   documentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

Fragment getDocumentFragment(String fragmentName)

Returns the specified fragment with the intention of using the fragment in a document. See Document.addFragment.

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

File getEmail(String name)

Returns email of this pal as File. Returns null if template with specified name is not available

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  File

Since: 04-04-2011

top

Fragment getExportFragment(String fragmentName)

Returns the specified fragment with the intention of using it for an export.

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

DataList getGroups()

Returns a DataList of all groups this pal is a member of.

Returns:  DataList


DataList Name: palGroups
DataList Fields: name, description

Since: 03-19-2011

top

Fragment getHeadFragment(String fragmentName)

Returns specified head fragment. See Chunk API.

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 01-27-2020

top

String getId()

Returns the pal id.

Returns:  String

Since: 05-22-2010

top

ImageFile getImage(String name)

Returns image of this pal as File. Returns null if image with specified name is not available

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  ImageFile

Since: 04-04-2011

top

ImageFile getLogo()

Returns the logo, if any, associated with this pal.

Returns:  ImageFile

Since: 05-15-2023

top

String getLogoName()

Returns the file name of the logo for this Pal.

Returns:  String

Since: 09-24-2009

top

String getName()

Returns the name of the Pal.

Returns:  String

Since: 09-25-2009

top

Data getPacketProperties()

Returns the Packet properties for the Pal. The Data is read/write but not persisted. Call setPacketProperties to persist it.

Returns:  Data

Since: 09-24-2009

top

Render getPage(String page)

Returns a Render object for the given page.

Parameters:

  • String   page Required parameter.

Returns:  Render

Since: 08-07-2015

top

PacketDataList getPalAttachments()

Returns list of attachments for this pal

Returns:  PacketDataList


DataList Name: attachments
DataList Fields: name, type, filename, location

Since: 04-22-2010

top

PacketDataList getPalAutoScripts()

Returns list of automation scripts for this pal

Returns:  PacketDataList


DataList Name: autoScripts
DataList Fields: name, type, filename, location

Since: 03-02-2018

top

PacketDataList getPalDocuments()

Returns list of documents for this pal

Returns:  PacketDataList


DataList Name: documents
DataList Fields: name, description, type, filename, docSize, location

Since: 04-22-2010

top

PacketDataList getPalEmails()

Returns list of emails for this pal

Returns:  PacketDataList


DataList Name: emails
DataList Fields: name, plainText, location

Since: 04-08-2011

top

PacketDataList getPalFragments()

Returns list of fragments for this pal

Returns:  PacketDataList


DataList Name: fragments
DataList Fields: name, type, location

Since: 04-22-2010

top

PacketDataList getPalImages()

Returns list of images for this pal

Returns:  PacketDataList


DataList Name: images
DataList Fields: name, type, filename, location

Since: 04-22-2010

top

PacketDataList getPalPages()

Returns a list of Page object names defined in this Pal.

Returns:  PacketDataList


DataList Name: pages
DataList Fields: name, location, default, type

Since: 01-26-2016

top

PacketDataList getPalScripts()

Returns list of scripts for this pal

Returns:  PacketDataList


DataList Name: scripts
DataList Fields: name, type, filename, location

Since: 08-15-2011

top

PacketDataList getPalStyles()

Returns list of styles for this pal

Returns:  PacketDataList


DataList Name: styles
DataList Fields: name, filename, location

Since: 04-08-2011

top

PacketDataList getPalWizards()

Returns list of wizards for this pal

Returns:  PacketDataList


DataList Name: wizards
DataList Fields: name, location

Since: 07-16-2010

top

PacketDataList getPalWorkflows()

Returns a list of workflow files defined in this Pal.

Returns:  PacketDataList


DataList Name: workflows
DataList Fields: name, location, default, type, filename

Since: 04-18-2011

top

PdfFile getPdfDocument(String name)

Returns pdf document of this pal as File. Returns null if document with specified name is not available is not pdf document

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  PdfFile

Since: 06-23-2011

top

String getReadme()

Returns the Readme for this Pal or null if there is not one. This method does not chain or inherit the Readme content from elsewhere.

Returns:  String

Since: 05-24-2011

top

DataList getReleaseNotes()

Returns release notes for this pal

Returns:  DataList


DataList Name: releaseNotes
DataList Fields: timestamp, developer, notes

Since: 12-01-2011

top

RuntimePal getRuntimePal()

Returns the RuntimePal for this ShellPal.

Returns:  RuntimePal

Since: 12-09-2015

top

String getScript(String scriptFile)

Returns the content of the script file as a string. See Response.addJavascript.

Parameters:

  • String   scriptFile Required parameter.

Returns:  String

Since: 11-01-2010

top

String getSecureWebUrl(String endPoint)

Returns the secure web url for this pal the an optional endpoint (for example: start.do). Returns null if there is no web workflow for this pal.

Parameters:

  • String   endPoint

Returns:  String

Since: 11-16-2015

top

Fragment getServiceFragment(String fragmentName)

Returns the specified fragment with the intention of using it for a ServiceRequest.

Parameters:

  • String   fragmentName Required parameter.

Returns:  Fragment

Since: 08-23-2010

top

String getStoreId()

If the Pal is published in the store, returns the storeId.

Returns:  String

Since: 09-25-2009

top

File getStyle(String name)

Returns style of this pal as File. Returns null if style with specified name is not available

Parameters:

  • String   name  - resource name. Required parameter.

Returns:  File

Since: 04-04-2011

top

Data getTransactionProperties()

Returns all transaction properties from the Pal as a read-only Data object.

Returns:  Data

Since: 04-28-2010

top

String getTransactionSystemWorkflow()

Returns default transaction system workflow or null if not set

Returns:  String

Since: 04-18-2011

top

String getTransactionWebServiceWorkflow()

Returns default transaction web service workflow or null if not set

Returns:  String

Since: 04-18-2011

top

String getTransactionWorkflow()

Returns default transaction workflow or null if not set

Returns:  String

Since: 04-18-2011

top

String getUserWebServiceWorkflow()

Returns default user web service workflow or null if not set

Returns:  String

Since: 04-18-2011

top

String getVersion()

Returns the version of the Pal.

Returns:  String

Since: 10-27-2009

top

String getWebDomain()

Returns the web domain: www.mysite.com, returns www.mysite.com.

Returns:  String

Since: 09-24-2009

top

String getWebSubDomain()

Returns the subdomain of the web domain: www.mysite.com, returns www.

Returns:  String

Since: 09-24-2009

top

String getWebTopDomain()

Returns the top domain of the web domain: www.mysite.com, returns mysite.com.

Returns:  String

Since: 09-24-2009

top

String getWebUrl()

Returns the public URL for this Pal.

Returns:  String

Since: 01-26-2010

top

String getWebWorkflow()

Returns default web workflow or null if not set

Returns:  String

Since: 04-18-2011

top

Fragment getWizardFragment(String wizard, String dialog, String classname)

Returns specified wizard and optionally a specific dialog. This removes all wizard specific tags and returns just the XHTML.

Parameters:

  • String   wizard Required parameter.
  • String   dialog
  • String   classname

Returns:  Fragment

Since: 01-05-2023

top

boolean hasFragment(String fragmentName)

Returns true if the specified fragment exists.

Parameters:

  • String   fragmentName Required parameter.

Returns:  boolean

Since: 08-23-2010

top

boolean hasLogo()

Returns true if the Pal has a logo associated with it.

Returns:  boolean

Since: 10-27-2009

top

boolean hasWorkflow(String workflowName)

Returns true if the specified workflow exists.

Parameters:

  • String   workflowName Required parameter.

Returns:  boolean

Since: 12-18-2020

top

boolean isActive()

Returns true if the Pal is active.

Returns:  boolean

Since: 07-20-2011

top

boolean isAuditDocumentView()

Returns true if document view audit is enabled

Returns:  boolean

Since: 04-18-2011

top

boolean isConsoleHeadless()

Returns true if console configured as headless

Returns:  boolean

Since: 04-08-2011

top

boolean isConsoleModule()

Returns true if this Pal has a console module.

Returns:  boolean

Since: 05-20-2010

top

boolean isConsolePalControlled()

Returns true if console control flag is enabled

Returns:  boolean

Since: 04-18-2011

top

boolean isFirstInChain()

Checks whether this pal always has priority in chain lookup

Returns:  boolean

Since: 04-18-2011

top

boolean isGroupAccessOnly()

Returns true group access enabled

Returns:  boolean

Since: 04-18-2011

top

boolean isLinked()

Returns true if the Pal is a linked Pal.

Returns:  boolean

Since: 10-27-2009

top

boolean isLocked()

Returns true if pal is locked and modifications to pal allowed

Returns:  boolean

Since: 04-18-2011

top

boolean isMobile()

Checks whether this pal enabled for mobile applications

Returns:  boolean

Since: 04-18-2011

top

boolean isNavigatorHeadless()

Returns true if navigator configured as headless

Returns:  boolean

Since: 04-08-2011

top

boolean isReadonly()

Returns true if properties are read only.

Returns:  boolean

Since: 08-13-2010

top

boolean isShadow()

Returns true if the Pal is a shadow Pal.

Returns:  boolean

Since: 10-27-2009

top

boolean isShell()

Returns true if the Pal is a Shell Pal.

Returns:  boolean

Since: 07-13-2011

top

boolean isShowInConsole()

Checks whether this pal is visible in console

Returns:  boolean

Since: 04-18-2011

top

boolean isTestMode()

Returns true if the Pal is being executed in test mode.

Returns:  boolean

Since: 10-27-2009

top

boolean isTransactionModule()

Returns true if this Pal has a transaction module.

Returns:  boolean

Since: 05-20-2010

top

boolean isWebModule()

Returns true if this Pal has a web module.

Returns:  boolean

Since: 05-20-2010

top

boolean lock()

Obtains a lock on shell pal

Returns:  boolean

Since: 04-18-2011

top

removeGroup(String groupName)

Removes group association for this pal. This method silently ignored if pal is not associated with specified group

Parameters:

  • String   groupName  - group name. Required parameter.

Since: 04-04-2011

top

replaceFull(File file, boolean preserveLocal)

This will replace all artifacts in this shell pal with content from the file. If preserveLocal is true, objects in this shell with the same name as the source will not be changed. This method includes all pal objects except workflow, datasets, and dataviews.

Parameters:

  • File   file Required parameter.
  • boolean   preserveLocal

Since: 09-28-2017

top

replacePartial(File file, boolean preserveLocal)

This will replace all artifacts in this shell pal with content from the file. If preserveLocal is true, objects in this shell with the same name as the source will not be changed.

Parameters:

  • File   file Required parameter.
  • boolean   preserveLocal

Since: 09-28-2017

top

rollback()

Discards all pending changes and releases pal lock

Since: 04-18-2011

top

setActivationKey(String keyId)

Sets activation key for this Pal

Parameters:

  • String   keyId  - Key ID. Required parameter.

Since: 04-01-2011

Notes: Requires call to lock() method

top

setAuditDocumentView(boolean enabled)

Enables or disables documents view audit

Parameters:

  • boolean   enabled  - enable feature.

Since: 04-18-2011

Notes: Requires call to lock() method

top

boolean setAuthDomain(String subdomain, String domainId)

Sets the domain for the custom authentication of the Pal. Pass null to remove. See InternalDomain.getDomains()

Parameters:

  • String   subdomain
  • String   domainId  - Domain key from getDomains() or the actual domain string such as something.com.

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setCategory(String category)

Sets new category for this pal

Parameters:

  • String   category  - pal category. Required parameter. Maximum allowed size of parameter: 80

Since: 04-04-2011

Notes: Requires call to lock() method

top

setConsoleIcon(String name)

Sets console icon for this pal

Parameters:

  • String   name  - icon name. Maximum allowed size of parameter: 50

Since: 04-04-2011

Notes: Requires call to lock() method

top

setConsoleLabel(String label)

Sets console label for this pal

Parameters:

  • String   label  - console label. Maximum allowed size of parameter: 80

Since: 04-04-2011

Notes: Requires call to lock() method

top

boolean setConsolePacketProperties(Data data)

Sets the Console Packet properties for the Pal.

Parameters:

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setConsolePalControlled(boolean enabled)

Sets console control flag on this pal

Parameters:

  • boolean   enabled  - enable feature.

Since: 04-18-2011

Notes: Requires call to lock() method

top

setConsoleProfileAccess(String accessMode)

Sets the Console Profile Access. Choices are 'E' for Enterprise only, 'P' for Personal only, 'EP' for Enterprise first then Personal, 'PE' for Personal first then Enterprise. This property is used by the platform when it is not obvious which user profile to use when running a Console Pal.

Parameters:

  • String   accessMode  - Profile access mode, one of E, P, PE, or EP.. Required parameter. Allowed values: E, P, PE, EP.

Since: 07-15-2011

Notes: Requires call to lock() method

top

setConsoleSystemWorkflow(String name)

Sets default console system workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

boolean setConsoleUserPacketProperties(Data data)

Sets the User Console Packet properties for the Pal.

Parameters:

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setConsoleWebServiceWorkflow(String name)

Sets default console web service workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

setConsoleWorkflow(String name)

Sets default console workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

boolean setData(String name, Data data)

Replaces the specified Data in this this Pal or adds it if it does not exist.

Parameters:

  • String   name
  • Data   data

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

boolean setDataList(DataList list)

Replaces the specified DataList in this this Pal or adds it if it does not exist.

Parameters:

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setDescription(String description)

Sets new description for this pal

Parameters:

  • String   description  - pal description. Required parameter. Maximum allowed size of parameter: 80

Since: 04-04-2011

Notes: Requires call to lock() method

top

setFirstInChain(boolean first)

Enables or disables chain lookup priority override

Parameters:

  • boolean   first  - put first in chain.

Since: 04-18-2011

Notes: Requires call to lock() method

top

setGroupAccessOnly(boolean enabled)

Restricts pal to group access

Parameters:

  • boolean   enabled  - enable feature.

Since: 04-18-2011

Notes: Requires call to lock() method

top

setHeadlessMode(boolean navigator, boolean console)

Sets headless mode for this shell pal

Parameters:

  • boolean   navigator  - is navigator headless.
  • boolean   console  - is console headless.

Since: 04-07-2011

Notes: Requires call to lock() method

top

boolean setLogo(String logoId)

Sets the logo for the Pal. Pass null to remove the logo.

Parameters:

  • String   logoId

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setMobile(boolean enabled)

Enables or disables this pal for mobile applications. Note that enabling mobile discovery actually delegates mobile features to first pal in associated pal chain

Parameters:

  • boolean   enabled  - enable mobile discovery.

Since: 04-18-2011

Notes: Requires call to lock() method

top

setName(String name)

Sets new name for this pal

Parameters:

  • String   name  - pal name. Required parameter. Maximum allowed size of parameter: 80

Since: 04-04-2011

Notes: Requires call to lock() method

top

boolean setPacketProperties(Data data)

Sets the Packet properties for the Pal.

Parameters:

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setPalChain(String chainName)

Re-attaches this Pal to different Pal chain. Throws exception if chain does not exist.

Parameters:

  • String   chainName  - Pal chain name. Required parameter.

Since: 04-04-2011

Notes: Requires call to lock() method

top

setShowInConsole(boolean visible)

Sets console visibility for the pal

Parameters:

  • boolean   visible  - enable visibility.

Since: 04-18-2011

Notes: Requires call to lock() method

top

setTransactionSystemWorkflow(String name)

Sets default transaction system workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

setTransactionWebServiceWorkflow(String name)

Sets default transaction web service workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

setTransactionWorkflow(String name)

Sets default transaction workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

setUserWebServiceWorkflow(String name)

Sets default user web service workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

boolean setWebDomain(String subdomain, String domainId)

Sets the domain for the Web module of the Pal. Pass null to remove. See InternalDomain.getDomains()

Parameters:

  • String   subdomain
  • String   domainId  - Domain key from getDomains() or the actual domain string such as something.com.

Returns:  boolean

Since: 09-24-2009

Notes: Requires call to lock() method

top

setWebWorkflow(String name)

Sets default web service workflow

Parameters:

  • String   name  - workflow name.

Since: 04-18-2011

top

String toString()

Returns a description of this object.

Returns:  String

Since: 04-28-2010

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Dec 03, 2024 10:24 AM