de.espirit.firstspirit.access
Class MediaDependentContentUtil

java.lang.Object
  extended by de.espirit.firstspirit.access.MediaDependentContentUtil

Deprecated. Use with caution. will be removed in later releases and replaced by a ServerAction.

@Deprecated
public class MediaDependentContentUtil
extends Object

Release Entities Entity with referenced Media Media recursive.


Method Summary
protected static Map<Entity,Set<BinaryMedium>> collectAggregatedEntities(Map<Entity,Set<BinaryMedium>> map, Host host)
          Deprecated.  
protected static Map<Entity,Set<BinaryMedium>> collectUnreleasedEntities(Map<WorkflowScriptContext,Workflowable> workflowables, Host host)
          Deprecated.  
protected static Set<BinaryMedium> collectUnreleaseMedia(Entity entity, Map<Entity,Set<BinaryMedium>> result, Host host)
          Deprecated.  
protected static Set<BinaryMedium> getAllBinaryMedia(EditorValue<?> editorValue, List<Language> languageList)
          Deprecated.  
protected static BinaryMedium getBinaryMedium(Object o)
          Deprecated.  
protected static EditorValue<?> getEditorValue(de.espirit.firstspirit.client.editorcomponent.EditorWrapper editorWrapper, Host host)
          Deprecated.  
protected static de.espirit.firstspirit.client.editorcomponent.EditorWrapper getEditorWrapper(Object value)
          Deprecated.  
protected static de.espirit.or.impl.PersistentList getPersistentList(Object value)
          Deprecated.  
protected static Project getProject(Host host)
          Deprecated.  
protected static boolean isBinaryMedium(Object o)
          Deprecated.  
protected static boolean isEditorWrapper(Object value)
          Deprecated.  
protected static boolean isPersistentList(Object value)
          Deprecated.  
static void release(WorkflowScriptContext context, String comment)
          Deprecated.  
protected static void releaseEntities(Map<Entity,Set<BinaryMedium>> releaseMap, String comment)
          Deprecated.  
protected static void releaseMedia(Set<BinaryMedium> releaseMap)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

release

public static void release(WorkflowScriptContext context,
                           String comment)
                    throws WorkflowLockException
Deprecated. 
Throws:
WorkflowLockException

collectAggregatedEntities

protected static Map<Entity,Set<BinaryMedium>> collectAggregatedEntities(Map<Entity,Set<BinaryMedium>> map,
                                                                         Host host)
Deprecated. 

releaseEntities

protected static void releaseEntities(Map<Entity,Set<BinaryMedium>> releaseMap,
                                      String comment)
                               throws LockException,
                                      ElementDeletedException
Deprecated. 
Throws:
LockException
ElementDeletedException

releaseMedia

protected static void releaseMedia(Set<BinaryMedium> releaseMap)
                            throws LockException,
                                   ElementDeletedException
Deprecated. 
Throws:
LockException
ElementDeletedException

collectUnreleasedEntities

protected static Map<Entity,Set<BinaryMedium>> collectUnreleasedEntities(Map<WorkflowScriptContext,Workflowable> workflowables,
                                                                         Host host)
Deprecated. 

collectUnreleaseMedia

protected static Set<BinaryMedium> collectUnreleaseMedia(Entity entity,
                                                         Map<Entity,Set<BinaryMedium>> result,
                                                         Host host)
Deprecated. 

getAllBinaryMedia

protected static Set<BinaryMedium> getAllBinaryMedia(EditorValue<?> editorValue,
                                                     @Nullable
                                                     List<Language> languageList)
Deprecated. 

getBinaryMedium

@Nullable
protected static BinaryMedium getBinaryMedium(Object o)
Deprecated. 

isBinaryMedium

protected static boolean isBinaryMedium(Object o)
Deprecated. 

isEditorWrapper

protected static boolean isEditorWrapper(Object value)
Deprecated. 

getEditorWrapper

@Nullable
protected static de.espirit.firstspirit.client.editorcomponent.EditorWrapper getEditorWrapper(Object value)
Deprecated. 

isPersistentList

protected static boolean isPersistentList(Object value)
Deprecated. 

getPersistentList

@Nullable
protected static de.espirit.or.impl.PersistentList getPersistentList(Object value)
Deprecated. 

getEditorValue

@Nullable
protected static EditorValue<?> getEditorValue(@NotNull
                                                        de.espirit.firstspirit.client.editorcomponent.EditorWrapper editorWrapper,
                                                        Host host)
Deprecated. 

getProject

@Nullable
protected static Project getProject(Host host)
Deprecated. 


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480