Class ecm.widget.admin._NavigatorAdminTabBase

Provides a tab content view for an administration object.
Defined in: <ecm\widget\admin\_NavigatorAdminTabBase.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
createDefaultConfigObject(userData, callback)
 
 
equals(widget)
 
Return a array of column property names.
 
 
 
 
 
To be overwritten to initialize this widget.
 
 
registerTab(tabWidget, serverTypes)
Register a tab therefore it will be called in the setData
 
resetRegisteredTabs(serverType)
This method reset each registered tab based on the server type If registered tab widget does not have have any server types associated with then it will be call always otherwise only matched server type will be call.
 
setAdminModel(adminModel)
 
 
 
setData(data, serverType)
This method pass configuration object to each registered tab based on the server type If registered tab widget does not have have any server types associated with then it will be set always otherwise only matched server type will be set.
 
setParent(parent)
Called by _setParentObject method.
 
 
setUserData(userData)

Constructor Detail

ecm.widget.admin._NavigatorAdminTabBase()

Method Detail

createDefaultConfigObject(userData, callback)

Parameters:
userData
callback

destroy()


equals(widget)

Parameters:
widget

getColumns()

Return a array of column property names.

hasCreateRight()


hasDeleteRight()


hasModifyRight()


hasViewRight()


initialize()

To be overwritten to initialize this widget.

openNewHelpWindow(file)

Parameters:
file

registerTab(tabWidget, serverTypes)

Register a tab therefore it will be called in the setData
Parameters:
tabWidget
a tab widget.
serverTypes
is an array of string that this tabWidget will response to for example ["p8", "cm"...etc]

resetRegisteredTabs(serverType)

This method reset each registered tab based on the server type If registered tab widget does not have have any server types associated with then it will be call always otherwise only matched server type will be call.
Parameters:
serverType

setAdminModel(adminModel)

Parameters:
adminModel

setAdminModelForCopy(adminModel)

Parameters:
adminModel

setAdminTreeObject(treeObj)

Parameters:
treeObj

setData(data, serverType)

This method pass configuration object to each registered tab based on the server type If registered tab widget does not have have any server types associated with then it will be set always otherwise only matched server type will be set. If user has no modify right, tab will be set to read-only.
Parameters:
data
a configuraiton object.
serverType
a string representation of server type for example "p8".

setParent(parent)

Called by _setParentObject method.
Parameters:
parent

setParentAdminTreeObject(treeObj)

Parameters:
treeObj

setUserData(userData)

Parameters:
userData