Liferay 6.2.0

com.liferay.portlet.assetpublisher.util
Interface AssetPublisher

All Known Implementing Classes:
AssetPublisherImpl

public interface AssetPublisher


Field Summary
static String SCOPE_ID_CHILD_GROUP_PREFIX
           
static String SCOPE_ID_GROUP_PREFIX
           
static String SCOPE_ID_LAYOUT_PREFIX
           
static String SCOPE_ID_LAYOUT_UUID_PREFIX
           
static String SCOPE_ID_PARENT_GROUP_PREFIX
           
 
Method Summary
abstract  void addAndStoreSelection(PortletRequest portletRequest, String className, long classPK, int assetEntryOrder)
           
abstract  void addRecentFolderId(PortletRequest portletRequest, String className, long classPK)
           
abstract  void addSelection(PortletRequest portletRequest, PortletPreferences portletPreferences, String portletId)
           
abstract  void addSelection(ThemeDisplay themeDisplay, PortletPreferences portletPreferences, String portletId, long assetEntryId, int assetEntryOrder, String assetEntryType)
           
abstract  void addUserAttributes(User user, String[] customUserAttributeNames, AssetEntryQuery assetEntryQuery)
           
abstract  void checkAssetEntries()
           
abstract  long[] getAssetCategoryIds(PortletPreferences portletPreferences)
           
abstract  List<AssetEntry> getAssetEntries(PortletPreferences portletPreferences, Layout layout, long scopeGroupId, int max, boolean checkPermission)
           
abstract  List<AssetEntry> getAssetEntries(PortletRequest portletRequest, PortletPreferences portletPreferences, PermissionChecker permissionChecker, long[] groupIds, long[] assetCategoryIds, String[] assetEntryXmls, String[] assetTagNames, boolean deleteMissingAssetEntries, boolean checkPermission)
           
abstract  List<AssetEntry> getAssetEntries(PortletRequest portletRequest, PortletPreferences portletPreferences, PermissionChecker permissionChecker, long[] groupIds, String[] assetEntryXmls, boolean deleteMissingAssetEntries, boolean checkPermission)
           
abstract  List<AssetEntry> getAssetEntries(PortletRequest portletRequest, PortletPreferences portletPreferences, PermissionChecker permissionChecker, long[] groupIds, String[] assetEntryXmls, boolean deleteMissingAssetEntries, boolean checkPermission, boolean includeNonVisibleAssets)
           
abstract  AssetEntryQuery getAssetEntryQuery(PortletPreferences portletPreferences, long[] scopeGroupIds)
           
abstract  String[] getAssetTagNames(PortletPreferences portletPreferences, long scopeGroupId)
           
abstract  String getClassName(AssetRendererFactory assetRendererFactory)
           
abstract  long[] getClassNameIds(PortletPreferences portletPreferences, long[] availableClassNameIds)
           
abstract  Long[] getClassTypeIds(PortletPreferences portletPreferences, String className, Long[] availableClassTypeIds)
           
abstract  Map<Locale,String> getEmailAssetEntryAddedBodyMap(PortletPreferences portletPreferences)
           
abstract  boolean getEmailAssetEntryAddedEnabled(PortletPreferences portletPreferences)
           
abstract  Map<Locale,String> getEmailAssetEntryAddedSubjectMap(PortletPreferences portletPreferences)
           
abstract  String getEmailFromAddress(PortletPreferences portletPreferences, long companyId)
           
abstract  String getEmailFromName(PortletPreferences portletPreferences, long companyId)
           
abstract  long getGroupIdFromScopeId(String scopeId, long siteGroupId, boolean privateLayout)
           
abstract  long[] getGroupIds(PortletPreferences portletPreferences, long scopeGroupId, Layout layout)
           
abstract  long getRecentFolderId(PortletRequest portletRequest, String className)
           
abstract  String getScopeId(Group group, long scopeGroupId)
           
abstract  long getSubscriptionClassPK(long ownerId, int ownerType, long plid, String portletId)
           
abstract  long getSubscriptionClassPK(long plid, String portletId)
           
abstract  boolean isScopeIdSelectable(PermissionChecker permissionChecker, String scopeId, long companyGroupId, Layout layout)
           
abstract  boolean isSubscribed(long companyId, long userId, long plid, String portletId)
           
abstract  void notifySubscribers(PortletPreferences portletPreferences, long plid, String portletId, List<AssetEntry> assetEntries)
           
abstract  void processAssetEntryQuery(User user, PortletPreferences portletPreferences, AssetEntryQuery assetEntryQuery)
           
abstract  void registerAssetQueryProcessor(String name, AssetEntryQueryProcessor assetQueryProcessor)
           
abstract  void removeAndStoreSelection(List<String> assetEntryUuids, PortletPreferences portletPreferences)
           
abstract  void removeRecentFolderId(PortletRequest portletRequest, String className, long classPK)
           
abstract  void subscribe(PermissionChecker permissionChecker, long groupId, long plid, String portletId)
           
abstract  void unregisterAssetQueryProcessor(String assetQueryProcessorClassName)
           
abstract  void unsubscribe(PermissionChecker permissionChecker, long plid, String portletId)
           
 

Field Detail

SCOPE_ID_CHILD_GROUP_PREFIX

static final String SCOPE_ID_CHILD_GROUP_PREFIX
See Also:
Constant Field Values

SCOPE_ID_GROUP_PREFIX

static final String SCOPE_ID_GROUP_PREFIX
See Also:
Constant Field Values

SCOPE_ID_LAYOUT_PREFIX

static final String SCOPE_ID_LAYOUT_PREFIX
See Also:
Constant Field Values

SCOPE_ID_LAYOUT_UUID_PREFIX

static final String SCOPE_ID_LAYOUT_UUID_PREFIX
See Also:
Constant Field Values

SCOPE_ID_PARENT_GROUP_PREFIX

static final String SCOPE_ID_PARENT_GROUP_PREFIX
See Also:
Constant Field Values
Method Detail

addAndStoreSelection

void addAndStoreSelection(PortletRequest portletRequest,
                          String className,
                          long classPK,
                          int assetEntryOrder)
                          throws Exception
Throws:
Exception

addRecentFolderId

void addRecentFolderId(PortletRequest portletRequest,
                       String className,
                       long classPK)

addSelection

void addSelection(PortletRequest portletRequest,
                  PortletPreferences portletPreferences,
                  String portletId)
                  throws Exception
Throws:
Exception

addSelection

void addSelection(ThemeDisplay themeDisplay,
                  PortletPreferences portletPreferences,
                  String portletId,
                  long assetEntryId,
                  int assetEntryOrder,
                  String assetEntryType)
                  throws Exception
Throws:
Exception

addUserAttributes

void addUserAttributes(User user,
                       String[] customUserAttributeNames,
                       AssetEntryQuery assetEntryQuery)
                       throws Exception
Throws:
Exception

checkAssetEntries

void checkAssetEntries()
                       throws Exception
Throws:
Exception

getAssetCategoryIds

long[] getAssetCategoryIds(PortletPreferences portletPreferences)
                           throws Exception
Throws:
Exception

getAssetEntries

List<AssetEntry> getAssetEntries(PortletPreferences portletPreferences,
                                 Layout layout,
                                 long scopeGroupId,
                                 int max,
                                 boolean checkPermission)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getAssetEntries

List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
                                 PortletPreferences portletPreferences,
                                 PermissionChecker permissionChecker,
                                 long[] groupIds,
                                 long[] assetCategoryIds,
                                 String[] assetEntryXmls,
                                 String[] assetTagNames,
                                 boolean deleteMissingAssetEntries,
                                 boolean checkPermission)
                                 throws Exception
Throws:
Exception

getAssetEntries

List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
                                 PortletPreferences portletPreferences,
                                 PermissionChecker permissionChecker,
                                 long[] groupIds,
                                 String[] assetEntryXmls,
                                 boolean deleteMissingAssetEntries,
                                 boolean checkPermission)
                                 throws Exception
Throws:
Exception

getAssetEntries

List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
                                 PortletPreferences portletPreferences,
                                 PermissionChecker permissionChecker,
                                 long[] groupIds,
                                 String[] assetEntryXmls,
                                 boolean deleteMissingAssetEntries,
                                 boolean checkPermission,
                                 boolean includeNonVisibleAssets)
                                 throws Exception
Throws:
Exception

getAssetEntryQuery

AssetEntryQuery getAssetEntryQuery(PortletPreferences portletPreferences,
                                   long[] scopeGroupIds)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getAssetTagNames

String[] getAssetTagNames(PortletPreferences portletPreferences,
                          long scopeGroupId)
                          throws Exception
Throws:
Exception

getClassName

String getClassName(AssetRendererFactory assetRendererFactory)

getClassNameIds

long[] getClassNameIds(PortletPreferences portletPreferences,
                       long[] availableClassNameIds)

getClassTypeIds

Long[] getClassTypeIds(PortletPreferences portletPreferences,
                       String className,
                       Long[] availableClassTypeIds)

getEmailAssetEntryAddedBodyMap

Map<Locale,String> getEmailAssetEntryAddedBodyMap(PortletPreferences portletPreferences)

getEmailAssetEntryAddedEnabled

boolean getEmailAssetEntryAddedEnabled(PortletPreferences portletPreferences)

getEmailAssetEntryAddedSubjectMap

Map<Locale,String> getEmailAssetEntryAddedSubjectMap(PortletPreferences portletPreferences)

getEmailFromAddress

String getEmailFromAddress(PortletPreferences portletPreferences,
                           long companyId)
                           throws SystemException
Throws:
SystemException

getEmailFromName

String getEmailFromName(PortletPreferences portletPreferences,
                        long companyId)
                        throws SystemException
Throws:
SystemException

getGroupIdFromScopeId

long getGroupIdFromScopeId(String scopeId,
                           long siteGroupId,
                           boolean privateLayout)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getGroupIds

long[] getGroupIds(PortletPreferences portletPreferences,
                   long scopeGroupId,
                   Layout layout)

getRecentFolderId

long getRecentFolderId(PortletRequest portletRequest,
                       String className)

getScopeId

String getScopeId(Group group,
                  long scopeGroupId)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getSubscriptionClassPK

long getSubscriptionClassPK(long plid,
                            String portletId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getSubscriptionClassPK

long getSubscriptionClassPK(long ownerId,
                            int ownerType,
                            long plid,
                            String portletId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

isScopeIdSelectable

boolean isScopeIdSelectable(PermissionChecker permissionChecker,
                            String scopeId,
                            long companyGroupId,
                            Layout layout)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

isSubscribed

boolean isSubscribed(long companyId,
                     long userId,
                     long plid,
                     String portletId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

notifySubscribers

void notifySubscribers(PortletPreferences portletPreferences,
                       long plid,
                       String portletId,
                       List<AssetEntry> assetEntries)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

processAssetEntryQuery

void processAssetEntryQuery(User user,
                            PortletPreferences portletPreferences,
                            AssetEntryQuery assetEntryQuery)
                            throws Exception
Throws:
Exception

registerAssetQueryProcessor

void registerAssetQueryProcessor(String name,
                                 AssetEntryQueryProcessor assetQueryProcessor)

removeAndStoreSelection

void removeAndStoreSelection(List<String> assetEntryUuids,
                             PortletPreferences portletPreferences)
                             throws Exception
Throws:
Exception

removeRecentFolderId

void removeRecentFolderId(PortletRequest portletRequest,
                          String className,
                          long classPK)

subscribe

void subscribe(PermissionChecker permissionChecker,
               long groupId,
               long plid,
               String portletId)
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

unregisterAssetQueryProcessor

void unregisterAssetQueryProcessor(String assetQueryProcessorClassName)

unsubscribe

void unsubscribe(PermissionChecker permissionChecker,
                 long plid,
                 String portletId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0