Class CQ.Sling
| Package: | CQ |
| Class: | Sling |
| Extends: | Object |
| Clientlib: | cq.shared |
Deprecated: use Granite.Sling instead
A helper class providing a set of Sling-related utilities.
This class is a singleton and cannot be created directly.
Public Properties
| |
CHARSET : String
<static> The parameter name for the used character set.
|
Sling |
| |
COPY_SUFFIX : String
<static> The parameter name suffix for copying.
|
Sling |
| |
DELETE_SUFFIX : String
<static> The parameter name suffix for deleting.
|
Sling |
| |
DESTINATION : String
<static> The parameter name for the destination flag.
|
Sling |
| |
IGNORE_PARAM : String
<static> The parameter name for input fields that should
be ignored by Sling.
|
Sling |
| |
LOGIN_URL : String
<static> Login URL
|
Sling |
| |
LOGOUT_URL : String
<static> Logout URL
|
Sling |
| |
MOVE_SUFFIX : String
<static> The parameter name suffix for moving.
|
Sling |
| |
OPERATION : String
<static> The parameter name for the operation.
|
Sling |
| |
OPERATION_DELETE : String
<static> The parameter value for the delete operation.
|
Sling |
| |
OPERATION_MOVE : String
<static> The parameter value for the move operation.
|
Sling |
| |
ORDER : String
<static> The parameter name for the ordering.
|
Sling |
| |
REPLACE : String
<static> The parameter name for the replace flag.
|
Sling |
| |
REQUEST_LOGIN_PARAM : String
<static> The parameter name for login requests.
|
Sling |
| |
SAVE_PARAM_PREFIX : String
<static> The parameter name for the save parameter prefix.
|
Sling |
| |
SELECTOR_INFINITY : String
<static> The selector for infinite hierarchy depth when retrieving
repository content.
|
Sling |
| |
STATUS : String
<static> The parameter name for the status.
|
Sling |
| |
STATUS_BROWSER : String
<static> The parameter value for the status type "browser".
|
Sling |
| |
TYPEHINT_SUFFIX : String
<static> The parameter name suffix for setting a type hint.
|
Sling |
Public Methods
| |
getContentPath( String relPath, String absPath, Boolean allowParentPaths ) : String
<static> Returns the content path for the data.
<static> Returns the content path for the data.
Parameters:
relPath : StringThe relative path to resolve absPath : StringThe absolute path to resovle against allowParentPaths : BooleanIndicates parent paths (../) should be processed at the start of the
relative path
Returns:
StringThe absolute path path
|
Sling |
| |
processBinaryData( Object value ) : Object
<static> Detects and processes binary repository data returned by Sling
and does some preparsing on it for more...
<static> Detects and processes binary repository data returned by Sling
and does some preparsing on it for more easy data handling.
|
Sling |
Public Events
This class has no public events.