Package com.sas.lsaf.content.repository
Class RepositoryContext
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.content.repository.RepositoryItem
com.sas.lsaf.content.repository.RepositoryContainer
com.sas.lsaf.content.repository.RepositoryContext
- All Implemented Interfaces:
Identifiable,Serializable
The class that represents a context within the repository hierarchy. Contexts are special containers that can be configured
through the type service with certain capabilities, such as membership definition, group definitions, role
definitions, workflow, and so on.
- Since:
- 2.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sas.lsaf.content.repository.RepositoryItem
RepositoryItem.State, RepositoryItem.Syncable -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryContext(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. -
Method Summary
Methods inherited from class com.sas.lsaf.content.repository.RepositoryContainer
getDefaultVersionLimits, setDefaultVersionLimitsMethods inherited from class com.sas.lsaf.content.repository.RepositoryItem
getAttributes, getCreated, getCreatedBy, getDescription, getLastModified, getLastModifiedBy, getName, getPath, getPropertiesLastModified, getPropertiesLastModifiedBy, getRevision, getState, getSyncable, setAttributes, setDescription, setSyncableMethods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
RepositoryContext
public RepositoryContext(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. They should only deal with the repository context objects returned by the API.- Parameters:
typeId- The object type identifier of the repository context.id- The unique identifier of the repository context.name- The name of the context.path- The full path to the context in the repository, which includes the name.revision- The internally managed revision number of the repository context.state- The current state of the repository context.createdBy- The user who created the repository context.created- The date on which the repository context was created..lastModifiedBy- The user who last modified the repository context's content.lastModified- The date on which the repository context's content was last modified.propertiesLastModifiedBy- The user who last modified the repository context's properties.propertiesLastModified- The date on which the repository context's properties were last modified.description- The description of the context.syncable- Indicates whether the context can be copied to the user's workspace.attributes- The extended attributes that are defined on the repository context.defaultVersionLimits- The default version limits for new versioned files that are added to the container.
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classRepositoryContainer
-
equals
- Overrides:
equalsin classRepositoryContainer
-
toString
- Overrides:
toStringin classRepositoryContainer
-