|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.shop.admin.ShopSettingsEditor
public class ShopSettingsEditor
The editor of the ShopSettings as used by the pulse
web-site-administration.
ShopSettings| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
ShopSettingsEditor()
|
|
| Method Summary | |
|---|---|
void |
createShopSettings(Bundle bundle, ServiceRequest request)
Creates new ShopSettings for the given bundle and locale with the
default Currency for the given locale and persists the settings. |
void |
deleteTaxgroupsEditor(Bundle bundle, ServiceRequest request)
Deletes a TaxGroup, if the TaxGroup is not associated
with any Prices. |
ShopSettingsEditorResult |
editShopSettings(Bundle bundle, ServiceRequest request)
Returns the JAXB-able ShopSettings to initialise the editor with. |
void |
initialize(ShopSettingsEditorConfiguration conf)
Initialises the ShopSettingsEditor with the given
Configuration. |
ShopSettingsEditorResult |
initShopSettingsWestPanel(Bundle bundle, ServiceRequest request)
Initialises the west-panel of the pulse website-administration for the ShopSettingsEditor. |
java.lang.Object |
initShopSettingsWestTree(Bundle bundle, ServiceRequest request)
Loads the tree-nodes for the west-panel-tree/s. |
ShopSettingsEditorResult |
initTaxgroupsEditor(Bundle bundle, ServiceRequest request)
Returns the TaxGroups-editor(-grid) for a ShopSettings
which is determined by a given id in the request. |
void |
loadTaxgroupsEditor(Bundle bundle, ServiceRequest request)
Returns a JSON-response: the TaxGroups for a ShopSettings
-id which is determined by a given id in the request. |
void |
saveShopSettings(Bundle bundle, ServiceRequest request)
Saves the ShopSettings. |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShopSettingsEditor()
| Method Detail |
|---|
@RequireToken @Action(value="initShopSettingsWestPanel", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final ShopSettingsEditorResult initShopSettingsWestPanel(Bundle bundle, ServiceRequest request)
ShopSettingsEditor.
bundle - the Bundlerequest - the ServiceRequest
Object@RequireToken @Action(value="initShopSettingsWestTree", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final java.lang.Object initShopSettingsWestTree(Bundle bundle, ServiceRequest request)
bundle - the Bundlerequest - the ServiceRequest
null@RequireToken @Action(value="createShopSettings", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final void createShopSettings(Bundle bundle, ServiceRequest request)
ShopSettings for the given bundle and locale with the
default Currency for the given locale and persists the settings.
bundle - the Bundlerequest - the ServiceRequest@RequireToken @Action(value="editShopSettings", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final ShopSettingsEditorResult editShopSettings(Bundle bundle, ServiceRequest request)
ShopSettings to initialise the editor with.
bundle - the Bundlerequest - the ServiceRequest
ShopSettings to initialise the editor with@RequireToken @Action(value="initTaxgroupsEditor", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final ShopSettingsEditorResult initTaxgroupsEditor(Bundle bundle, ServiceRequest request)
TaxGroups-editor(-grid) for a ShopSettings
which is determined by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest
TaxGroup s-editor(-grid)
for a ShopSettings@RequireToken @Action(value="loadTaxgroupsEditor", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final void loadTaxgroupsEditor(Bundle bundle, ServiceRequest request)
TaxGroups for a ShopSettings
-id which is determined by a given id in the request.
Send a JSON-response: the TaxGroups for a ShopSettings-id
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="deleteTaxgroupsEditor", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final void deleteTaxgroupsEditor(Bundle bundle, ServiceRequest request)
TaxGroup, if the TaxGroup is not associated
with any Prices.
Sends a JSON-response: trueif deletion has succeeded,
false otherwise.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="saveShopSettings", generate=true) @Permission(value="editShopSettings") @Groups(values="ShopAdministrator") public final void saveShopSettings(Bundle bundle, ServiceRequest request)
ShopSettings.
Sends a JSON-response: indicating whether the save of the
ShopSettings has been successful.
bundle - the current Bundlerequest - the current ServiceRequestpublic final void initialize(ShopSettingsEditorConfiguration conf)
ShopSettingsEditor with the given
Configuration.
initialize in interface Configurable<ShopSettingsEditorConfiguration>conf - the Configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||