|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.om.registry.base.BaseRegistryEntry
Base simple bean-like implementation of the RegistryEntry interface suitable for Castor XML serialization.
Field Summary | |
protected int |
_hidden
|
protected boolean |
hidden
|
protected long |
id
|
protected MetaInfo |
metaInfo
|
protected java.lang.String |
name
|
protected Security |
security
|
protected SecurityReference |
securityRef
Holds value of property securityRef. |
Constructor Summary | |
BaseRegistryEntry()
|
|
BaseRegistryEntry(long id,
java.lang.String name,
int _hidden,
java.lang.String title,
java.lang.String description,
java.lang.String image,
java.lang.String role)
|
Method Summary | |
boolean |
equals(java.lang.Object entry)
Implements the equals operation so that 2 elements are equal if all their member values are equal. |
BaseMetaInfo |
getBaseMetaInfo()
Required by Castor 0.8.11 XML serialization for retrieving the metainfo |
BaseSecurity |
getBaseSecurity()
Required by Castor 0.8.11 XML serialization for retrieving the security object |
java.lang.String |
getDescription()
|
boolean |
getHidden()
Required by Castor 0.8.11 XML serialization for retrieving the visibility status |
long |
getId()
|
MetaInfo |
getMetaInfo()
|
java.lang.String |
getName()
|
Security |
getSecurity()
|
SecurityReference |
getSecurityRef()
Getter for property securityId. |
java.lang.String |
getTitle()
|
boolean |
isHidden()
Test if this entry should be visible in a list of the registry contents |
void |
setBaseMetaInfo(BaseMetaInfo metaInfo)
Required by Castor 0.8.11 XML serialization for setting the entry metainfo |
void |
setBaseSecurity(BaseSecurity security)
Required by Castor 0.8.11 XML serialization for setting the security status |
void |
setDescription(java.lang.String description)
Sets the description for the portlet entry |
void |
setHidden(boolean hidden)
Modify the visibility status of this entry |
void |
setMetaInfo(MetaInfo metaInfo)
Required by Castor 0.8.11 XML serialization for setting the entry metainfo |
void |
setName(java.lang.String name)
Changes the name of this entry |
void |
setSecurity(Security security)
Set the security properties for this entry |
void |
setSecurityRef(SecurityReference securityRef)
Setter for property securityId. |
void |
setTitle(java.lang.String title)
Sets the title of the portlet entry |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected long id
protected java.lang.String name
protected MetaInfo metaInfo
protected Security security
protected boolean hidden
protected int _hidden
protected SecurityReference securityRef
Constructor Detail |
public BaseRegistryEntry()
public BaseRegistryEntry(long id, java.lang.String name, int _hidden, java.lang.String title, java.lang.String description, java.lang.String image, java.lang.String role)
Method Detail |
public boolean equals(java.lang.Object entry)
public long getId()
getId
in interface RegistryEntry
RegistryEntry.getName()
public java.lang.String getName()
getName
in interface RegistryEntry
RegistryEntry.getName()
public void setName(java.lang.String name)
RegistryEntry
setName
in interface RegistryEntry
name
- the new name for this entryRegistryEntry.setName(java.lang.String)
public java.lang.String getTitle()
getTitle
in interface RegistryEntry
RegistryEntry.getTitle()
public void setTitle(java.lang.String title)
RegistryEntry
setTitle
in interface RegistryEntry
title
- the new title for the entryRegistryEntry.setTitle(java.lang.String)
public java.lang.String getDescription()
getDescription
in interface RegistryEntry
RegistryEntry.getDescription()
public void setDescription(java.lang.String description)
RegistryEntry
setDescription
in interface RegistryEntry
description
- the new description for the entryRegistryEntry.setDescription(java.lang.String)
public Security getSecurity()
getSecurity
in interface RegistryEntry
RegistryEntry.getSecurity()
public void setSecurity(Security security)
RegistryEntry
setSecurity
in interface RegistryEntry
security
- the new security propertiesRegistryEntry.setSecurity(org.apache.jetspeed.om.registry.Security)
public boolean isHidden()
RegistryEntry
isHidden
in interface RegistryEntry
RegistryEntry.isHidden()
public void setHidden(boolean hidden)
RegistryEntry
setHidden
in interface RegistryEntry
hidden
- the new status. If true, the entry will not be displayed in
a registry listRegistryEntry.setHidden(boolean)
public boolean getHidden()
public BaseSecurity getBaseSecurity()
public void setBaseSecurity(BaseSecurity security)
public MetaInfo getMetaInfo()
getMetaInfo
in interface RegistryEntry
public void setMetaInfo(MetaInfo metaInfo)
setMetaInfo
in interface RegistryEntry
metaInfo
- the new metainfo propertiespublic BaseMetaInfo getBaseMetaInfo()
public void setBaseMetaInfo(BaseMetaInfo metaInfo)
public SecurityReference getSecurityRef()
getSecurityRef
in interface RegistryEntry
public void setSecurityRef(SecurityReference securityRef)
setSecurityRef
in interface RegistryEntry
securityRef
- New value of property securityRef.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |