public abstract class AutoXdatUser extends BaseElement implements XdatUserI
ItemWrapper.FieldEmptyException
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
SCHEMA_ELEMENT_NAME |
allowXMLDBAccess
Constructor and Description |
---|
AutoXdatUser() |
AutoXdatUser(Hashtable properties,
UserI user) |
AutoXdatUser(ItemI item) |
AutoXdatUser(UserI user) |
Modifier and Type | Method and Description |
---|---|
static ArrayList<XdatUser> |
getAllXdatUsers(UserI user,
boolean preLoad) |
ArrayList<XdatRoleType> |
getAssignedRoles_assignedRole()
assigned_roles/assigned_role
|
ArrayList<XdatElementAccess> |
getElementAccess()
element_access
|
String |
getEmail() |
Boolean |
getEnabled() |
ArrayList<ResourceFile> |
getFileResources(String rootPath,
boolean preventLoop) |
String |
getFirstname() |
ArrayList<XdatUserGroupid> |
getGroups_groupid()
groups/groupID
|
String |
getLastname() |
String |
getLogin() |
Boolean |
getPrimaryPassword_encrypt() |
String |
getPrimaryPassword() |
String |
getQuarantinePath() |
String |
getSalt() |
String |
getSchemaElementName() |
Boolean |
getVerified() |
Integer |
getXdatUserId() |
static ArrayList<XdatUser> |
getXdatUsersByField(CriteriaCollection criteria,
UserI user,
boolean preLoad) |
static ArrayList<XdatUser> |
getXdatUsersByField(String xmlPath,
Object value,
UserI user,
boolean preLoad) |
static XdatUser |
getXdatUsersByLogin(String value,
UserI user,
boolean preLoad) |
static XdatUser |
getXdatUsersByXdatUserId(Integer value,
UserI user,
boolean preLoad) |
void |
removeAssignedRoles_assignedRole(int index)
Removes the assigned_roles/assigned_role of the given index.
|
void |
removeElementAccess(int index)
Removes the element_access of the given index.
|
void |
removeGroups_groupid(int index)
Removes the groups/groupID of the given index.
|
void |
setAssignedRoles_assignedRole(ItemI v)
Sets the value for assigned_roles/assigned_role.
|
void |
setElementAccess(ItemI v)
Sets the value for element_access.
|
void |
setEmail(String v)
Sets the value for email.
|
void |
setEnabled(Object v)
Sets the value for enabled.
|
void |
setFirstname(String v)
Sets the value for firstname.
|
void |
setGroups_groupid(ItemI v)
Sets the value for groups/groupID.
|
void |
setLastname(String v)
Sets the value for lastname.
|
void |
setLogin(String v)
Sets the value for login.
|
void |
setPrimaryPassword_encrypt(Object v)
Sets the value for primary_password/encrypt.
|
void |
setPrimaryPassword(String v)
Sets the value for primary_password.
|
void |
setQuarantinePath(String v)
Sets the value for quarantine_path.
|
void |
setSalt(String v)
Sets the value for salt.
|
void |
setVerified(Object v)
Sets the value for verified.
|
void |
setXdatUserId(Integer v)
Sets the value for xdat_user_id.
|
static ArrayList |
wrapItems(ArrayList items) |
static ArrayList |
wrapItems(ItemCollection items) |
getDateDiff, getDisplayField, getDisplayField, getDisplayFields, getFileResources, GetGeneratedClass, GetGeneratedItem, getInsertDate, getInsertUser, getSchemaElement, getSecurityTags, loadDisplayFields, log, output, output, readExternal, setBooleanProperty, setBooleanProperty, setBooleanProperty, setBooleanProperty, setProperty, toJoinedXML, toString, WrapItems, writeExternal
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getDoubleProperty, getFloatProperty, getIntegerProperty, getItem, getLongCreateTime, getMetaCreatedBy, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, postSave, preSave, quarantine, save, save, setItem, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, toXML, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
activate, canActivate, canCreate, canDelete, canEdit, canRead, extend, getBooleanProperty, getBooleanProperty, getBooleanProperty, getChildItemCollection, getChildItems, getChildItems, getChildItems, getChildItems, getCurrentDBVersion, getCurrentDBVersion, getDateProperty, getDBName, getItem, getParent, getPossibleValues, getProperty, getProps, getStringProperty, getUser, getXSIType, hasProperty, isActive, lock, needsActivation, quarantine, save, save, setParent, toHTML, toXML_BOS, toXML, toXML, toXML, toXML, toXML, validate
public static final org.apache.log4j.Logger logger
public static final String SCHEMA_ELEMENT_NAME
public AutoXdatUser(ItemI item)
public AutoXdatUser(UserI user)
public AutoXdatUser()
public String getSchemaElementName()
getSchemaElementName
in interface XdatUserI
getSchemaElementName
in class ItemWrapper
public String getLogin()
public void setLogin(String v)
public String getFirstname()
getFirstname
in interface XdatUserI
public void setFirstname(String v)
setFirstname
in interface XdatUserI
v
- Value to Set.public String getLastname()
getLastname
in interface XdatUserI
public void setLastname(String v)
setLastname
in interface XdatUserI
v
- Value to Set.public String getEmail()
public void setEmail(String v)
public String getPrimaryPassword()
getPrimaryPassword
in interface XdatUserI
public void setPrimaryPassword(String v)
setPrimaryPassword
in interface XdatUserI
v
- Value to Set.public Boolean getPrimaryPassword_encrypt()
getPrimaryPassword_encrypt
in interface XdatUserI
public void setPrimaryPassword_encrypt(Object v)
setPrimaryPassword_encrypt
in interface XdatUserI
v
- Value to Set.public String getSalt()
public void setSalt(String v)
v
- Value to Set.public ArrayList<XdatElementAccess> getElementAccess()
getElementAccess
in interface XdatUserI
public void setElementAccess(ItemI v) throws Exception
setElementAccess
in interface XdatUserI
v
- Value to Set.Exception
public void removeElementAccess(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatRoleType> getAssignedRoles_assignedRole()
getAssignedRoles_assignedRole
in interface XdatUserI
public void setAssignedRoles_assignedRole(ItemI v) throws Exception
setAssignedRoles_assignedRole
in interface XdatUserI
v
- Value to Set.Exception
public void removeAssignedRoles_assignedRole(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public String getQuarantinePath()
getQuarantinePath
in interface XdatUserI
public void setQuarantinePath(String v)
setQuarantinePath
in interface XdatUserI
v
- Value to Set.public ArrayList<XdatUserGroupid> getGroups_groupid()
public void setGroups_groupid(ItemI v) throws Exception
v
- Value to Set.Exception
public void removeGroups_groupid(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public Boolean getEnabled()
getEnabled
in interface XdatUserI
public void setEnabled(Object v)
setEnabled
in interface XdatUserI
v
- Value to Set.public Boolean getVerified()
getVerified
in interface XdatUserI
public void setVerified(Object v)
setVerified
in interface XdatUserI
v
- Value to Set.public Integer getXdatUserId()
getXdatUserId
in interface XdatUserI
public void setXdatUserId(Integer v)
setXdatUserId
in interface XdatUserI
v
- Value to Set.public static ArrayList<XdatUser> getXdatUsersByField(String xmlPath, Object value, UserI user, boolean preLoad)
public static ArrayList<XdatUser> getXdatUsersByField(CriteriaCollection criteria, UserI user, boolean preLoad)
public static XdatUser getXdatUsersByXdatUserId(Integer value, UserI user, boolean preLoad)
public static XdatUser getXdatUsersByLogin(String value, UserI user, boolean preLoad)
public static ArrayList wrapItems(ItemCollection items)
public ArrayList<ResourceFile> getFileResources(String rootPath, boolean preventLoop)
getFileResources
in class BaseElement
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.