class Repository : InstanceService
<init> |
Repository(sync: InstanceSync) |
damUploads |
When trying to upload file under '/content/dam', repository will use for upload dedicated AEM service instead of using Sling service. val damUploads: Property<Boolean!>! |
responseChecks |
Controls throwing exceptions in case of response statuses indicating repository errors. Switching it to false, allows custom error handling in task scripting. val responseChecks: Property<Boolean!>! |
typeHints |
Take care about property value types saved in repository. val typeHints: Property<Boolean!>! |
verboseLogging |
Controls level of logging. By default repository related operations are only logged at debug level. This switch could increase logging level to info level. val verboseLogging: Property<Boolean!>! |
import |
Shorthand method for importing content from JSON file at given path. fun import(path: String, jsonFile: File): RepositoryResult |
node |
Get node at given path. fun node(path: String): Node
Get node at given path and perform action in its scope (and optionally return result). fun <T> node(path: String, action: Node.() -> T): T |
query |
Execute repository query to find desired nodes. fun query(criteria: QueryCriteria.() -> Unit): Queryfun query(criteria: QueryCriteria): Query |
save |
Shorthand method for creating or updating node at given path. fun save(path: String, properties: Map<String, Any?>): RepositoryResult |
QUERY_BUILDER_PATH |
const val QUERY_BUILDER_PATH: String |