|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TypedResource
com.starteam.LiveObject
com.starteam.TrackedObject
com.starteam.Share
public final class Share
This class represents the share tree of an item
| Nested Class Summary | |
|---|---|
static class |
Share.Type
Type for share |
static class |
Share.WebCacheShare
Base accessor for cached SDK Shares |
| Nested classes/interfaces inherited from class com.starteam.TrackedObject |
|---|
TrackedObject.WebCacheTrackedObject |
| Nested classes/interfaces inherited from class com.starteam.LiveObject |
|---|
LiveObject.WebCacheLiveObject |
| Nested classes/interfaces inherited from class com.starteam.TypedResource |
|---|
TypedResource.BranchState |
| Method Summary | |
|---|---|
Share[] |
getChildShares()
Returns an array of Shares that are direct children of this Share, or an empty array if there are none. |
User |
getCreatedBy()
Returns the User who created this item, only available on server versions 5.2 and higher. |
DateTime |
getCreatedTime()
Returns the CreatedTime for this item, only available on server versions 5.2 and higher. |
User |
getDeletedBy()
Returns the User who deleted this item, only available on server versions 5.2 and higher. |
DateTime |
getDeletedTime()
Returns the DeletedTime of this item, only available on server versions 5.2 and higher. |
int |
getDerivedCount()
Returns the number of shares directly derived from this item. |
DotNotation |
getDotNotation()
Returns the revision number in dot notation form. |
DateTime |
getEndModifiedTime()
Returns the EndModifiedTime of this item, only available on server versions 5.2 and higher. |
int |
getFolderItemID()
Returns the Item ID of the referenced Item's parent Folder. |
java.lang.String |
getFolderPath()
Returns the folder path of the referenced Item's parent Folder. |
int |
getID()
throws UnsupportedOperationException() |
User |
getModifiedBy()
Returns the User who last modified this item, only available on server versions 5.2 and higher. |
DateTime |
getModifiedTime()
Returns the ModifiedTime of this item, only available on server versions 5.2 and higher. |
int |
getObjectID()
Returns the item's object ID. |
Share |
getParentShare()
Returns the parent of this Share, or null if this is the root of the share tree. |
Project |
getProject()
Returns the project that contains this reference. |
java.lang.String |
getProjectName()
Returns the containing Project's name. |
Share.Type.PropertyCollection |
getProperties()
Get all the properties of the share |
View |
getView()
Returns the View for this share. |
java.lang.String |
getViewPath()
Returns the View path (in this format: "parent\child\grandchild..."). |
int |
getVMID()
Returns the shared ViewMember's VMID. |
boolean |
isDeleted()
Returns true if the Item has been deleted. |
boolean |
isFirstOfItsBranch()
Determines whether or not this share is the first share of its branch. |
boolean |
isRelated()
Returns true if this item contains the revision queried by Item.getReferences() in its history. |
boolean |
isViewDeleted()
Returns true if the item's View has been deleted. |
java.lang.String |
toString()
Returns the ID of this Share. |
| Methods inherited from class com.starteam.LiveObject |
|---|
toStarTeamURL |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Share.Type.PropertyCollection getProperties()
public int getID()
getID in class TypedResourcepublic int getFolderItemID()
public java.lang.String getFolderPath()
public boolean isViewDeleted()
public boolean isDeleted()
public boolean isRelated()
public java.lang.String getViewPath()
public Project getProject()
public int getDerivedCount()
public int getObjectID()
getObjectID in class TypedResourcepublic java.lang.String getProjectName()
public DotNotation getDotNotation()
public int getVMID()
public View getView()
public java.lang.String toString()
toString in class TypedResourcepublic DateTime getCreatedTime()
getCreatedTime in class LiveObjectpublic User getCreatedBy()
getCreatedBy in class LiveObjectpublic DateTime getModifiedTime()
getModifiedTime in class TrackedObjectpublic DateTime getEndModifiedTime()
public User getModifiedBy()
getModifiedBy in class TrackedObjectpublic DateTime getDeletedTime()
public User getDeletedBy()
public Share getParentShare()
public Share[] getChildShares()
public boolean isFirstOfItsBranch()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||