|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.repository.RepositoryFileInfo
public class RepositoryFileInfo
Provides the latest repository file information related to synchronization state. This provides the user with information about the file which currently resides in the repository, independent of what the user has synchronized to their workspace, if they have synchronized the file to their workspace.
RepositoryResourceService.getSynchronizationInfo(String)
,
SynchronizationInfo.getRepositoryFileInfo()
,
Serialized FormConstructor Summary | |
---|---|
RepositoryFileInfo(String identifier,
String path,
String version,
Date lastModifiedDate,
long size,
boolean checkedOut,
String checkedOutBy)
Initializing constructor which sets the values of all variables. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getCheckedOutBy()
Returns who has this repository file checked out, if it is checked out. |
String |
getIdentifier()
Returns the unique identifier of this repository file. |
Date |
getLastModifiedDate()
Returns the last date this repository file was modified. |
String |
getPath()
Returns the full path of this repository file. |
long |
getSize()
Returns the size of this repository file (in bytes). |
String |
getVersion()
Returns the latest version of this repository file. |
int |
hashCode()
Return a hash code value for the object. |
boolean |
isCheckedOut()
Is this repository file currently checked out? |
String |
toString()
Return a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryFileInfo(String identifier, String path, String version, Date lastModifiedDate, long size, boolean checkedOut, String checkedOutBy)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as RepositoryResourceService.getSynchronizationInfo(String)
.
identifier
- The unique identifier for the repository file.path
- The full path of the repository file.version
- The version of the repository file.lastModifiedDate
- The date the repository file was last modified.size
- The size of the repository file.checkedOut
- Whether this repository is checked out.checkedOutBy
- If this repository file is checked out, who has it checked out.Method Detail |
---|
public String getIdentifier()
public String getPath()
public String getVersion()
public Date getLastModifiedDate()
public long getSize()
public boolean isCheckedOut()
true
if this repository file is currently checked out, false
otherwise.public String getCheckedOutBy()
null
.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |