pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.store.admin
Class StoreContentImageGroupEditor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.store.admin.StoreContentImageGroupEditor
All Implemented Interfaces:
DeprecatedConfigurable

public class StoreContentImageGroupEditor
extends Controller
implements DeprecatedConfigurable

the editor for a StoreContentImageGroup.

Version:
$Revision: 1914 $
Author:
Daniel Dietz
See Also:
StoreContentImageGroup

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
StoreContentImageGroupEditor()
           
 
Method Summary
 void changeImageGroupImage(Bundle bundle, ServiceRequest request)
          changes an image of an imageGroup.
 void changeImageGroupImageVariant(Bundle bundle, ServiceRequest request)
          changes an image of an imageGroup for a Variant.
 StoreContentImageGroupEditorResult createImageGroup(Bundle bundle, ServiceRequest request)
          creates/returns a non-persistent imageGroup (used for panel-load during create new wizard).
 void init(ConfigBean c)
          initializes the ShopContentEditor.
 StoreContentImageGroupEditorResult loadImageGroup(Bundle bundle, ServiceRequest request)
          loads a StoreContentImageGroup (used for panel-reloads).
 StoreContentImageGroupEditorResult loadImageGroupVariant(Bundle bundle, ServiceRequest request)
          loads a StoreContentImageGroup (used for panel-reloads).
 void removeImageGroup(Bundle bundle, ServiceRequest request)
          deletes an imageGroup.
 void removeImageGroupVariant(Bundle bundle, ServiceRequest request)
          deletes an imageGroup from a variant.
 void renameImageGroup(Bundle bundle, ServiceRequest request)
          renames an imageGroup.
 void renameImageGroupVariant(Bundle bundle, ServiceRequest request)
          renames an imageGroup for a Variant.
 void saveNewImageGroup(Bundle bundle, ServiceRequest request)
          saves a new imageGroup.
 void saveNewImageGroupVariant(Bundle bundle, ServiceRequest request)
          saves a new imageGroup.
 void setMainImageGroup(Bundle bundle, ServiceRequest request)
          sets an image-group as main-image-group of a content.
 void setMainImageGroupVariant(Bundle bundle, ServiceRequest request)
          sets an image-group as main-image-group of a variant.
 
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

StoreContentImageGroupEditor

public StoreContentImageGroupEditor()
Method Detail

createImageGroup

@RequireToken
@Action(value="createNewImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final StoreContentImageGroupEditorResult createImageGroup(Bundle bundle, ServiceRequest request)
creates/returns a non-persistent imageGroup (used for panel-load during create new wizard).

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-response

saveNewImageGroup

@RequireToken
@Action(value="saveNewImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void saveNewImageGroup(Bundle bundle, ServiceRequest request)
saves a new imageGroup.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

saveNewImageGroupVariant

@RequireToken
@Action(value="saveNewImageGroupVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void saveNewImageGroupVariant(Bundle bundle, ServiceRequest request)
saves a new imageGroup.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

removeImageGroup

@RequireToken
@Action(value="removeImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void removeImageGroup(Bundle bundle, ServiceRequest request)
deletes an imageGroup.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

removeImageGroupVariant

@RequireToken
@Action(value="removeImageGroupVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void removeImageGroupVariant(Bundle bundle, ServiceRequest request)
deletes an imageGroup from a variant.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

changeImageGroupImage

@RequireToken
@Action(value="changeImageGroupImage", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void changeImageGroupImage(Bundle bundle, ServiceRequest request)
changes an image of an imageGroup.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

changeImageGroupImageVariant

@RequireToken
@Action(value="changeImageGroupImageVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void changeImageGroupImageVariant(Bundle bundle, ServiceRequest request)
changes an image of an imageGroup for a Variant.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

renameImageGroup

@RequireToken
@Action(value="renameImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void renameImageGroup(Bundle bundle, ServiceRequest request)
renames an imageGroup.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

renameImageGroupVariant

@RequireToken
@Action(value="renameImageGroupVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void renameImageGroupVariant(Bundle bundle, ServiceRequest request)
renames an imageGroup for a Variant.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

loadImageGroup

@RequireToken
@Action(value="loadImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final StoreContentImageGroupEditorResult loadImageGroup(Bundle bundle, ServiceRequest request)
loads a StoreContentImageGroup (used for panel-reloads).

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result

loadImageGroupVariant

@RequireToken
@Action(value="loadImageGroupVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final StoreContentImageGroupEditorResult loadImageGroupVariant(Bundle bundle, ServiceRequest request)
loads a StoreContentImageGroup (used for panel-reloads).

Parameters:
bundle - the current Bundle
request - the current ServiceRequest
Returns:
an AJAX-result

setMainImageGroup

@RequireToken
@Action(value="setMainImageGroup", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void setMainImageGroup(Bundle bundle, ServiceRequest request)
sets an image-group as main-image-group of a content.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

setMainImageGroupVariant

@RequireToken
@Action(value="setMainImageGroupVariant", generate=true)
@Permission(value="editStoreContentImageGroup")
@Groups(values="StoreAdministrator")
public final void setMainImageGroupVariant(Bundle bundle, ServiceRequest request)
sets an image-group as main-image-group of a variant.

Parameters:
bundle - the current Bundle
request - the current ServiceRequest

init

public void init(ConfigBean c)
initializes the ShopContentEditor. Provides required AJAX-XSLs.

Specified by:
init in interface DeprecatedConfigurable
Parameters:
c - the ConfigBean of this Controller