Class CommentedOptionFactoryImpl

  • All Implemented Interfaces:
    org.guvnor.common.services.backend.util.CommentedOptionFactory

    @ApplicationScoped
    public class CommentedOptionFactoryImpl
    extends Object
    implements org.guvnor.common.services.backend.util.CommentedOptionFactory
    • Constructor Detail

      • CommentedOptionFactoryImpl

        public CommentedOptionFactoryImpl()
      • CommentedOptionFactoryImpl

        @Inject
        public CommentedOptionFactoryImpl​(org.uberfire.rpc.SessionInfo safeSessionInfo)
    • Method Detail

      • makeCommentedOption

        public org.uberfire.java.nio.base.options.CommentedOption makeCommentedOption​(String commitMessage)
        Specified by:
        makeCommentedOption in interface org.guvnor.common.services.backend.util.CommentedOptionFactory
      • makeCommentedOption

        public org.uberfire.java.nio.base.options.CommentedOption makeCommentedOption​(String commitMessage,
                                                                                      org.jboss.errai.security.shared.api.identity.User identity,
                                                                                      org.uberfire.rpc.SessionInfo sessionInfo)
        Specified by:
        makeCommentedOption in interface org.guvnor.common.services.backend.util.CommentedOptionFactory
      • makeCommentedOption

        public org.uberfire.java.nio.base.options.CommentedOption makeCommentedOption​(String sessionId,
                                                                                      String commitMessage)
        Specified by:
        makeCommentedOption in interface org.guvnor.common.services.backend.util.CommentedOptionFactory
      • getSafeSessionId

        public String getSafeSessionId()
        Specified by:
        getSafeSessionId in interface org.guvnor.common.services.backend.util.CommentedOptionFactory
      • getSafeIdentityName

        public String getSafeIdentityName()
        Specified by:
        getSafeIdentityName in interface org.guvnor.common.services.backend.util.CommentedOptionFactory
      • getIdentityName

        protected String getIdentityName​(org.jboss.errai.security.shared.api.identity.User identity)