@ApplicationScoped public class CommentedOptionFactoryImpl extends Object implements CommentedOptionFactory
Constructor and Description |
---|
CommentedOptionFactoryImpl() |
CommentedOptionFactoryImpl(SessionInfo safeSessionInfo) |
Modifier and Type | Method and Description |
---|---|
protected String |
getIdentityName(org.jboss.errai.security.shared.api.identity.User identity) |
String |
getSafeIdentityName() |
String |
getSafeSessionId() |
CommentedOption |
makeCommentedOption(String commitMessage) |
CommentedOption |
makeCommentedOption(String sessionId,
String commitMessage) |
CommentedOption |
makeCommentedOption(String commitMessage,
org.jboss.errai.security.shared.api.identity.User identity,
SessionInfo sessionInfo) |
public CommentedOptionFactoryImpl()
@Inject public CommentedOptionFactoryImpl(SessionInfo safeSessionInfo)
public CommentedOption makeCommentedOption(String commitMessage)
makeCommentedOption
in interface CommentedOptionFactory
public CommentedOption makeCommentedOption(String commitMessage, org.jboss.errai.security.shared.api.identity.User identity, SessionInfo sessionInfo)
makeCommentedOption
in interface CommentedOptionFactory
public CommentedOption makeCommentedOption(String sessionId, String commitMessage)
makeCommentedOption
in interface CommentedOptionFactory
public String getSafeSessionId()
getSafeSessionId
in interface CommentedOptionFactory
public String getSafeIdentityName()
getSafeIdentityName
in interface CommentedOptionFactory
protected String getIdentityName(org.jboss.errai.security.shared.api.identity.User identity)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.