@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 CommentedOptionFactorypublic CommentedOption makeCommentedOption(String commitMessage, org.jboss.errai.security.shared.api.identity.User identity, SessionInfo sessionInfo)
makeCommentedOption in interface CommentedOptionFactorypublic CommentedOption makeCommentedOption(String sessionId, String commitMessage)
makeCommentedOption in interface CommentedOptionFactorypublic String getSafeSessionId()
getSafeSessionId in interface CommentedOptionFactorypublic String getSafeIdentityName()
getSafeIdentityName in interface CommentedOptionFactoryprotected String getIdentityName(org.jboss.errai.security.shared.api.identity.User identity)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.