Class SitemapServiceImpl
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.impl.BaseServiceImpl
-
- org.cyclos.impl.contentmanagement.SitemapServiceImpl
-
- All Implemented Interfaces:
SitemapServiceLocal,SitemapService,Service
@Service public class SitemapServiceImpl extends BaseServiceImpl implements SitemapServiceLocal
Implementation forSitemapService
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, conversionHandler, customFieldValueHandler, entityManagerHandler, groupsHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description SitemapServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SitemapItemContentVOgetContent(SitemapItemType type, Long id)Returns the content of an itemSitemapIndexDatagetIndexData()Returns the sitemap index dataStringgetLastModifiedInMillis()Returns the last modification timestamp for the sitemap of the current configurationSitemapDatagetSitemapData()Returns a sitemap dataprotected voidregisterNetworkMappings(NetworkPathRegistry networkPathRegistry)Needs to be overridden by subclasses to register the path up to the network-
Methods inherited from class org.cyclos.impl.BaseServiceImpl
initializeNetworkMappings
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, setAlreadyValidated, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, dataTranslationProxy, delete, detach, doDataTranslationProxy, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
-
-
-
Method Detail
-
getContent
public SitemapItemContentVO getContent(SitemapItemType type, Long id) throws FrameworkException
Description copied from interface:SitemapServiceReturns the content of an item- Specified by:
getContentin interfaceSitemapService- Throws:
FrameworkException
-
getIndexData
public SitemapIndexData getIndexData() throws FrameworkException
Description copied from interface:SitemapServiceReturns the sitemap index data- Specified by:
getIndexDatain interfaceSitemapService- Throws:
FrameworkException
-
getLastModifiedInMillis
public String getLastModifiedInMillis()
Description copied from interface:SitemapServiceReturns the last modification timestamp for the sitemap of the current configuration- Specified by:
getLastModifiedInMillisin interfaceSitemapService
-
getSitemapData
public SitemapData getSitemapData()
Description copied from interface:SitemapServiceReturns a sitemap data- Specified by:
getSitemapDatain interfaceSitemapService
-
registerNetworkMappings
protected void registerNetworkMappings(NetworkPathRegistry networkPathRegistry)
Description copied from class:BaseServiceImplNeeds to be overridden by subclasses to register the path up to the network- Specified by:
registerNetworkMappingsin classBaseServiceImpl
-
-