public class RepositoryExecutableFile extends RepositoryFile
RepositoryFile.SigningStatus
RepositoryItem.State, RepositoryItem.Syncable
Constructor and Description |
---|
RepositoryExecutableFile(String typeId,
String id,
String name,
String path,
long revision,
RepositoryItem.State state,
String createdBy,
Date created,
String lastModifiedBy,
Date lastModified,
String propertiesLastModifiedBy,
Date propertiesLastModified,
String description,
RepositoryItem.Syncable syncable,
List<Attribute> attributes,
long size,
boolean checkedOut,
String checkedOutBy,
Date checkedOutDate,
boolean versioned,
String version,
String comment,
boolean locked,
RepositoryFile.SigningStatus signingStatus,
boolean runAsOwner)
Deprecated.
As of Java API 2.2.1.
|
RepositoryExecutableFile(String typeId,
String id,
String name,
String path,
long revision,
RepositoryItem.State state,
String createdBy,
Date created,
String lastModifiedBy,
Date lastModified,
String propertiesLastModifiedBy,
Date propertiesLastModified,
String description,
RepositoryItem.Syncable syncable,
List<Attribute> attributes,
long size,
boolean checkedOut,
String checkedOutBy,
Date checkedOutDate,
boolean versioned,
String version,
String comment,
boolean locked,
RepositoryFile.SigningStatus signingStatus,
boolean runAsOwner,
VersionLimits versionLimits,
String digest)
It is not intended or recommended that the consumer of the API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isRunAsOwner()
Gets whether the executable file runs as the owner of the file or the user who submitted the file for
execution.
|
void |
setRunAsOwner(boolean runAsOwner)
Sets the executable file to run as the owner of the file or the user who submitted the file for
execution.
|
String |
toString() |
getCheckedOutBy, getCheckedOutDate, getComment, getDigest, getSigningStatus, getSize, getVersion, getVersionLimits, isCheckedOut, isLocked, isVersioned
getAttributes, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getPath, getPropertiesLastModified, getPropertiesLastModifiedBy, getRevision, getState, getSyncable, setAttributes, setDescription, setSyncable
getId, getTypeId
public RepositoryExecutableFile(String typeId, String id, String name, String path, long revision, RepositoryItem.State state, String createdBy, Date created, String lastModifiedBy, Date lastModified, String propertiesLastModifiedBy, Date propertiesLastModified, String description, RepositoryItem.Syncable syncable, List<Attribute> attributes, long size, boolean checkedOut, String checkedOutBy, Date checkedOutDate, boolean versioned, String version, String comment, boolean locked, RepositoryFile.SigningStatus signingStatus, boolean runAsOwner, VersionLimits versionLimits, String digest)
typeId
- the object type identifier of the repository file.id
- the unique identifier of the repository file.name
- the name of the file.path
- the full path of this file in the repository, which includes the name.revision
- the internally managed revision number of the repository file.state
- the current state of the repository file.createdBy
- the user who created the repository file.created
- the date on which the repository file was created..lastModifiedBy
- the user who last modified the repository file's content.lastModified
- the date on which the repository file's content was last modified.propertiesLastModifiedBy
- the user who last modified the repository file's properties.propertiesLastModified
- the date on which repository file's properties were last modified.description
- the description of the file.syncable
- whether the file can be copied to the user's workspace.attributes
- the extended attributes defined on the repository file.size
- the size (in bytes) of the file.checkedOut
- whether the file is currently checked out or not.checkedOutBy
- the user who has the file checked out (if it is checked out).checkedOutDate
- the date on which the file was checked out (if it is checked out).versioned
- whether the file is versioned or not.version
- the current version of the file (if it is versioned).comment
- the comment provided when the content was created.locked
- whether the file is locked or not.signingStatus
- the signature status of the file.runAsOwner
- whether this executable file should run as the owner of the file or the user who submitted the
file for execution.versionLimits
- the version retention limits of the file.digest
- the digest value of the file.@Deprecated public RepositoryExecutableFile(String typeId, String id, String name, String path, long revision, RepositoryItem.State state, String createdBy, Date created, String lastModifiedBy, Date lastModified, String propertiesLastModifiedBy, Date propertiesLastModified, String description, RepositoryItem.Syncable syncable, List<Attribute> attributes, long size, boolean checkedOut, String checkedOutBy, Date checkedOutDate, boolean versioned, String version, String comment, boolean locked, RepositoryFile.SigningStatus signingStatus, boolean runAsOwner)
typeId
- the object type identifier of the repository file.id
- the unique identifier of the repository file.name
- the name of the file.path
- the full path of this file in the repository, which includes the name.revision
- the internally managed revision number of the repository file.state
- the current state of the repository file.createdBy
- the user who created the repository file.created
- the date on which the repository file was created..lastModifiedBy
- the user who last modified the repository file's content.lastModified
- the date on which the repository file's content was last modified.propertiesLastModifiedBy
- the user who last modified the repository file's properties.propertiesLastModified
- the date on which repository file's properties were last modified.description
- the description of the file.syncable
- whether the file can be copied to the user's workspace.attributes
- the extended attributes defined on the repository file.size
- the size (in bytes) of the file.checkedOut
- whether the file is currently checked out or not.checkedOutBy
- the user who has the file checked out (if it is checked out).checkedOutDate
- the date on which the file was checked out (if it is checked out).versioned
- whether the file is versioned or not.version
- the current version of the file (if it is versioned).comment
- the comment provided when the content was created.locked
- whether the file is locked or not.signingStatus
- the signature status of the file.runAsOwner
- whether this executable file should run as the owner of the file or the user who submitted the
file for execution.public boolean isRunAsOwner()
public void setRunAsOwner(boolean runAsOwner)
runAsOwner
- sets the executable file to run as the owner of the file or the user who submitted the
file for execution.public int hashCode()
hashCode
in class RepositoryFile
public boolean equals(Object obj)
equals
in class RepositoryFile
public String toString()
toString
in class RepositoryFile
Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA