liferay-resource-action-mapping_6_1_0.dtd: Elements - Entities - Source | Intro - Index
FRAMES / NO FRAMES
liferay-resource-action-mapping_6_1_0.dtd
<!DOCTYPE resource-action-mapping PUBLIC
"-//Liferay//DTD Resource Action Mapping 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-resource-action-mapping_6_1_0.dtd">
|
<resource-action-mapping> |
Root element
|
The resource-action-mapping is the root of the deployment descriptor for a
resource action descriptor that is used to define actions that are supported
on portal resources such as portlets and models.
Element's model:(portlet-resource*, model-resource*, resource*)
The portlet-resource element defines the permissions of the portlet.
Element's model:(portlet-name, permissions?)
The portlet-name element is the name of the portlet.
The permissions define the default permissions granted and unsupported to
community members, guests users, and layout managers.
Element's model:(supports, (community-defaults | site-member-defaults)?, guest-defaults?, guest-unsupported?, layout-manager?, owner-defaults?)
The supports element defines the actions supported by this resource.
| <supports>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The action-key element defines the name of the action. The name will be
translated as specified in Language.properties. For example, if the action key
is "VIEW", then the key in Language.properties will be "action.VIEW".
The community-defaults element specifies the actions that community members are
permitted to perform by default. This element is deprecated and will be deleted
in future versions. Use the site-member-defaults element instead.
| <community-defaults>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The site-defaults element specifies the actions that site members are
permitted to perform by default.
| <site-member-defaults>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The guest-defaults element specifies the actions that guest users are permitted
to perform by default.
| <guest-defaults>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The guest-unsupported element specifies the actions that guests are never
permitted to perform. This disables the ability to assign permissions for these
actions. Only define actions here if you wish to prevent anyone from granting
permissions to perform these actions.
| <guest-unsupported>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The layout-manager element specifies the actions that layout managers are
permitted to perform. If omitted, then layout-managers are granted permissions
on all supported actions. If included, then layout managers can only perform
actions specified in this element.
| <layout-manager>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The owner-defaults element specifies the actions that the creator of the
resource is permitted to perform. If omitted, then owners are granted
permissions on all supported actions.
| <owner-defaults>'s children |
|
| Name | Cardinality |
|
| action-key | Any number |
|
Element's model:(action-key*)
The model-resource element defines the permissions and social equity rules of
the model.
Element's model:(model-name, portlet-ref, permissions?, social-equity?)
The model-name element is the name of the model.
The portlet-ref element is the name of the portlet that the model belongs to.
| <portlet-ref>'s children |
|
| Name | Cardinality |
|
| portlet-name | Any number |
|
Element's model:(portlet-name*)
The social-equity element specifies the social equity mappings for different
actions that can be performed on the the model.
Element's model:(social-equity-mapping*)
The social-equity-mapping element specifies the social equity values that
can be applied to a particular action on the model.
Element's model:(action-key, information-daily-limit?, information-value?, information-lifespan?, participation-daily-limit?, participation-value?, participation-lifespan?, social-activity-mapping?, unique?)
The information-daily-limit entity specifies the amount of added information
(information-value) that can be applied to a user's social score for the action
on an asset and in turn to its owner's contribution score on a daily basis.
The information-value specifies the value of contributing information added to
the asset each time the action is perfomed. Information-daily-limit may affect
this setting.
The information-lifespan entity specifies the length of time in days over which
the corresponding information-value is linearly decreased to zero.
The participation-daily-limit entity specifies the amount of participation
(participation-value) that can be applied to a user's participation score for
the action on an asset on a daily basis.
The participation-value entity specifies the value added to the user's
participation score for performing the action.
The participation-lifespan entity specifies the length of time in days over
which the corresponding participation-value is linearly decreased to zero.
Sorry, no documentation.
| <social-activity-mapping>'s attributes |
|
| Name | Values | Default |
|
| class | | |
|
Sorry, no documentation.
Required
The unique element specifies whether the action will provide value to the
user's or asset's score if it is performed more than once on the same asset
by the user.
The resource element specifies an external file that contains
resource-action-mappings.
| <resource>'s attributes |
|
| Name | Values | Default |
|
| file | | |
This element is always empty.
The attribute file specifies the external file that should be loaded to define
resource actions.
Required