本文整理汇总了Java中org.activiti.engine.impl.persistence.entity.IdentityInfoEntity类的典型用法代码示例。如果您正苦于以下问题:Java IdentityInfoEntity类的具体用法?Java IdentityInfoEntity怎么用?Java IdentityInfoEntity使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IdentityInfoEntity类属于org.activiti.engine.impl.persistence.entity包,在下文中一共展示了IdentityInfoEntity类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key) {
// Map<String, String> parameters = new HashMap<String, String>();
// parameters.put("userId", userId);
// parameters.put("key", key);
// return (IdentityInfoEntity) getDbSqlSession().selectOne("selectIdentityInfoByUserIdAndKey", parameters);
throw new RuntimeException("not implement method.");
}
示例2: execute
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public String execute(CommandContext commandContext) {
IdentityInfoEntity identityInfo = commandContext
.getIdentityInfoManager()
.findUserInfoByUserIdAndKey(userId, key);
return (identityInfo!=null ? identityInfo.getValue() : null);
}
示例3: SetUserInfoCmd
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public SetUserInfoCmd(String userId, String userPassword, String accountName, String accountUsername, String accountPassword, Map<String, String> accountDetails) {
this.userId = userId;
this.userPassword = userPassword;
this.type = IdentityInfoEntity.TYPE_USERACCOUNT;
this.key = accountName;
this.value = accountUsername;
this.accountPassword = accountPassword;
this.accountDetails = accountDetails;
}
示例4: execute
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public String execute(CommandContext commandContext) {
IdentityInfoEntity identityInfo = commandContext
.getIdentityInfoEntityManager()
.findUserInfoByUserIdAndKey(userId, key);
return (identityInfo!=null ? identityInfo.getValue() : null);
}
示例5: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
@Override
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId,
String key) {
throw new RuntimeException("not implement method.");
}
示例6: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key) {
Map<String, String> parameters = new HashMap<String, String>();
parameters.put("userId", userId);
parameters.put("key", key);
return (IdentityInfoEntity) getDbSqlSession().selectOne("selectIdentityInfoByUserIdAndKey", parameters);
}
示例7: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
@Override
public IdentityInfoEntity findUserInfoByUserIdAndKey(final String userId,
final String key) {
throw new UnsupportedOperationException();
}
示例8: getUserInfoKeys
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public List<String> getUserInfoKeys(String userId) {
return commandExecutor.execute(new GetUserInfoKeysCmd(userId, IdentityInfoEntity.TYPE_USERINFO));
}
示例9: getUserAccountNames
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public List<String> getUserAccountNames(String userId) {
return commandExecutor.execute(new GetUserInfoKeysCmd(userId, IdentityInfoEntity.TYPE_USERACCOUNT));
}
示例10: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
@Override
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key) {
String msg = "Invoked UserIdentityManager method is not implemented in BPSUserIdentityManager.";
throw new UnsupportedOperationException(msg);
}
示例11: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public IdentityInfoEntity findUserInfoByUserIdAndKey(final String userId, final String key) {
throw new UnsupportedOperationException();
}
示例12: findUserInfoByUserIdAndKey
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
@Override
public IdentityInfoEntity findUserInfoByUserIdAndKey(String userId, String key) {
throw new UnsupportedOperationException();
}
示例13: SetUserInfoCmd
import org.activiti.engine.impl.persistence.entity.IdentityInfoEntity; //导入依赖的package包/类
public SetUserInfoCmd(String userId, String key, String value) {
this.userId = userId;
this.type = IdentityInfoEntity.TYPE_USERINFO;
this.key = key;
this.value = value;
}