|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
XirussRepositoryException
public java.lang.String getOriginalClassName()
public void setId(java.lang.String id)
RepositoryObject
setId
in interface RepositoryObject
id
- Object ID (assigned by the owning repository)public java.lang.String getName()
getName
in interface RepositoryObject
protected 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 RepositoryObject
newName
- New name to set on the object.
protected java.lang.String doStringReturnPost(java.lang.String path)
public java.lang.String getId()
getId
in interface RepositoryObject
public Repository getRepository()
getRepository
in interface RepositoryObject
public boolean hasProperty(java.lang.String propertyName)
hasProperty
in interface RepositoryObject
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in interface RepositoryObject
propertyName
- The name of the property to retrieve.
public void setProperty(java.lang.String propertyName, java.lang.Object propertyValue)
setProperty
in interface RepositoryObject
protected java.net.HttpURLConnection doPost(java.lang.String path)
public int compareTo(java.lang.Object arg0)
compareTo
in interface RepositoryObject
public int getType()
getType
in interface RepositoryObject
public boolean isNull()
isNull
in interface RepositoryObject
public java.util.Set getPropertyNames()
getPropertyNames
in interface RepositoryObject
public void accept(RepositoryVisitor visitor) throws java.lang.Throwable
accept
in interface RepositoryObject
java.lang.Throwable
public 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 RepositoryObject
ObjectMutationException
- 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.Object
public java.lang.String toString()
toString
in interface RepositoryObject
toString
in class java.lang.Object
public PathString getPathToMe()
protected boolean getBooleanValue(PathString path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |