Class AC.pss.Utility
AC PSS utility
Defined in: PssUtility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Default constructor.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AC.pss.Utility.doNothing()
Callback function.
|
<static> |
AC.pss.Utility.endUserScreenSubscription()
Ends a subscription so that the server can monitor when a user closes a window.
|
<static> |
AC.pss.Utility.refreshPage()
Callback function executed upon deletion of a user's role and activity relationships.
|
<static> |
AC.pss.Utility.renderIt(superiorContributionId, componentId, target, callbackObject, callbackMethod, renderer, subComponentRenderers)
Renders the specified component to the specified target location using the specified renderers.
|
<static> |
AC.pss.Utility.renderItAsButton(config)
Renders the specified tool as a button to the specified target location.
|
<static> |
AC.pss.Utility.startUserPageListener(roleUserRelationshipId, activityUserRelationshipId)
Starts a listener for relationships of the specified user to the specified role and activity ids.
|
<static> |
AC.pss.Utility.startUserScreenSubscription()
Starts a subscription so that the server can monitor when a user closes a window.
|
Method Detail
<static>
AC.pss.Utility.doNothing()
Callback function. This should never be called but it needs to be here so that the User Screen
subscription has a dummy callback.
- Returns:
- void
<static>
AC.pss.Utility.endUserScreenSubscription()
Ends a subscription so that the server can monitor when a user closes a window.
- Returns:
- void
<static>
AC.pss.Utility.refreshPage()
Callback function executed upon deletion of a user's role and activity relationships.
- Returns:
- void
<static>
AC.pss.Utility.renderIt(superiorContributionId, componentId, target, callbackObject, callbackMethod, renderer, subComponentRenderers)
Renders the specified component to the specified target location using the specified renderers.
- Parameters:
- superiorContributionId
- the superior contribution id
- componentId
- the component id
- target
- the rendering target
- callbackObject
- the callback object
- callbackMethod
- the callback method
- renderer
- the component renderer
- subComponentRenderers
- the sub-component renderers
- Returns:
- void
<static>
AC.pss.Utility.renderItAsButton(config)
Renders the specified tool as a button to the specified target location.
- Parameters:
- config
- the configuration of the button
- Returns:
- void
<static>
AC.pss.Utility.startUserPageListener(roleUserRelationshipId, activityUserRelationshipId)
Starts a listener for relationships of the specified user to the specified role and activity ids.
- Parameters:
- roleUserRelationshipId
- the role user relationship id
- activityUserRelationshipId
- the activity user relationship id
- Returns:
- void
<static>
AC.pss.Utility.startUserScreenSubscription()
Starts a subscription so that the server can monitor when a user closes a window.
- Returns:
- void