com.textrecruit.ustack.data.UserLinkAction Maven / Gradle / Ivy
package com.textrecruit.ustack.data;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import com.textrecruit.ustack.aaa.LinkActionInterface;
import com.textrecruit.ustack.aaa.ResourceLink;
import com.textrecruit.ustack.data.UntzDBObject;
import com.textrecruit.ustack.data.UserAccount;
public class UserLinkAction implements LinkActionInterface {
public DBObject getResourceLinkExtras(ResourceLink link) {
DBObject ret = new BasicDBObject();
ret.put("userName", link.get("userName"));
ret.put("linkText", link.get("userName"));
return ret;
}
public void linkCreated(UntzDBObject user, ResourceLink link) {
}
public void linkRemoved(UntzDBObject user, ResourceLink link) {
}
@Override
public void setType(String type) {
}
@Override
public void setRole(String role) {
}
@Override
public void setUser(UserAccount user) {
}
@Override
public UserAccount getUser() {
return null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy