|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xiruss.xirussrepository.client.RepositoryObjectProxy
public class RepositoryObjectProxy
| Field Summary | |
|---|---|
protected XirussHttpApiClientHelper |
cHelper
|
protected org.apache.log4j.Logger |
logger
|
protected int |
objectTypeCode
|
protected PathString |
pathToMe
|
| Constructor Summary | |
|---|---|
RepositoryObjectProxy()
|
|
RepositoryObjectProxy(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
|
|
| Method Summary | |
|---|---|
void |
accept(RepositoryVisitor visitor)
|
int |
compareTo(java.lang.Object arg0)
|
protected java.net.HttpURLConnection |
doPost(java.lang.String path)
|
protected java.lang.String |
doStringReturnPost(java.lang.String path)
|
boolean |
equals(java.lang.Object candObj)
|
protected boolean |
getBooleanValue(PathString path)
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.lang.String |
getOriginalClassName()
Gets the name of the server-side class of which this proxy is a reflection. |
PathString |
getPathToMe()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String propertyName)
|
java.util.Set |
getPropertyNames()
|
Repository |
getRepository()
|
protected java.lang.String |
getStringReturnValue(PathString path)
Returns the request string value or null if the value cannot be found. |
protected java.util.Set |
getStringSetReturnValue(java.lang.String path)
|
int |
getType()
|
boolean |
hasProperty(java.lang.String propertyName)
|
void |
initialize(Repository rep,
java.lang.String objId,
java.lang.String branchName)
Initialize the object with the specified object ID and name. |
void |
initialize(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
|
boolean |
isNull()
|
protected void |
loadRepositoryObjectData(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
|
void |
setId(java.lang.String id)
Sets the ID on a newly-created repository object. |
java.lang.String |
setName(java.lang.String newName)
Sets the name of object. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int objectTypeCode
protected XirussHttpApiClientHelper cHelper
protected org.apache.log4j.Logger logger
protected PathString pathToMe
| Constructor Detail |
|---|
public RepositoryObjectProxy()
public RepositoryObjectProxy(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
throws XirussRepositoryException
XirussRepositoryException| Method Detail |
|---|
public void initialize(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
throws XirussRepositoryException
XirussRepositoryException
protected void loadRepositoryObjectData(XirussHttpApiClientHelper helper,
org.w3c.dom.Element dataSource)
throws XirussRepositoryException
XirussRepositoryExceptionpublic java.lang.String getOriginalClassName()
public void setId(java.lang.String id)
RepositoryObject
setId in interface RepositoryObjectid - Object ID (assigned by the owning repository)public java.lang.String getName()
getName in interface RepositoryObjectprotected java.lang.String getStringReturnValue(PathString path)
path -
protected java.util.Set getStringSetReturnValue(java.lang.String path)
public java.lang.String setName(java.lang.String newName)
RepositoryObject
setName in interface RepositoryObjectnewName - New name to set on the object.
protected java.lang.String doStringReturnPost(java.lang.String path)
public java.lang.String getId()
getId in interface RepositoryObjectpublic Repository getRepository()
getRepository in interface RepositoryObjectpublic boolean hasProperty(java.lang.String propertyName)
hasProperty in interface RepositoryObjectpublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in interface RepositoryObjectpropertyName - The name of the property to retrieve.
public void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
setProperty in interface RepositoryObjectprotected java.net.HttpURLConnection doPost(java.lang.String path)
public int compareTo(java.lang.Object arg0)
compareTo in interface RepositoryObjectpublic int getType()
getType in interface RepositoryObjectpublic boolean isNull()
isNull in interface RepositoryObjectpublic java.util.Set getPropertyNames()
getPropertyNames in interface RepositoryObject
public void accept(RepositoryVisitor visitor)
throws java.lang.Throwable
accept in interface RepositoryObjectjava.lang.Throwablepublic java.util.Map getProperties()
getProperties in interface RepositoryObject
public void initialize(Repository rep,
java.lang.String objId,
java.lang.String branchName)
throws ObjectMutationException
RepositoryObject
initialize in interface RepositoryObjectObjectMutationException - If object already has an assigned ID, indicating
that is has already been constructed.public boolean equals(java.lang.Object candObj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in interface RepositoryObjecttoString in class java.lang.Objectpublic PathString getPathToMe()
protected boolean getBooleanValue(PathString path)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||