|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.assetpublisher.util.AssetPublisherUtil
@ProviderType public class AssetPublisherUtil
| Constructor Summary | |
|---|---|
AssetPublisherUtil()
|
|
| Method Summary | |
|---|---|
static void |
addAndStoreSelection(PortletRequest portletRequest,
String className,
long classPK,
int assetEntryOrder)
|
static void |
addRecentFolderId(PortletRequest portletRequest,
String className,
long classPK)
|
static void |
addSelection(PortletRequest portletRequest,
PortletPreferences portletPreferences,
String portletId)
|
static void |
addSelection(ThemeDisplay themeDisplay,
PortletPreferences portletPreferences,
String portletId,
long assetEntryId,
int assetEntryOrder,
String assetEntryType)
|
static void |
addUserAttributes(User user,
String[] customUserAttributeNames,
AssetEntryQuery assetEntryQuery)
|
static void |
checkAssetEntries()
|
static long[] |
getAssetCategoryIds(PortletPreferences portletPreferences)
|
static List<AssetEntry> |
getAssetEntries(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
boolean advancedSearch,
boolean andOperator,
int start,
int end,
String orderByCol1,
String orderByCol2,
String orderByType1,
String orderByType2)
|
static List<AssetEntry> |
getAssetEntries(PortletPreferences portletPreferences,
Layout layout,
long scopeGroupId,
int max,
boolean checkPermission)
|
static List<AssetEntry> |
getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
boolean deleteMissingAssetEntries,
boolean checkPermission)
|
static List<AssetEntry> |
getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
long[] allCategoryIds,
String[] allTagNames,
boolean deleteMissingAssetEntries,
boolean checkPermission)
|
static List<AssetEntry> |
getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
long[] assetCategoryIds,
String[] assetEntryXmls,
String[] assetTagNames,
boolean deleteMissingAssetEntries,
boolean checkPermission)
Deprecated. As of 7.0.0, replaced by getAssetEntries( PortletRequest,
PortletPreferences, PermissionChecker, long[], long[],
String[], boolean , boolean) |
static List<AssetEntry> |
getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
String[] assetEntryXmls,
boolean deleteMissingAssetEntries,
boolean checkPermission)
Deprecated. As of 7.0.0, replaced by getAssetEntries( PortletRequest,
PortletPreferences, PermissionChecker, long[], boolean,
boolean) |
static int |
getAssetEntriesCount(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
boolean advancedSearch,
boolean andOperator,
int start,
int end)
|
static AssetEntryQuery |
getAssetEntryQuery(PortletPreferences portletPreferences,
long[] siteGroupIds)
Deprecated. As of 7.0.0, replaced by getAssetEntryQuery(PortletPreferences,
long[], long[], String[]) |
static AssetEntryQuery |
getAssetEntryQuery(PortletPreferences portletPreferences,
long[] scopeGroupIds,
long[] overrideAllAssetCategoryIds,
String[] overrideAllAssetTagNames)
|
static AssetPublisher |
getAssetPublisher()
|
static String[] |
getAssetTagNames(PortletPreferences portletPreferences)
|
static String[] |
getAssetTagNames(PortletPreferences portletPreferences,
long scopeGroupId)
Deprecated. As of 7.0.0, replaced by getAssetTagNames(PortletPreferences) |
static String |
getClassName(AssetRendererFactory assetRendererFactory)
|
static long[] |
getClassNameIds(PortletPreferences portletPreferences,
long[] availableClassNameIds)
|
static Long[] |
getClassTypeIds(PortletPreferences portletPreferences,
String className,
List<ClassType> availableClassTypes)
|
static Long[] |
getClassTypeIds(PortletPreferences portletPreferences,
String className,
Long[] availableClassTypeIds)
|
static Map<Locale,String> |
getEmailAssetEntryAddedBodyMap(PortletPreferences portletPreferences)
|
static boolean |
getEmailAssetEntryAddedEnabled(PortletPreferences portletPreferences)
|
static Map<Locale,String> |
getEmailAssetEntryAddedSubjectMap(PortletPreferences portletPreferences)
|
static Map<String,String> |
getEmailDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName)
|
static String |
getEmailFromAddress(PortletPreferences portletPreferences,
long companyId)
|
static String |
getEmailFromName(PortletPreferences portletPreferences,
long companyId)
|
static long |
getGroupIdFromScopeId(String scopeId,
long siteGroupId,
boolean privateLayout)
|
static long[] |
getGroupIds(PortletPreferences portletPreferences,
long scopeGroupId,
Layout layout)
|
static long |
getRecentFolderId(PortletRequest portletRequest,
String className)
|
static String |
getScopeId(Group group,
long scopeGroupId)
|
static long |
getSubscriptionClassPK(long plid,
String portletId)
|
static boolean |
isScopeIdSelectable(PermissionChecker permissionChecker,
String scopeId,
long companyGroupId,
Layout layout)
|
static boolean |
isSubscribed(long companyId,
long userId,
long plid,
String portletId)
|
static void |
notifySubscribers(PortletPreferences portletPreferences,
long plid,
String portletId,
List<AssetEntry> assetEntries)
|
static void |
processAssetEntryQuery(User user,
PortletPreferences portletPreferences,
AssetEntryQuery assetEntryQuery)
|
static void |
registerAssetQueryProcessor(String name,
AssetEntryQueryProcessor assetQueryProcessor)
|
static void |
removeAndStoreSelection(List<String> assetEntryUuids,
PortletPreferences portletPreferences)
|
static void |
removeRecentFolderId(PortletRequest portletRequest,
String className,
long classPK)
|
void |
setAssetPublisher(AssetPublisher assetPublisher)
|
static void |
subscribe(PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId)
|
static void |
unregisterAssetQueryProcessor(String assetQueryProcessorClassName)
|
static void |
unsubscribe(PermissionChecker permissionChecker,
long plid,
String portletId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetPublisherUtil()
| Method Detail |
|---|
public static void addAndStoreSelection(PortletRequest portletRequest,
String className,
long classPK,
int assetEntryOrder)
throws Exception
Exception
public static void addRecentFolderId(PortletRequest portletRequest,
String className,
long classPK)
public static void addSelection(PortletRequest portletRequest,
PortletPreferences portletPreferences,
String portletId)
throws Exception
Exception
public static void addSelection(ThemeDisplay themeDisplay,
PortletPreferences portletPreferences,
String portletId,
long assetEntryId,
int assetEntryOrder,
String assetEntryType)
throws Exception
Exception
public static void addUserAttributes(User user,
String[] customUserAttributeNames,
AssetEntryQuery assetEntryQuery)
throws Exception
Exception
public static void checkAssetEntries()
throws Exception
Exception
public static long[] getAssetCategoryIds(PortletPreferences portletPreferences)
throws Exception
Exception
public static List<AssetEntry> getAssetEntries(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
boolean advancedSearch,
boolean andOperator,
int start,
int end,
String orderByCol1,
String orderByCol2,
String orderByType1,
String orderByType2)
public static List<AssetEntry> getAssetEntries(PortletPreferences portletPreferences,
Layout layout,
long scopeGroupId,
int max,
boolean checkPermission)
throws PortalException
PortalException
public static List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
boolean deleteMissingAssetEntries,
boolean checkPermission)
throws Exception
Exception
public static List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
long[] allCategoryIds,
String[] allTagNames,
boolean deleteMissingAssetEntries,
boolean checkPermission)
throws Exception
Exception
@Deprecated
public static List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
long[] assetCategoryIds,
String[] assetEntryXmls,
String[] assetTagNames,
boolean deleteMissingAssetEntries,
boolean checkPermission)
throws Exception
getAssetEntries( PortletRequest,
PortletPreferences, PermissionChecker, long[], long[],
String[], boolean , boolean)
Exception
@Deprecated
public static List<AssetEntry> getAssetEntries(PortletRequest portletRequest,
PortletPreferences portletPreferences,
PermissionChecker permissionChecker,
long[] groupIds,
String[] assetEntryXmls,
boolean deleteMissingAssetEntries,
boolean checkPermission)
throws Exception
getAssetEntries( PortletRequest,
PortletPreferences, PermissionChecker, long[], boolean,
boolean)
Exception
public static int getAssetEntriesCount(long[] groupIds,
long[] classNameIds,
String keywords,
String userName,
String title,
String description,
boolean advancedSearch,
boolean andOperator,
int start,
int end)
@Deprecated
public static AssetEntryQuery getAssetEntryQuery(PortletPreferences portletPreferences,
long[] siteGroupIds)
throws PortalException
getAssetEntryQuery(PortletPreferences,
long[], long[], String[])
PortalException
public static AssetEntryQuery getAssetEntryQuery(PortletPreferences portletPreferences,
long[] scopeGroupIds,
long[] overrideAllAssetCategoryIds,
String[] overrideAllAssetTagNames)
throws PortalException
PortalExceptionpublic static AssetPublisher getAssetPublisher()
public static String[] getAssetTagNames(PortletPreferences portletPreferences)
throws Exception
Exception
@Deprecated
public static String[] getAssetTagNames(PortletPreferences portletPreferences,
long scopeGroupId)
throws Exception
getAssetTagNames(PortletPreferences)
Exceptionpublic static String getClassName(AssetRendererFactory assetRendererFactory)
public static long[] getClassNameIds(PortletPreferences portletPreferences,
long[] availableClassNameIds)
public static Long[] getClassTypeIds(PortletPreferences portletPreferences,
String className,
List<ClassType> availableClassTypes)
public static Long[] getClassTypeIds(PortletPreferences portletPreferences,
String className,
Long[] availableClassTypeIds)
public static Map<Locale,String> getEmailAssetEntryAddedBodyMap(PortletPreferences portletPreferences)
public static boolean getEmailAssetEntryAddedEnabled(PortletPreferences portletPreferences)
public static Map<Locale,String> getEmailAssetEntryAddedSubjectMap(PortletPreferences portletPreferences)
public static Map<String,String> getEmailDefinitionTerms(PortletRequest portletRequest,
String emailFromAddress,
String emailFromName)
public static String getEmailFromAddress(PortletPreferences portletPreferences,
long companyId)
public static String getEmailFromName(PortletPreferences portletPreferences,
long companyId)
public static long getGroupIdFromScopeId(String scopeId,
long siteGroupId,
boolean privateLayout)
throws PortalException
PortalException
public static long[] getGroupIds(PortletPreferences portletPreferences,
long scopeGroupId,
Layout layout)
public static long getRecentFolderId(PortletRequest portletRequest,
String className)
public static String getScopeId(Group group,
long scopeGroupId)
throws PortalException
PortalException
public static long getSubscriptionClassPK(long plid,
String portletId)
throws PortalException
PortalException
public static boolean isScopeIdSelectable(PermissionChecker permissionChecker,
String scopeId,
long companyGroupId,
Layout layout)
throws PortalException
PortalException
public static boolean isSubscribed(long companyId,
long userId,
long plid,
String portletId)
throws PortalException
PortalException
public static void notifySubscribers(PortletPreferences portletPreferences,
long plid,
String portletId,
List<AssetEntry> assetEntries)
throws PortalException
PortalException
public static void processAssetEntryQuery(User user,
PortletPreferences portletPreferences,
AssetEntryQuery assetEntryQuery)
throws Exception
Exception
public static void registerAssetQueryProcessor(String name,
AssetEntryQueryProcessor assetQueryProcessor)
public static void removeAndStoreSelection(List<String> assetEntryUuids,
PortletPreferences portletPreferences)
throws Exception
Exception
public static void removeRecentFolderId(PortletRequest portletRequest,
String className,
long classPK)
public static void subscribe(PermissionChecker permissionChecker,
long groupId,
long plid,
String portletId)
throws PortalException
PortalExceptionpublic static void unregisterAssetQueryProcessor(String assetQueryProcessorClassName)
public static void unsubscribe(PermissionChecker permissionChecker,
long plid,
String portletId)
throws PortalException
PortalExceptionpublic void setAssetPublisher(AssetPublisher assetPublisher)
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||