|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.resource.repository.RepositoryResource
com.sas.hls.resource.repository.RepositoryFile
public class RepositoryFile
Client representation of a file stored in the repository.
Constructor Summary | |
---|---|
RepositoryFile(String identifier,
String objectType,
String path,
long size,
boolean isCheckedOut,
boolean isVersioned,
String versionLabel,
boolean isLocked,
Date lastModified,
List<Attribute> attributes)
It is not intended or recommended that the consumer of the API construct these objects. |
Method Summary | |
---|---|
long |
getSize()
Return the size of this repository file (in bytes). |
String |
getVersionLabel()
Return the version of this repository file. |
boolean |
isCheckedOut()
Is this repository file currently checked out? |
boolean |
isLocked()
Is this repository file locked? |
boolean |
isVersioned()
Is this repository file versioned? |
Methods inherited from class com.sas.hls.resource.repository.RepositoryResource |
---|
equals, getAttribute, getAttributes, getIdentifier, getLastModifiedDate, getObjectType, getPath, hashCode, setAttributes, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryFile(String identifier, String objectType, String path, long size, boolean isCheckedOut, boolean isVersioned, String versionLabel, boolean isLocked, Date lastModified, List<Attribute> attributes)
identifier
- The identifier of this repository file.objectType
- The object type of this repository file.path
- The path of this file in the repository.size
- The size of this repository file.isCheckedOut
- Is this repository file currently checked out?isVersioned
- Is this repository file versioned?versionLabel
- The version of this repository file.isLocked
- Is this repository file locked?lastModified
- The date this repository file was last modified.attributes
- The attributes defined on this repository file.Method Detail |
---|
public long getSize()
public boolean isCheckedOut()
true
if this repository file is currently checked out, false
otherwise.public boolean isVersioned()
true
if this repository file is currently versioned, false
otherwise.public boolean isLocked()
true
if this repository file is currently locked, false
otherwise.public String getVersionLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |