|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.util.entity.Node
org.torweg.pulse.accesscontrol.attributes.AbstractAttribute<Bundle>
org.torweg.pulse.accesscontrol.attributes.BundleAttribute
@Entity public final class BundleAttribute
represents a Bundle in the AttributeRegistry.
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.accesscontrol.attributes.AbstractAttribute |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
BundleAttribute()
creates a new non-system BundleAttribute. |
|
BundleAttribute(boolean isSystem)
creates a new BundleAttribute. |
|
| Method Summary | |
|---|---|
AbstractAttribute<Bundle> |
getAttributeInstance(java.lang.String name,
boolean isSystem)
creates a new BundleAttribute, but ignores the given name. |
Bundle |
getBundle()
returns the bundle associated with the attribute. |
AbstractTypedCheck<Bundle> |
getCheck()
returns the check associated with the attribute. |
java.lang.String |
getName()
returns the name of the BundleAttribute, which is the name
of the associated Bundle. |
void |
setBundle(Bundle b)
sets the bundle. |
void |
setCheck(AbstractTypedCheck<Bundle> c)
is not implemented and will throw a PulseException. |
AbstractAttribute<Bundle> |
updateSettingsFromCommand(Command command,
org.hibernate.Session session)
does nothing since BundleAttributes do not have any
settings. |
AbstractValue<Bundle> |
valueFromCommand(Command c)
returns null, since BundleAttributes do not
have values. |
| Methods inherited from class org.torweg.pulse.accesscontrol.attributes.AbstractAttribute |
|---|
addAdminEditRole, addAdminViewRole, addSelfEditRole, addSelfViewRole, addTriggeredRole, deserializeToJDOM, deserializeToJDOM, getAdminEditRoles, getAdminViewRoles, getSelfEditRoles, getSelfViewRoles, getTriggeredRoles, getTypedChecks, getValue, isRequired, isSystemAttribute, isValid, removeAdminEditRole, removeAdminViewRole, removeSelfEditRole, removeSelfViewRole, removeTriggeredRole, setAdminEditRoles, setAdminViewRoles, setRequired, setSelfEditRoles, setSelfViewRoles, setTriggeredRoles, setValue, toJSON |
| Methods inherited from class org.torweg.pulse.util.entity.Node |
|---|
addChild, addChild, getChild, getChildIndex, getChildren, getParent, hasChildren, removeChild, setChildren |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleAttribute()
BundleAttribute.
public BundleAttribute(boolean isSystem)
BundleAttribute.
isSystem - flag, indicating whether the attribute is a system attribute| Method Detail |
|---|
public Bundle getBundle()
public void setBundle(Bundle b)
b - the bundle to set
public AbstractAttribute<Bundle> getAttributeInstance(java.lang.String name,
boolean isSystem)
BundleAttribute, but ignores the given name.
The attribute does not have a bundle set yet.
getAttributeInstance in class AbstractAttribute<Bundle>name - is ignoredisSystem - flag, indicating whether the attribute is a system attribute
BundleAttributepublic AbstractTypedCheck<Bundle> getCheck()
getCheck in class AbstractAttribute<Bundle>null, always.public void setCheck(AbstractTypedCheck<Bundle> c)
PulseException.
setCheck in class AbstractAttribute<Bundle>c - the check which will be ignored
java.lang.UnsupportedOperationExceptionpublic java.lang.String getName()
BundleAttribute, which is the name
of the associated Bundle.
getName in interface INamedgetName in class AbstractAttribute<Bundle>public AbstractValue<Bundle> valueFromCommand(Command c)
null, since BundleAttributes do not
have values.
valueFromCommand in class AbstractAttribute<Bundle>c - the current Command
null
public AbstractAttribute<Bundle> updateSettingsFromCommand(Command command,
org.hibernate.Session session)
BundleAttributes do not have any
settings.
updateSettingsFromCommand in class AbstractAttribute<Bundle>command - is ignoredsession - is not used
AbstractAttribute.updateSettingsFromCommand(Command,
Session)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||