public abstract class AutoXdatSecurity extends BaseElement implements XdatSecurityI
ItemWrapper.FieldEmptyException
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
SCHEMA_ELEMENT_NAME |
allowXMLDBAccess
Constructor and Description |
---|
AutoXdatSecurity() |
AutoXdatSecurity(Hashtable properties,
UserI user) |
AutoXdatSecurity(ItemI item) |
AutoXdatSecurity(UserI user) |
Modifier and Type | Method and Description |
---|---|
ArrayList<XdatActionType> |
getActions_action()
actions/action
|
static ArrayList<XdatSecurity> |
getAllXdatSecuritys(UserI user,
boolean preLoad) |
ArrayList<XdatElementSecurity> |
getElementSecuritySet_elementSecurity()
element_security_set/element_security
|
ArrayList<ResourceFile> |
getFileResources(String rootPath,
boolean preventLoop) |
ArrayList<XdatUsergroup> |
getGroups_group()
groups/group
|
XdatInfoentryI |
getInfolist_info()
infoList/info
|
Integer |
getInfolist_infoFK() |
XdatNewsentryI |
getNewslist_news()
newsList/news
|
Integer |
getNewslist_newsFK() |
Boolean |
getRequireLogin() |
ArrayList<XdatRoleType> |
getRoles_role()
roles/role
|
String |
getSchemaElementName() |
String |
getSystem() |
ArrayList<XdatUser> |
getUsers_user()
users/user
|
Integer |
getXdatSecurityId() |
static ArrayList<XdatSecurity> |
getXdatSecuritysByField(CriteriaCollection criteria,
UserI user,
boolean preLoad) |
static ArrayList<XdatSecurity> |
getXdatSecuritysByField(String xmlPath,
Object value,
UserI user,
boolean preLoad) |
static XdatSecurity |
getXdatSecuritysBySystem(Object value,
UserI user,
boolean preLoad) |
static XdatSecurity |
getXdatSecuritysByXdatSecurityId(Object value,
UserI user,
boolean preLoad) |
void |
removeActions_action(int index)
Removes the actions/action of the given index.
|
void |
removeElementSecuritySet_elementSecurity(int index)
Removes the element_security_set/element_security of the given index.
|
void |
removeGroups_group(int index)
Removes the groups/group of the given index.
|
void |
removeInfolist_info()
Removes the infoList/info.
|
void |
removeNewslist_news()
Removes the newsList/news.
|
void |
removeRoles_role(int index)
Removes the roles/role of the given index.
|
void |
removeUsers_user(int index)
Removes the users/user of the given index.
|
void |
setActions_action(ItemI v)
Sets the value for actions/action.
|
void |
setElementSecuritySet_elementSecurity(ItemI v)
Sets the value for element_security_set/element_security.
|
void |
setGroups_group(ItemI v)
Sets the value for groups/group.
|
void |
setInfolist_info(ItemI v)
Sets the value for infoList/info.
|
void |
setInfolist_infoFK(Integer v)
Sets the value for xdat:security/infolist_info_xdat_infoentry_id.
|
void |
setNewslist_news(ItemI v)
Sets the value for newsList/news.
|
void |
setNewslist_newsFK(Integer v)
Sets the value for xdat:security/newslist_news_xdat_newsentry_id.
|
void |
setRequireLogin(Object v)
Sets the value for require_login.
|
void |
setRoles_role(ItemI v)
Sets the value for roles/role.
|
void |
setSystem(String v)
Sets the value for system.
|
void |
setUsers_user(ItemI v)
Sets the value for users/user.
|
void |
setXdatSecurityId(Integer v)
Sets the value for xdat_security_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 AutoXdatSecurity(ItemI item)
public AutoXdatSecurity(UserI user)
public AutoXdatSecurity()
public String getSchemaElementName()
getSchemaElementName
in interface XdatSecurityI
getSchemaElementName
in class ItemWrapper
public ArrayList<XdatUsergroup> getGroups_group()
public void setGroups_group(ItemI v) throws Exception
v
- Value to Set.Exception
public void removeGroups_group(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatUser> getUsers_user()
getUsers_user
in interface XdatSecurityI
public void setUsers_user(ItemI v) throws Exception
setUsers_user
in interface XdatSecurityI
v
- Value to Set.Exception
public void removeUsers_user(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatRoleType> getRoles_role()
getRoles_role
in interface XdatSecurityI
public void setRoles_role(ItemI v) throws Exception
setRoles_role
in interface XdatSecurityI
v
- Value to Set.Exception
public void removeRoles_role(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatActionType> getActions_action()
getActions_action
in interface XdatSecurityI
public void setActions_action(ItemI v) throws Exception
setActions_action
in interface XdatSecurityI
v
- Value to Set.Exception
public void removeActions_action(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatElementSecurity> getElementSecuritySet_elementSecurity()
getElementSecuritySet_elementSecurity
in interface XdatSecurityI
public void setElementSecuritySet_elementSecurity(ItemI v) throws Exception
setElementSecuritySet_elementSecurity
in interface XdatSecurityI
v
- Value to Set.Exception
public void removeElementSecuritySet_elementSecurity(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public XdatNewsentryI getNewslist_news()
public void setNewslist_news(ItemI v) throws Exception
v
- Value to Set.Exception
public void removeNewslist_news()
public Integer getNewslist_newsFK()
public void setNewslist_newsFK(Integer v)
v
- Value to Set.public XdatInfoentryI getInfolist_info()
public void setInfolist_info(ItemI v) throws Exception
v
- Value to Set.Exception
public void removeInfolist_info()
public Integer getInfolist_infoFK()
public void setInfolist_infoFK(Integer v)
v
- Value to Set.public String getSystem()
getSystem
in interface XdatSecurityI
public void setSystem(String v)
setSystem
in interface XdatSecurityI
v
- Value to Set.public Boolean getRequireLogin()
getRequireLogin
in interface XdatSecurityI
public void setRequireLogin(Object v)
setRequireLogin
in interface XdatSecurityI
v
- Value to Set.public Integer getXdatSecurityId()
getXdatSecurityId
in interface XdatSecurityI
public void setXdatSecurityId(Integer v)
setXdatSecurityId
in interface XdatSecurityI
v
- Value to Set.public static ArrayList<XdatSecurity> getAllXdatSecuritys(UserI user, boolean preLoad)
public static ArrayList<XdatSecurity> getXdatSecuritysByField(String xmlPath, Object value, UserI user, boolean preLoad)
public static ArrayList<XdatSecurity> getXdatSecuritysByField(CriteriaCollection criteria, UserI user, boolean preLoad)
public static XdatSecurity getXdatSecuritysByXdatSecurityId(Object value, UserI user, boolean preLoad)
public static XdatSecurity getXdatSecuritysBySystem(Object 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.