Kie Workbench - Common - Services Backend 6.2.0.Final

org.kie.workbench.common.services.backend.service
Class KieService<T>

java.lang.Object
  extended by org.kie.workbench.common.services.backend.service.KieService<T>
Direct Known Subclasses:
ProjectImportsServiceImpl

public abstract class KieService<T>
extends Object


Field Summary
protected  javax.enterprise.event.Event<CommentAddedEvent> commentAddedEvent
           
protected  org.jboss.errai.security.shared.api.identity.User identity
           
protected  org.guvnor.common.services.backend.metadata.MetadataServerSideService metadataService
           
protected  KieProjectService projectService
           
protected  org.uberfire.rpc.SessionInfo sessionInfo
           
protected  SourceServices sourceServices
           
 
Constructor Summary
KieService()
           
 
Method Summary
protected abstract  T constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)
           
protected  void fireMetadataSocialEvents(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Metadata currentMetadata, org.guvnor.common.services.shared.metadata.model.Metadata newMetadata)
           
 String getSource(org.uberfire.backend.vfs.Path path)
           
 T loadContent(org.uberfire.backend.vfs.Path path)
           
protected  org.uberfire.java.nio.base.options.CommentedOption makeCommentedOption(String commitMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metadataService

@Inject
protected org.guvnor.common.services.backend.metadata.MetadataServerSideService metadataService

sourceServices

@Inject
protected SourceServices sourceServices

projectService

@Inject
protected KieProjectService projectService

commentAddedEvent

@Inject
protected javax.enterprise.event.Event<CommentAddedEvent> commentAddedEvent

identity

@Inject
protected org.jboss.errai.security.shared.api.identity.User identity

sessionInfo

@Inject
protected org.uberfire.rpc.SessionInfo sessionInfo
Constructor Detail

KieService

public KieService()
Method Detail

loadContent

public T loadContent(org.uberfire.backend.vfs.Path path)

constructContent

protected abstract T constructContent(org.uberfire.backend.vfs.Path path,
                                      org.guvnor.common.services.shared.metadata.model.Overview overview)

getSource

public String getSource(org.uberfire.backend.vfs.Path path)
                 throws SourceGenerationFailedException
Throws:
SourceGenerationFailedException

makeCommentedOption

protected org.uberfire.java.nio.base.options.CommentedOption makeCommentedOption(String commitMessage)

fireMetadataSocialEvents

protected void fireMetadataSocialEvents(org.uberfire.backend.vfs.Path path,
                                        org.guvnor.common.services.shared.metadata.model.Metadata currentMetadata,
                                        org.guvnor.common.services.shared.metadata.model.Metadata newMetadata)

Kie Workbench - Common - Services Backend 6.2.0.Final

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.