Skip navigation links
A C D F G I O P R S U 

A

activate(BundleContext) - Method in class org.apache.sling.sample.slingshot.impl.SetupService
 
addComment(Resource, Comment) - Method in interface org.apache.sling.sample.slingshot.comments.CommentsService
Add a comment to the resource
addComment(Resource, Comment) - Method in class org.apache.sling.sample.slingshot.comments.impl.CommentsServiceImpl
 
APP_ROOT_PATH - Static variable in class org.apache.sling.sample.slingshot.SlingshotConstants
This is the resource path for the root of our application.

C

Comment - Class in org.apache.sling.sample.slingshot.comments
 
Comment() - Constructor for class org.apache.sling.sample.slingshot.comments.Comment
 
CommentPostServlet - Class in org.apache.sling.sample.slingshot.comments.impl
 
CommentPostServlet() - Constructor for class org.apache.sling.sample.slingshot.comments.impl.CommentPostServlet
 
CommentsService - Interface in org.apache.sling.sample.slingshot.comments
Service for handling the comments
CommentsServiceImpl - Class in org.apache.sling.sample.slingshot.comments.impl
Implementation of the comments service
CommentsServiceImpl() - Constructor for class org.apache.sling.sample.slingshot.comments.impl.CommentsServiceImpl
 
CommentsUtil - Class in org.apache.sling.sample.slingshot.comments
 
CommentsUtil() - Constructor for class org.apache.sling.sample.slingshot.comments.CommentsUtil
 

D

doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.sample.slingshot.comments.impl.CommentPostServlet
 
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.sample.slingshot.ratings.impl.RatingPostServlet
 

F

filter(String) - Static method in class org.apache.sling.sample.slingshot.impl.Util
 

G

getAbout() - Method in class org.apache.sling.sample.slingshot.model.UserInfo
 
getCommentsResourcePath(Resource) - Method in interface org.apache.sling.sample.slingshot.comments.CommentsService
Return the path to the comments resource for a resource.
getCommentsResourcePath(Resource) - Method in class org.apache.sling.sample.slingshot.comments.impl.CommentsServiceImpl
 
getContentPath(Resource) - Static method in class org.apache.sling.sample.slingshot.SlingshotUtil
Get the user content path for the resource
getCreated() - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
getCreatedBy() - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
getDescription() - Method in class org.apache.sling.sample.slingshot.model.StreamEntry
 
getDescription() - Method in class org.apache.sling.sample.slingshot.model.StreamInfo
 
getEntryCount() - Method in class org.apache.sling.sample.slingshot.model.StreamInfo
 
getInfo() - Method in class org.apache.sling.sample.slingshot.model.Stream
 
getInfo() - Method in class org.apache.sling.sample.slingshot.model.User
 
getLocation() - Method in class org.apache.sling.sample.slingshot.model.StreamEntry
 
getName() - Method in class org.apache.sling.sample.slingshot.model.UserInfo
 
getProperties() - Method in class org.apache.sling.sample.slingshot.model.PropertiesSupport
 
getRating(Resource) - Method in class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
 
getRating(Resource, String) - Method in class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
 
getRating(Resource) - Method in interface org.apache.sling.sample.slingshot.ratings.RatingsService
Get the overall rating for a resource.
getRating(Resource, String) - Method in interface org.apache.sling.sample.slingshot.ratings.RatingsService
Get the rating of a user for a resource.
getRatingsResourcePath(Resource) - Method in class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
 
getRatingsResourcePath(Resource) - Method in interface org.apache.sling.sample.slingshot.ratings.RatingsService
Return the path to the ratings resource for a resource.
getStream() - Method in class org.apache.sling.sample.slingshot.model.StreamEntry
 
getText() - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
getTitle() - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
getTitle() - Method in class org.apache.sling.sample.slingshot.model.StreamEntry
 
getTitle() - Method in class org.apache.sling.sample.slingshot.model.StreamInfo
 
getUserId(Resource) - Static method in class org.apache.sling.sample.slingshot.SlingshotUtil
Get the user id for a resource

I

InternalConstants - Class in org.apache.sling.sample.slingshot.impl
 
InternalConstants() - Constructor for class org.apache.sling.sample.slingshot.impl.InternalConstants
 
isUser(SlingHttpServletRequest) - Static method in class org.apache.sling.sample.slingshot.SlingshotUtil
Checks whether the request is from a known user or from anonymous

O

org.apache.sling.sample.slingshot - package org.apache.sling.sample.slingshot
 
org.apache.sling.sample.slingshot.comments - package org.apache.sling.sample.slingshot.comments
 
org.apache.sling.sample.slingshot.comments.impl - package org.apache.sling.sample.slingshot.comments.impl
 
org.apache.sling.sample.slingshot.impl - package org.apache.sling.sample.slingshot.impl
 
org.apache.sling.sample.slingshot.model - package org.apache.sling.sample.slingshot.model
 
org.apache.sling.sample.slingshot.ratings - package org.apache.sling.sample.slingshot.ratings
 
org.apache.sling.sample.slingshot.ratings.impl - package org.apache.sling.sample.slingshot.ratings.impl
 

P

PATH_PHOTO - Static variable in class org.apache.sling.sample.slingshot.model.StreamInfo
 
PATH_PHOTO - Static variable in class org.apache.sling.sample.slingshot.model.UserInfo
 
PropertiesSupport - Class in org.apache.sling.sample.slingshot.model
 
PropertiesSupport(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.PropertiesSupport
 
PROPERTY_ABOUT - Static variable in class org.apache.sling.sample.slingshot.model.UserInfo
 
PROPERTY_CREATED - Static variable in class org.apache.sling.sample.slingshot.comments.CommentsUtil
 
PROPERTY_DESCRIPTION - Static variable in class org.apache.sling.sample.slingshot.model.StreamEntry
 
PROPERTY_DESCRIPTION - Static variable in class org.apache.sling.sample.slingshot.model.StreamInfo
 
PROPERTY_DESCRIPTION - Static variable in class org.apache.sling.sample.slingshot.SlingshotConstants
 
PROPERTY_LOCATION - Static variable in class org.apache.sling.sample.slingshot.model.StreamEntry
 
PROPERTY_LOCATION - Static variable in class org.apache.sling.sample.slingshot.SlingshotConstants
 
PROPERTY_NAME - Static variable in class org.apache.sling.sample.slingshot.model.UserInfo
 
PROPERTY_RATING - Static variable in class org.apache.sling.sample.slingshot.ratings.RatingsUtil
The property of a rating resource holding the rating for a user.
PROPERTY_TAGS - Static variable in class org.apache.sling.sample.slingshot.model.StreamEntry
 
PROPERTY_TAGS - Static variable in class org.apache.sling.sample.slingshot.SlingshotConstants
 
PROPERTY_TEXT - Static variable in class org.apache.sling.sample.slingshot.comments.CommentsUtil
 
PROPERTY_TITLE - Static variable in class org.apache.sling.sample.slingshot.comments.CommentsUtil
 
PROPERTY_TITLE - Static variable in class org.apache.sling.sample.slingshot.model.StreamEntry
 
PROPERTY_TITLE - Static variable in class org.apache.sling.sample.slingshot.model.StreamInfo
 
PROPERTY_TITLE - Static variable in class org.apache.sling.sample.slingshot.SlingshotConstants
 
PROPERTY_USER - Static variable in class org.apache.sling.sample.slingshot.comments.CommentsUtil
 

R

RatingPostServlet - Class in org.apache.sling.sample.slingshot.ratings.impl
The ratings post servlet is registered for a POST to an entry with the selector "rating".
RatingPostServlet() - Constructor for class org.apache.sling.sample.slingshot.ratings.impl.RatingPostServlet
 
RatingsService - Interface in org.apache.sling.sample.slingshot.ratings
Service for handling the ratings
RatingsServiceImpl - Class in org.apache.sling.sample.slingshot.ratings.impl
Implementation of the ratings service
RatingsServiceImpl() - Constructor for class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
 
RatingsUtil - Class in org.apache.sling.sample.slingshot.ratings
Utility class for handling ratings.
RatingsUtil() - Constructor for class org.apache.sling.sample.slingshot.ratings.RatingsUtil
 
resource - Variable in class org.apache.sling.sample.slingshot.model.PropertiesSupport
 
RESOURCETYPE - Static variable in class org.apache.sling.sample.slingshot.model.Stream
The resource type for a stream.
RESOURCETYPE - Static variable in class org.apache.sling.sample.slingshot.model.StreamEntry
The resource type for a stream entry.
RESOURCETYPE - Static variable in class org.apache.sling.sample.slingshot.model.StreamInfo
The resource type for a stream info.
RESOURCETYPE - Static variable in class org.apache.sling.sample.slingshot.model.User
The resource type for a user.
RESOURCETYPE - Static variable in class org.apache.sling.sample.slingshot.model.UserInfo
The resource type for a user info.
RESOURCETYPE_COMMENT - Static variable in class org.apache.sling.sample.slingshot.comments.CommentsUtil
The resource type for a comment.
RESOURCETYPE_COMMENTS - Static variable in class org.apache.sling.sample.slingshot.comments.impl.CommentsServiceImpl
The resource type for the comments holder.
RESOURCETYPE_HOME - Static variable in class org.apache.sling.sample.slingshot.impl.InternalConstants
The resource type for the root of slingshot.
RESOURCETYPE_RATING - Static variable in class org.apache.sling.sample.slingshot.ratings.RatingsUtil
The resource type for a rating.
RESOURCETYPE_RATINGS - Static variable in class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
The resource type for the rating holder.

S

SERVICE_USER_NAME - Static variable in class org.apache.sling.sample.slingshot.impl.InternalConstants
This is name of the service user.
setCreated(Calendar) - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
setCreatedBy(String) - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
setRating(Resource, String, double) - Method in class org.apache.sling.sample.slingshot.ratings.impl.RatingsServiceImpl
 
setRating(Resource, String, double) - Method in interface org.apache.sling.sample.slingshot.ratings.RatingsService
Set the rating of a user for a resource.
setText(String) - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
setTitle(String) - Method in class org.apache.sling.sample.slingshot.comments.Comment
 
SetupService - Class in org.apache.sling.sample.slingshot.impl
The setup service checks the resource types for the main folders, as some of them can't be set through initial content.
SetupService() - Constructor for class org.apache.sling.sample.slingshot.impl.SetupService
 
SlingshotConstants - Class in org.apache.sling.sample.slingshot
 
SlingshotConstants() - Constructor for class org.apache.sling.sample.slingshot.SlingshotConstants
 
SlingshotUtil - Class in org.apache.sling.sample.slingshot
 
SlingshotUtil() - Constructor for class org.apache.sling.sample.slingshot.SlingshotUtil
 
Stream - Class in org.apache.sling.sample.slingshot.model
 
Stream(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.Stream
 
StreamEntry - Class in org.apache.sling.sample.slingshot.model
 
StreamEntry(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.StreamEntry
 
StreamInfo - Class in org.apache.sling.sample.slingshot.model
 
StreamInfo(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.StreamInfo
 

U

User - Class in org.apache.sling.sample.slingshot.model
 
User(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.User
 
UserInfo - Class in org.apache.sling.sample.slingshot.model
 
UserInfo(Resource) - Constructor for class org.apache.sling.sample.slingshot.model.UserInfo
 
Util - Class in org.apache.sling.sample.slingshot.impl
 
Util() - Constructor for class org.apache.sling.sample.slingshot.impl.Util
 
A C D F G I O P R S U 
Skip navigation links

Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.