Site (Component)
Methods:
getAdminMenuCustomizations | Returns zero or more structures, each containing information about customized site administrator menu items; for example, the menu's name, description, and onclick action. |
getAdminMenuSectionCustomizations | Returns zero or more structures containing information about customized site administrator menu sections. This includes information such as the section's description, name, and permissions. |
getAlternateImageFormatList | Returns zero or more structures, each containing information about alternate image formats for a site. For example, each structure contains a description of the alternate format, height and width constraints, and so on. |
getAuthorSuspendState | Returns a structure containing information about the site's 'Author Suspend State'. For example, when it will be suspended, a warning message, and so on. |
getAvailableForms | Returns zero or more records describing the resulting forms, based on the type specified (Bound Simple Form, Standard Simple Form, Custom Element, Metadata Form, Query By Example Form, XML Publication Definition). |
getAvailableWidgets | Returns zero or more records describing the widgets available on Paperthin site for download. |
getDynamicReasons | Returns the dynamic reasons and their human readable string. |
getInfo | Returns a structure containing information about the current site; for example, 'authoringPermitted', 'AuthoringURL', 'DatabaseType', and so on. |
getMenuContext | Returns a structure containing information about the current user's current menu context; for example, 'enabledMenuClassList', 'menuContextTimeStamp', and 'visibleMenuClassList'. |
getPageLimitInfo | Returns the total count of pages and uploaded documents and the maximum limit. |
getStatistics | Returns a structure that contains site statistics such as the number of pages, the number of pages pending approval, the number of images, and so on. |
getStubFileCount | Returns how many stub files this site has. Because the site needs to have URLs that a browser can find, CommonSpot generates a stub file for each page containing an addressable URL. If changes are made to a page or to a page's template, CommonSpot regenerates the stub file. |
getTreeItems | Returns zero or more structures, each containing information about each child object based upon the type of object and its parent. Structure members include the node's text, if the node is a leaf node, if the node is selectable, and so on. |
reassignContentOwnership | Reassigns content ownership from one or more users to a another user. |
saveAuthorSuspendState | Suspends or activates the site's authoring state. |
saveState | Sets a site's state to 'Active' or 'Inactive'. |