|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElementComponentDefinition
Extended component definition that should be used by elementComponents to provide GX WebManager with additional information/configuration.
| Method Summary | |
|---|---|
char |
getAccessKey()
Returns the shortcut key for in the WebManager element menu that can be used to add an element to an element holder like a page. |
java.util.Map<java.lang.Class<? extends Element>,Permission[]> |
getCreatePermissions()
Returns the permissions that grant the user the authorization to create an instance of the element contained by this element component. |
java.util.Map<java.lang.Class<? extends Element>,Permission[]> |
getDeletePermissions()
Returns the permissions that grant the user the authorization to delete an instance of the element contained by this element component. |
java.lang.String |
getDescription()
Returns the description of the element. |
java.lang.String |
getLargeIcon()
Returns the location of the icon for in the WebManager toolbar that can be used to add an element to an element holder like a page. |
java.lang.String |
getName()
Returns the name of the element that is shown in the WebManager element menu. |
java.lang.String |
getPresentationScope()
Returns the presentation scope for the element, is directly mapped on the scope of a presentation object. |
java.lang.String |
getSmallIcon()
Returns the icon for in the WebManager element menu that depicts the type of element. |
void |
setCreatePermissions(java.lang.Class<? extends Element> elementClass,
Permission[] permissions)
Sets the permissions that grant the user the authorization to create an instance of the element contained by this element component. |
void |
setDeletePermissions(java.lang.Class<? extends Element> elementClass,
Permission[] permissions)
Sets the permissions that grant the user the authorization to delete an instance of the element contained by this element component. |
| Methods inherited from interface nl.gx.webmanager.wcb.MenuItemComponentDefinition |
|---|
getMenuItemPermissions, getMenuTextMessageKey, getTargetMenu, getTargetMenuLocationAfter, getTargetMenuLocationBefore |
| Method Detail |
|---|
char getAccessKey()
java.lang.String getPresentationScope()
java.lang.String getLargeIcon()
java.lang.String getSmallIcon()
java.lang.String getName()
getName in interface ComponentDefinitionjava.lang.String getDescription()
getDescription in interface ComponentDefinitionjava.util.Map<java.lang.Class<? extends Element>,Permission[]> getCreatePermissions()
void setCreatePermissions(java.lang.Class<? extends Element> elementClass,
Permission[] permissions)
null, create permission is granted to all users
elementClass - Element class to set the permissions for. The permissions will
be applicable for any instances of the given class.permissions - All permissions that grant the user the authorization
to create an instance of the element contained by this element componentjava.util.Map<java.lang.Class<? extends Element>,Permission[]> getDeletePermissions()
void setDeletePermissions(java.lang.Class<? extends Element> elementClass,
Permission[] permissions)
null, delete permission is granted to all users
elementClass - Element class to set the permissions for. The permissions will
be applicable for any instances of the given class.permissions - All permissions that grant the user the authorization
to delete an instance of the element contained by this element component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||