|
|
|
|
|
||||||||||
| 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.site.content.admin.AbstractBasicContentEditor
org.torweg.pulse.component.store.admin.StoreContentEditor
org.torweg.pulse.component.shop.admin.ShopContentEditor
public class ShopContentEditor
ShopContent, ShopVariant, ShopItem| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.site.content.admin.AbstractBasicContentEditor |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
ShopContentEditor()
|
|
| Method Summary | |
|---|---|
void |
copyContent(Bundle bundle, ServiceRequest request)
creates a copy of a ShopContent specified by parameter "id" in
request in a folder specified by parameter "toid" in request using the
locale of the folder. |
void |
createSubVariant(Bundle bundle, ServiceRequest request)
creates and saves a new sub- ShopVariant for a
StoreContent. |
void |
createVariant(Bundle bundle, ServiceRequest request)
creates and saves a new ShopVariant for a ShopContent. |
void |
getPriceJSON(Bundle bundle, ServiceRequest request)
returns a price. |
AbstractBasicContentEditorResult |
initEditor(Bundle bundle, ServiceRequest request)
returns the initialized ShopContentEditor for a Content
which is determined by a given id in the request. |
AbstractBasicContentEditorResult |
initPricesEditor(Bundle bundle, ServiceRequest request)
returns the prices-editor(-grid) for a ShopContent which is
determined by a given id in the request. |
AbstractBasicContentEditorResult |
initPricesEditorVariant(Bundle bundle, ServiceRequest request)
returns the prices-editor(-grid) for a ShopVariant which is
determined by a given id in the request. |
AbstractBasicContentEditorResult |
initVariantEditor(Bundle bundle, ServiceRequest request)
starts the Editor for a Variant. |
AbstractBasicContentEditorResult |
loadPriceRoleEditor(Bundle bundle, ServiceRequest request)
returns the price-role-editor(-grid) for a Price which is
specified by a given id in the request. |
AbstractBasicContentEditorResult |
loadPriceRoleEditorVariant(Bundle bundle, ServiceRequest request)
returns the price-role-editor(-grid) for a Price which is
specified by a given id in the request. |
java.lang.Object |
loadPriceRoles(Bundle bundle, ServiceRequest request)
loads the Roles of a Price specified by request-parameter
"id" for the roles-assorter of the price-role-editor within the
pulse-web-site-administration. |
void |
loadPricesEditorGrid(Bundle bundle, ServiceRequest request)
returns the prices-editor(-grid) for a ShopContent which is
specified by a given id in the request. |
void |
loadPricesEditorGridVariant(Bundle bundle, ServiceRequest request)
returns the prices-editor(-grid) for a ShopVariant which is
specified by a given id in the request. |
void |
saveEditor(Bundle bundle, ServiceRequest request)
saves the basic properties of a content (name, suffix, keywords), as well as the page-order. |
void |
savePriceRoles(Bundle bundle, ServiceRequest request)
saves role value changes for a Price. |
void |
savePriceRolesVariant(Bundle bundle, ServiceRequest request)
saves role value changes for a Price. |
| Methods inherited from class org.torweg.pulse.component.store.admin.StoreContentEditor |
|---|
copyStoreContent, initDescriptionEditor, initVariantDescriptionEditor, initVariantSummaryEditor, loadDescription, loadVariantDescription, loadVariantOrOrderCode, loadVariantOrOrderCodeSubVariant, loadVariantSummary, processVariantChanges, removeAllVariants, removeSubVariant, removeVariant, saveDescription, saveVariantDescription, saveVariantSummary, setOrderCode |
| 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 |
| Methods inherited from interface org.torweg.pulse.configuration.DeprecatedConfigurable |
|---|
init |
| Constructor Detail |
|---|
public ShopContentEditor()
| Method Detail |
|---|
@RequireToken @Action(value="initEditor") @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult initEditor(Bundle bundle, ServiceRequest request)
ShopContentEditor for a Content
which is determined by a given id in the request.
initEditor in class StoreContentEditorbundle - the current Bundlerequest - the current ServiceRequest
ShopContentEditor@RequireToken @Action(value="saveShopContent", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void saveEditor(Bundle bundle, ServiceRequest request)
saveEditor in class StoreContentEditorbundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="copyShopContent", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void copyContent(Bundle bundle, ServiceRequest request)
ShopContent specified by parameter "id" in
request in a folder specified by parameter "toid" in request using the
locale of the folder.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="initVariantEditor", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult initVariantEditor(Bundle bundle, ServiceRequest request)
initVariantEditor in class StoreContentEditorbundle - the current Bundlerequest - the current ServiceRequest
@RequireToken @Action(value="createShopVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void createVariant(Bundle bundle, ServiceRequest request)
ShopVariant for a ShopContent.
createVariant in class StoreContentEditorbundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="createShopSubVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public void createSubVariant(Bundle bundle, ServiceRequest request)
ShopVariant for a
StoreContent.
createSubVariant in class StoreContentEditorbundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="initPricesEditor", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult initPricesEditor(Bundle bundle, ServiceRequest request)
ShopContent which is
determined by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest
ShopContentEditor@RequireToken @Action(value="initPricesEditorVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult initPricesEditorVariant(Bundle bundle, ServiceRequest request)
ShopVariant which is
determined by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest
ShopContentEditor@RequireToken @Action(value="loadPricesEditorGrid", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void loadPricesEditorGrid(Bundle bundle, ServiceRequest request)
ShopContent which is
specified by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="loadPricesEditorGridVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void loadPricesEditorGridVariant(Bundle bundle, ServiceRequest request)
ShopVariant which is
specified by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="loadPriceRoleEditor", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult loadPriceRoleEditor(Bundle bundle, ServiceRequest request)
Price which is
specified by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest
null on errors@RequireToken @Action(value="loadPriceRoleEditorVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final AbstractBasicContentEditorResult loadPriceRoleEditorVariant(Bundle bundle, ServiceRequest request)
Price which is
specified by a given id in the request.
bundle - the current Bundlerequest - the current ServiceRequest
null on errors@RequireToken @Action(value="loadPriceRoles", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final java.lang.Object loadPriceRoles(Bundle bundle, ServiceRequest request)
Roles of a Price specified by request-parameter
"id" for the roles-assorter of the price-role-editor within the
pulse-web-site-administration.
Use: load the associated and the un-associated roles of the price according to given request-parameter "unasoc" (default false).
bundle - the current Bundlerequest - the current ServiceRequest
@RequireToken @Action(value="savePriceRoles", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void savePriceRoles(Bundle bundle, ServiceRequest request)
Price.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="savePriceRolesVariant", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void savePriceRolesVariant(Bundle bundle, ServiceRequest request)
Price.
bundle - the current Bundlerequest - the current ServiceRequest@RequireToken @Action(value="getPriceJSON", generate=true) @Permission(value="editShopContent") @Groups(values="ShopAdministrator") public final void getPriceJSON(Bundle bundle, ServiceRequest request)
bundle - the current Bundlerequest - the current ServiceRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||