Custom operations
|
Copyright 2008-2010 ManyDesigns srl. All rights reserved.
PurposeCustom operations allow you to:
To create a new operation, click on the Operations tab. A search page appears and shows "read" and "delete" as existing operations (it is advisable you never touch these two, as they belong to the core framework). Then click on create and choose the operation type (global, class, object, object set) you want from the picklist. Common fieldsAll operations have the following common fields:
Global operationsA global operation can be accessed anytime, anywhere in the system. In fact, global operations appear on every page of the system. A global operation can appear:
Class operationsA class operation is applicable to a class in general, without necessarily referring to a specific object of the class.Class operations appear on the sub-tab bar on any page of the class. A class operation has the following specific field:
Object operationsAn object operation applies to a specific object of a given class. It appears as a button on the object's details page.A object operation has the following specific field:
Object set operationsAn object set operation applies to a set of one or more objects, rather than a single object.These operations are displayed:
PermissionsGlobal, class and object set operationsOperations of type global, class and object set are subject to visibility by user groups. To define it, use the Visible by meta user group relationship to grant visibility to the user groups you want. If no user group is chosen (which is the case for newly-created operations) the operation is visible by all users.Object operationsObject operations follow the standard permission scheme we discussed for objects. Visit the class for which the object operation is defined. Click on the Permissions button. Make sure you have defined some actors. Scroll down to the permission matrix and locate the operations section.Here you should see the two default operations (create and delete), as well as the custom object operations you have defined. Set the permissions using the checkboxes.
Previous: Class inheritance
Next: Listeners |