com.microsoft.tfs.core.clients.sharepoint
Class WSSDocumentLibrary
java.lang.Object
com.microsoft.tfs.core.clients.sharepoint.WSSDocumentLibrary
- All Implemented Interfaces:
- Hierarchical, Labelable, java.lang.Comparable
public class WSSDocumentLibrary
- extends java.lang.Object
- implements Hierarchical, Labelable, java.lang.Comparable
Object representing a document library in Sharepoint.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-compatible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSDocumentLibrary
public WSSDocumentLibrary()
WSSDocumentLibrary
public WSSDocumentLibrary(TFSTeamProjectCollection connection,
org.w3c.dom.Element node)
calculateASCIINameFromWebFullURL
protected java.lang.String calculateASCIINameFromWebFullURL(java.lang.String defaultViewUrl,
java.lang.String webFullUrl)
getParent
public java.lang.Object getParent()
- Specified by:
getParent
in interface Hierarchical
- Returns:
- the parent of this object, or null if this object has no parent
setParent
public void setParent(java.lang.Object parent)
- Parameters:
parent
- The parent to set.
getChildren
public java.lang.Object[] getChildren()
- Specified by:
getChildren
in interface Hierarchical
- Returns:
- the children of this object, or null if this object has no
children
hasChildren
public boolean hasChildren()
- Description copied from interface:
Hierarchical
- This method is included because it's often less expensive to check for
the existence of children than to retrieve the children.
- Specified by:
hasChildren
in interface Hierarchical
- Returns:
- true if this object has children, false if not
addChild
public void addChild(java.lang.Object child)
addChildren
public void addChildren(java.util.Collection children)
getDefaultViewURL
public java.lang.String getDefaultViewURL()
- Returns:
- Returns the defaultViewUrl.
setDefaultViewURL
public void setDefaultViewURL(java.lang.String defaultViewUrl)
- Parameters:
defaultViewUrl
- The defaultViewUrl to set.
getGUID
public java.lang.String getGUID()
- Returns:
- Returns the guid.
isHidden
public boolean isHidden()
- Returns:
- Returns the hidden.
setHidden
public void setHidden(boolean hidden)
- Parameters:
hidden
- The hidden to set.
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interface Labelable
- Returns:
- Returns the label.
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- The label to set.
getASCIIName
public java.lang.String getASCIIName()
setASCIIName
public void setASCIIName(java.lang.String asciiName)
isValid
public boolean isValid()
compareTo
public int compareTo(java.lang.Object compare)
- Specified by:
compareTo
in interface java.lang.Comparable
© 2015 Microsoft. All rights reserved.