it.sistematica.isharedoc.service
Class StoryboardServiceImpl

java.lang.Object
  extended by it.sistematica.isharedoc.service.StoryboardServiceImpl
All Implemented Interfaces:
StoryboardService

@Service(value="storyboardService")
public class StoryboardServiceImpl
extends java.lang.Object
implements StoryboardService


Field Summary
(package private)  DocumentManager documentManager
           
(package private)  it.neverworks.data.EntityManager entities
           
(package private)  InstanceSecurityService instanceSecurityService
           
(package private)  MessageboxService messageboxService
           
(package private)  WorkProcessManager processManager
           
(package private)  org.hibernate.SessionFactory sessionFactory
           
(package private)  org.springframework.transaction.PlatformTransactionManager transactionManager
           
(package private)  it.neverworks.application.service.UserInfo userInfo
           
 
Constructor Summary
StoryboardServiceImpl()
           
 
Method Summary
 void activate(Storyboard storyboard)
          Activate.
 Storyboard cloneRevision(Storyboard storyboard)
          Clone revision.
 void deployFromEditor(java.lang.String modelId, java.lang.String editorId, java.lang.String deployName, java.lang.String processId)
          Deploy from editor.
 java.util.List<Storyboard> getActiveStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
          Gets the active storyboards.
 java.util.List<Storyboard> getAuthorizedStartableStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
          Gets the authorized startable storyboards.
 java.util.List<Storyboard> getAuthorizedStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
          Deprecated. 
 java.lang.Class<? extends ItemInstance> getInstanceClassByStoryboard(Storyboard sb)
          Gets the instance class by storyboard.
 void rebuildViews(Storyboard storyboard)
          Rebuild views.
 void repair()
          Repair.
 void repair(Storyboard storyboard)
          Repair.
 Storyboard resolveStoryboardCode(java.lang.String storyboardCode)
          Resolve storyboard code.
 void save(Storyboard storyboard)
          Save.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userInfo

it.neverworks.application.service.UserInfo userInfo

entities

it.neverworks.data.EntityManager entities

sessionFactory

org.hibernate.SessionFactory sessionFactory

transactionManager

org.springframework.transaction.PlatformTransactionManager transactionManager

processManager

WorkProcessManager processManager

documentManager

DocumentManager documentManager

messageboxService

MessageboxService messageboxService

instanceSecurityService

InstanceSecurityService instanceSecurityService
Constructor Detail

StoryboardServiceImpl

public StoryboardServiceImpl()
Method Detail

repair

@Transactional
public void repair()
Description copied from interface: StoryboardService
Repair.

Specified by:
repair in interface StoryboardService

repair

public void repair(Storyboard storyboard)
Description copied from interface: StoryboardService
Repair.

Specified by:
repair in interface StoryboardService
Parameters:
storyboard - the storyboard

save

@Transactional
public void save(Storyboard storyboard)
Description copied from interface: StoryboardService
Save.

Specified by:
save in interface StoryboardService
Parameters:
storyboard - the storyboard

resolveStoryboardCode

@Transactional
public Storyboard resolveStoryboardCode(java.lang.String storyboardCode)
Description copied from interface: StoryboardService
Resolve storyboard code.

Specified by:
resolveStoryboardCode in interface StoryboardService
Parameters:
storyboardCode - the storyboard code
Returns:
the storyboard

deployFromEditor

@Transactional
public void deployFromEditor(java.lang.String modelId,
                                           java.lang.String editorId,
                                           java.lang.String deployName,
                                           java.lang.String processId)
Description copied from interface: StoryboardService
Deploy from editor.

Specified by:
deployFromEditor in interface StoryboardService
Parameters:
modelId - the model id
editorId - the editor id
deployName - the deploy name
processId - the process id

rebuildViews

@Transactional
public void rebuildViews(Storyboard storyboard)
Description copied from interface: StoryboardService
Rebuild views.

Specified by:
rebuildViews in interface StoryboardService
Parameters:
storyboard - the storyboard

activate

@Transactional
public void activate(Storyboard storyboard)
Description copied from interface: StoryboardService
Activate.

Specified by:
activate in interface StoryboardService
Parameters:
storyboard - the storyboard

cloneRevision

@Transactional
public Storyboard cloneRevision(Storyboard storyboard)
Description copied from interface: StoryboardService
Clone revision.

Specified by:
cloneRevision in interface StoryboardService
Parameters:
storyboard - the storyboard
Returns:
the storyboard

getAuthorizedStoryboards

@Deprecated
public java.util.List<Storyboard> getAuthorizedStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
Deprecated. 

Description copied from interface: StoryboardService
Gets the authorized storyboards.

Specified by:
getAuthorizedStoryboards in interface StoryboardService
Parameters:
sbTypes - the sb types
Returns:
the authorized storyboards

getAuthorizedStartableStoryboards

public java.util.List<Storyboard> getAuthorizedStartableStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
Description copied from interface: StoryboardService
Gets the authorized startable storyboards.

Specified by:
getAuthorizedStartableStoryboards in interface StoryboardService
Parameters:
sbTypes - the sb types
Returns:
the authorized startable storyboards

getActiveStoryboards

public java.util.List<Storyboard> getActiveStoryboards(java.util.Collection<Storyboard.StoryboardType> sbTypes)
Description copied from interface: StoryboardService
Gets the active storyboards.

Specified by:
getActiveStoryboards in interface StoryboardService
Parameters:
sbTypes - the sb types
Returns:
the active storyboards

getInstanceClassByStoryboard

public java.lang.Class<? extends ItemInstance> getInstanceClassByStoryboard(Storyboard sb)
Description copied from interface: StoryboardService
Gets the instance class by storyboard.

Specified by:
getInstanceClassByStoryboard in interface StoryboardService
Parameters:
sb - the sb
Returns:
the instance class by storyboard