public abstract class RepositoryContainer extends RepositoryItem
RepositoryItem.State, RepositoryItem.Syncable
Constructor and Description |
---|
RepositoryContainer(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,
VersionLimits defaultVersionLimits)
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) |
VersionLimits |
getDefaultVersionLimits()
Gets the default version limits for new versioned files added to the container.
|
int |
hashCode() |
void |
setDefaultVersionLimits(VersionLimits defaultVersionLimits)
Sets the default major and minor version limits for new versioned files that are added to the container.
|
String |
toString() |
getAttributes, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getPath, getPropertiesLastModified, getPropertiesLastModifiedBy, getRevision, getState, getSyncable, setAttributes, setDescription, setSyncable
getId, getTypeId
public RepositoryContainer(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, VersionLimits defaultVersionLimits)
typeId
- The object type identifier of the repository container.id
- The unique identifier of the repository container.name
- The name of the container.path
- The full path to the container in the repository, which includes the name.revision
- The internally managed revision number of the repository container.state
- The current state of the repository container.createdBy
- The user who created the repository container.created
- The date on which the repository container was created.lastModifiedBy
- The user who last modified the repository container's content.lastModified
- The date on which the repository container's content was last modified.propertiesLastModifiedBy
- The user who last modified the repository container's properties.propertiesLastModified
- The date on which the repository container's properties were last modified.description
- The description of the container.syncable
- Indicates whether the container can be copied to the user's workspace.attributes
- The extended attributes defined on the repository container.defaultVersionLimits
- The default version limits for new versioned files that are added to the container.public VersionLimits getDefaultVersionLimits()
public void setDefaultVersionLimits(VersionLimits defaultVersionLimits)
defaultVersionLimits
- The default version limits for new versioned files that are added to the container.public int hashCode()
hashCode
in class RepositoryItem
public boolean equals(Object obj)
equals
in class RepositoryItem
public String toString()
toString
in class RepositoryItem
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>