public abstract class AutoXdatElementSecurity extends BaseElement implements XdatElementSecurityI
ItemWrapper.FieldEmptyException
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
SCHEMA_ELEMENT_NAME |
allowXMLDBAccess
Constructor and Description |
---|
AutoXdatElementSecurity() |
AutoXdatElementSecurity(Hashtable properties,
UserI user) |
AutoXdatElementSecurity(ItemI item) |
AutoXdatElementSecurity(UserI user) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAccessible() |
static ArrayList<XdatElementSecurity> |
getAllXdatElementSecuritys(UserI user,
boolean preLoad) |
Boolean |
getBrowse() |
String |
getCategory() |
String |
getCode() |
ArrayList<XdatElementActionType> |
getElementActions_elementAction()
element_actions/element_action
|
String |
getElementName() |
ArrayList<ResourceFile> |
getFileResources(String rootPath,
boolean preventLoop) |
ArrayList<XdatElementSecurityListingAction> |
getListingActions_listingAction()
listing_actions/listing_action
|
String |
getPlural() |
Boolean |
getPreLoad() |
ArrayList<XdatPrimarySecurityField> |
getPrimarySecurityFields_primarySecurityField()
primary_security_fields/primary_security_field
|
Boolean |
getQuarantine() |
String |
getSchemaElementName() |
Boolean |
getSearchable() |
Boolean |
getSecondaryPassword() |
Boolean |
getSecure() |
Boolean |
getSecureCreate() |
Boolean |
getSecureDelete() |
Boolean |
getSecureEdit() |
Boolean |
getSecureIp() |
Boolean |
getSecureRead() |
Integer |
getSequence() |
String |
getSingular() |
String |
getUsage() |
static XdatElementSecurity |
getXdatElementSecuritysByElementName(Object value,
UserI user,
boolean preLoad) |
static ArrayList<XdatElementSecurity> |
getXdatElementSecuritysByField(CriteriaCollection criteria,
UserI user,
boolean preLoad) |
static ArrayList<XdatElementSecurity> |
getXdatElementSecuritysByField(String xmlPath,
Object value,
UserI user,
boolean preLoad) |
void |
removeElementActions_elementAction(int index)
Removes the element_actions/element_action of the given index.
|
void |
removeListingActions_listingAction(int index)
Removes the listing_actions/listing_action of the given index.
|
void |
removePrimarySecurityFields_primarySecurityField(int index)
Removes the primary_security_fields/primary_security_field of the given index.
|
void |
setAccessible(Object v)
Sets the value for accessible.
|
void |
setBrowse(Object v)
Sets the value for browse.
|
void |
setCategory(String v)
Sets the value for category.
|
void |
setCode(String v)
Sets the value for code.
|
void |
setElementActions_elementAction(ItemI v)
Sets the value for element_actions/element_action.
|
void |
setElementName(String v)
Sets the value for element_name.
|
void |
setListingActions_listingAction(ItemI v)
Sets the value for listing_actions/listing_action.
|
void |
setPlural(String v)
Sets the value for plural.
|
void |
setPreLoad(Object v)
Sets the value for pre_load.
|
void |
setPrimarySecurityFields_primarySecurityField(ItemI v)
Sets the value for primary_security_fields/primary_security_field.
|
void |
setQuarantine(Object v)
Sets the value for quarantine.
|
void |
setSearchable(Object v)
Sets the value for searchable.
|
void |
setSecondaryPassword(Object v)
Sets the value for secondary_password.
|
void |
setSecure(Object v)
Sets the value for secure.
|
void |
setSecureCreate(Object v)
Sets the value for secure_create.
|
void |
setSecureDelete(Object v)
Sets the value for secure_delete.
|
void |
setSecureEdit(Object v)
Sets the value for secure_edit.
|
void |
setSecureIp(Object v)
Sets the value for secure_ip.
|
void |
setSecureRead(Object v)
Sets the value for secure_read.
|
void |
setSequence(Integer v)
Sets the value for sequence.
|
void |
setSingular(String v)
Sets the value for singular.
|
void |
setUsage(String v)
Sets the value for usage.
|
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 AutoXdatElementSecurity(ItemI item)
public AutoXdatElementSecurity(UserI user)
public AutoXdatElementSecurity()
public String getSchemaElementName()
getSchemaElementName
in interface XdatElementSecurityI
getSchemaElementName
in class ItemWrapper
public ArrayList<XdatPrimarySecurityField> getPrimarySecurityFields_primarySecurityField()
getPrimarySecurityFields_primarySecurityField
in interface XdatElementSecurityI
public void setPrimarySecurityFields_primarySecurityField(ItemI v) throws Exception
setPrimarySecurityFields_primarySecurityField
in interface XdatElementSecurityI
v
- Value to Set.Exception
public void removePrimarySecurityFields_primarySecurityField(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatElementActionType> getElementActions_elementAction()
getElementActions_elementAction
in interface XdatElementSecurityI
public void setElementActions_elementAction(ItemI v) throws Exception
setElementActions_elementAction
in interface XdatElementSecurityI
v
- Value to Set.Exception
public void removeElementActions_elementAction(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public ArrayList<XdatElementSecurityListingAction> getListingActions_listingAction()
getListingActions_listingAction
in interface XdatElementSecurityI
public void setListingActions_listingAction(ItemI v) throws Exception
setListingActions_listingAction
in interface XdatElementSecurityI
v
- Value to Set.Exception
public void removeListingActions_listingAction(int index) throws IndexOutOfBoundsException
index
- Index of child to remove.IndexOutOfBoundsException
public String getElementName()
getElementName
in interface XdatElementSecurityI
public void setElementName(String v)
setElementName
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getSecondaryPassword()
getSecondaryPassword
in interface XdatElementSecurityI
public void setSecondaryPassword(Object v)
setSecondaryPassword
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getSecureIp()
getSecureIp
in interface XdatElementSecurityI
public void setSecureIp(Object v)
setSecureIp
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getSecure()
getSecure
in interface XdatElementSecurityI
public void setSecure(Object v)
setSecure
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getBrowse()
getBrowse
in interface XdatElementSecurityI
public void setBrowse(Object v)
setBrowse
in interface XdatElementSecurityI
v
- Value to Set.public Integer getSequence()
getSequence
in interface XdatElementSecurityI
public void setSequence(Integer v)
setSequence
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getQuarantine()
getQuarantine
in interface XdatElementSecurityI
public void setQuarantine(Object v)
setQuarantine
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getPreLoad()
getPreLoad
in interface XdatElementSecurityI
public void setPreLoad(Object v)
setPreLoad
in interface XdatElementSecurityI
v
- Value to Set.public Boolean getSearchable()
public void setSearchable(Object v)
v
- Value to Set.public Boolean getSecureRead()
public void setSecureRead(Object v)
v
- Value to Set.public Boolean getSecureEdit()
public void setSecureEdit(Object v)
v
- Value to Set.public Boolean getSecureCreate()
public void setSecureCreate(Object v)
v
- Value to Set.public Boolean getSecureDelete()
public void setSecureDelete(Object v)
v
- Value to Set.public Boolean getAccessible()
public void setAccessible(Object v)
v
- Value to Set.public String getUsage()
public void setUsage(String v)
v
- Value to Set.public String getSingular()
public void setSingular(String v)
v
- Value to Set.public String getPlural()
public void setPlural(String v)
v
- Value to Set.public String getCode()
public void setCode(String v)
v
- Value to Set.public String getCategory()
public void setCategory(String v)
v
- Value to Set.public static ArrayList<XdatElementSecurity> getAllXdatElementSecuritys(UserI user, boolean preLoad)
public static ArrayList<XdatElementSecurity> getXdatElementSecuritysByField(String xmlPath, Object value, UserI user, boolean preLoad)
public static ArrayList<XdatElementSecurity> getXdatElementSecuritysByField(CriteriaCollection criteria, UserI user, boolean preLoad)
public static XdatElementSecurity getXdatElementSecuritysByElementName(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.