|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.model.Model com.bea.p13n.model.XmlObjectModel com.bea.p13n.placeholder.model.PlaceholderModel
public class PlaceholderModel
A clause model representing a <placeholder> from the
http://www.bea.com/servers/p13n/xsd/placeholder/1.1.1 namespace.
This will have children QueryDefinitionModels
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bea.p13n.model.Model |
---|
Model.ChangeEvent, Model.ChangeListener, Model.ChangeSupport, Model.Debug |
Field Summary |
---|
Fields inherited from class com.bea.p13n.model.XmlObjectModel |
---|
copyRootXmlObject, instanceUri, isComplete |
Fields inherited from class com.bea.p13n.model.Model |
---|
childrenModels, docModel, parentModel, roChildrenModels |
Constructor Summary | |
---|---|
PlaceholderModel()
|
Method Summary | |
---|---|
void |
addQueryDefinitionModel(QueryDefinitionModel model)
Add a QueryDefinitionModel. |
void |
clearCachedData()
Clear out any cached data we're holding, so we'll get it from the Placeholder next time. |
Model |
copy()
Create a copy of this placeholder model. |
org.apache.xmlbeans.XmlObject |
createNewXmlObject()
Return a new, empty Placeholder object with a new, empty ContentQuery. |
protected boolean |
determineIsComplete()
Determine if the PlaceholderModel is currently complete. |
String |
getDescription()
Get the placeholder description. |
boolean |
getMixGlobals()
Get the value for mix-globals. |
String |
getName()
Get the placeholder name. |
com.bea.p13n.placeholder.schema.Placeholder |
getPlaceholder()
Get the underlying Placeholder object. |
QueryDefinitionModel[] |
getQueryDefinitionModels()
Get an array of QueryDefinitionsModel. |
String |
getType()
Get the placeholder type. |
void |
initializeNew()
Initialize this as a new, empty placeholder model. |
boolean |
removeQueryDefinitionModel(int index)
Remove the index'th QueryDefinitionModel. |
boolean |
removeQueryDefinitionModel(QueryDefinitionModel model)
Remove a QueryDefinitionModel. |
void |
setDescription(String desc)
Set the placeholder description. |
protected void |
setIsComplete(boolean isComplete)
Override to set on our placeholer object also. |
void |
setMixGlobals(boolean mix)
Set for mix-globals. |
void |
setName(String name)
Set the placeholder name. |
void |
setType(String type)
Set the placeholder type. |
void |
setXmlObject(org.apache.xmlbeans.XmlObject clause)
Verify that the specified clause object is valid for this class. |
Methods inherited from class com.bea.p13n.model.XmlObjectModel |
---|
checkElement, childAdded, childRemoved, fixQName, getApplicationInstanceUri, getChild, getCopyXmlObject, getDocument, getLocalName, getParent, getQName, getRootXmlObject, isComplete, isNil, preRemove, propertyChanged, removeAllChildren, removeChild, setApplicationInstanceUri, setIsComplete, setParent, setRootXmlObject |
Methods inherited from class com.bea.p13n.model.Model |
---|
addChangeListener, addChild, addChild, clone, doubleEquals, equals, getChildren, getDebug, getDebug, getDocument, getParent, longEquals, removeChangeListener, removeChild, removeChild, removeEmpties, setDocument |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceholderModel()
Method Detail |
---|
public void setXmlObject(org.apache.xmlbeans.XmlObject clause) throws IllegalArgumentException
IllegalArgumentException
- if clause is not a Placeholder
instance.public org.apache.xmlbeans.XmlObject createNewXmlObject()
public void initializeNew()
public Model copy()
copy
in class Model
public void clearCachedData()
Placeholder
next time.
clearCachedData
in class XmlObjectModel
public com.bea.p13n.placeholder.schema.Placeholder getPlaceholder()
protected void setIsComplete(boolean isComplete)
placeholer
object also.
setIsComplete
in class XmlObjectModel
protected boolean determineIsComplete()
determineIsComplete
in class XmlObjectModel
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public String getDescription()
public void setDescription(String desc)
public boolean getMixGlobals()
query definitions
will be mixed with any campaign-based queries when the placeholder
tries to find content to display. If false, then the placeholer will
first look at campaign queries only; if no content can be found from
those, then it will consider the placeholder's query definitions.
public void setMixGlobals(boolean mix)
public QueryDefinitionModel[] getQueryDefinitionModels()
public void addQueryDefinitionModel(QueryDefinitionModel model)
public boolean removeQueryDefinitionModel(QueryDefinitionModel model)
public boolean removeQueryDefinitionModel(int index)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |