|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.project.controller.ControllerNode | +--org.sourcejammer.project.controller.FileNode
Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:
Constructor Summary | |
FileNode()
|
Method Summary | |
void |
addVersionNode(NodeInfo version,
long key)
Adds a new VersionNode to this FileNode. |
int |
childCount()
Returns number of version. |
void |
deleteVersionList(long key)
|
java.util.Date |
getCheckedOutDate()
|
java.lang.String |
getCheckedOutToPath()
|
java.lang.String |
getCheckedOutToUser()
|
java.lang.String |
getDescrption()
|
ProjectNode |
getFileParent()
Deprecated. |
int |
getFileType()
Compare to org.sourcejammer.util.AppConfig.FileTypes |
int |
getHistoryStorageType()
|
NodeInfo |
getLatestVersionNode()
Convenience method for returning most recent version node. |
int |
getMaxHistorySize()
|
NodeInfo |
getVersionNode(int index)
Returns the VersionNode with the specified index. |
NodeInfo |
getVersionNode(long uniqueID)
Returns version node based on unique id. |
NodeList |
getVersionNodeList()
|
NodeIterator |
getVersions()
Returns a NodeIterator for iterating through of all of the VersionNodes of this FileNode. |
boolean |
isCheckedOut()
|
boolean |
isLimitHistorySize()
|
static void |
main(java.lang.String[] args)
|
NodeInfo |
removeOldestVersionNode(long key)
|
NodeInfo |
removeVersionNode(long uniqueID,
long key)
|
void |
rollbackToVersion(int index,
long key)
Removes all versions subsequent to the version number requested. |
void |
setCheckedOut(boolean b,
long key)
|
void |
setCheckedOutDate(java.util.Date d,
long key)
|
void |
setCheckedOutToPath(java.lang.String s,
long key)
|
void |
setCheckedOutToUser(java.lang.String s,
long key)
|
void |
setDescription(java.lang.String s,
long key)
|
void |
setFileParent(ProjectNode parent,
long key)
Convenience method for setting parent as FileNode. |
void |
setFileType(int i,
long key)
|
void |
setHistoryStorageType(int i,
long key)
|
void |
setLimitHistorySize(boolean b,
long key)
|
void |
setMaxHistorySize(int i,
long key)
|
void |
setVersionList(NodeList versions)
Explicitly set the entire version list for this FileNode. |
Methods inherited from class org.sourcejammer.project.controller.ControllerNode |
checkKey, compareTo, equals, getCreatedDate, getNodeName, getParent, getRootParent, getShareParent, getUniqueID, isCorrectKey, isLocked, isShared, lock, setCreatedDate, setNodeName, setParent, setShared, setShareParent, setUniqueID, store, toString, unlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FileNode()
Method Detail |
public ProjectNode getFileParent()
public void setFileParent(ProjectNode parent, long key)
parent
- -- parent ProjectNode.public NodeIterator getVersions()
public NodeList getVersionNodeList()
public void addVersionNode(NodeInfo version, long key) throws SecurityException
version
- -- a new version.public void rollbackToVersion(int index, long key) throws NoSuchVersionException
index
- -- version number to roll back to.NoSuchVersionException
- if the index is >= number of
versions in this FileNode.public NodeInfo getLatestVersionNode() throws NoSuchVersionException
public NodeInfo getVersionNode(int index) throws NoSuchVersionException
index
- -- index of the VersionNode to be returned.NoSuchVersionException
- if this does
not have a version with the specified index.public NodeInfo getVersionNode(long uniqueID) throws NoSuchVersionException
public NodeInfo removeVersionNode(long uniqueID, long key) throws NoSuchVersionException
public NodeInfo removeOldestVersionNode(long key) throws NodeDoesNotExistException, NoSuchVersionException
public int childCount()
childCount
in class ControllerNode
public void setVersionList(NodeList versions)
public boolean isCheckedOut()
public void setCheckedOut(boolean b, long key)
public java.util.Date getCheckedOutDate()
public void setCheckedOutDate(java.util.Date d, long key)
public java.lang.String getCheckedOutToPath()
public void setCheckedOutToPath(java.lang.String s, long key)
public java.lang.String getCheckedOutToUser()
public void setCheckedOutToUser(java.lang.String s, long key)
public void deleteVersionList(long key)
public int getFileType()
public void setDescription(java.lang.String s, long key)
public java.lang.String getDescrption()
public void setFileType(int i, long key)
public void setHistoryStorageType(int i, long key)
public int getHistoryStorageType()
public void setLimitHistorySize(boolean b, long key)
public boolean isLimitHistorySize()
public void setMaxHistorySize(int i, long key)
public int getMaxHistorySize()
public static void main(java.lang.String[] args)
|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |