1414package com .agiletec .plugins .jacms .aps .system .services .content ;
1515
1616import com .agiletec .aps .system .ApsSystemUtils ;
17- import com .agiletec .aps .system .SystemConstants ;
1817import com .agiletec .aps .system .common .entity .ApsEntityManager ;
1918import com .agiletec .aps .system .common .entity .IEntityDAO ;
2019import com .agiletec .aps .system .common .entity .IEntitySearcherDAO ;
5352 * Contents manager. This implements all the methods needed to create and manage
5453 * the contents.
5554 */
56- public class ContentManager extends ApsEntityManager
57- implements IContentManager , GroupUtilizer <String >, PageUtilizer , ContentUtilizer , ResourceUtilizer , CategoryUtilizer {
55+ public class ContentManager extends ApsEntityManager
56+ implements IContentManager , GroupUtilizer <String >, PageUtilizer ,
57+ ContentUtilizer <String >, ResourceUtilizer <String >, CategoryUtilizer <String , String > {
5858
5959 private static final EntLogger logger = EntLogFactory .getSanitizedLogger (ContentManager .class );
6060
@@ -615,7 +615,7 @@ public List getPageUtilizers(String pageCode) throws EntException {
615615 }
616616
617617 @ Override
618- public List getContentUtilizers (String contentId ) throws EntException {
618+ public List < String > getContentUtilizers (String contentId ) throws EntException {
619619 try {
620620 return this .getContentDAO ().getContentUtilizers (contentId );
621621 } catch (Throwable t ) {
@@ -633,7 +633,7 @@ public List<String> getGroupUtilizers(String groupName) throws EntException {
633633 }
634634
635635 @ Override
636- public List getResourceUtilizers (String resourceId ) throws EntException {
636+ public List < String > getResourceUtilizers (String resourceId ) throws EntException {
637637 try {
638638 return this .getContentDAO ().getResourceUtilizers (resourceId );
639639 } catch (Throwable t ) {
@@ -642,7 +642,7 @@ public List getResourceUtilizers(String resourceId) throws EntException {
642642 }
643643
644644 @ Override
645- public List getCategoryUtilizers (String resourceId ) throws EntException {
645+ public List < String > getCategoryUtilizers (String resourceId ) throws EntException {
646646 try {
647647 return this .getContentDAO ().getCategoryUtilizers (resourceId );
648648 } catch (Throwable t ) {
@@ -661,7 +661,7 @@ public void reloadCategoryReferences(String categoryCode) {
661661
662662 @ SuppressWarnings ("rawtypes" )
663663 @ Override
664- public List getCategoryUtilizersForReloadReferences (String categoryCode ) {
664+ public List < String > getCategoryUtilizersForReloadReferences (String categoryCode ) {
665665 List <String > contentIdToReload = new ArrayList <>();
666666 try {
667667 Set <String > contents = this .getContentUpdaterService ().getContentsId (categoryCode );
0 commit comments