Examples of AssetEntry


Examples of com.liferay.portlet.asset.model.AssetEntry

    guestbookPersistence.update(guestbook);

    resourceLocalService.addResources(user.getCompanyId(), groupId, userId,
        Guestbook.class.getName(), guestbookId, false, true, true);
   
    AssetEntry assetEntry = assetEntryLocalService.updateEntry(userId,
        groupId, guestbook.getCreateDate(),
        guestbook.getModifiedDate(), Guestbook.class.getName(),
        guestbookId, guestbook.getUuid(), 0,
        serviceContext.getAssetCategoryIds(),
        serviceContext.getAssetTagNames(), true, null, null, null,
        ContentTypes.TEXT_HTML, guestbook.getName(), null, null, null,
        null, 0, 0, null, false);
   
    assetLinkLocalService.updateLinks(userId, assetEntry.getEntryId(),
        serviceContext.getAssetLinkEntryIds(),
        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Guestbook.class);
View Full Code Here

Examples of com.liferay.portlet.asset.model.AssetEntry

    resourceLocalService.updateResources(serviceContext.getCompanyId(),
        serviceContext.getScopeGroupId(), name, guestbookId,
        serviceContext.getGroupPermissions(),
        serviceContext.getGuestPermissions());
   
    AssetEntry assetEntry = assetEntryLocalService.updateEntry(guestbook.getUserId(),
        guestbook.getGroupId(), guestbook.getCreateDate(),
        guestbook.getModifiedDate(), Guestbook.class.getName(),
        guestbookId, guestbook.getUuid(), 0,
        serviceContext.getAssetCategoryIds(),
        serviceContext.getAssetTagNames(), true, null, null, null,
        ContentTypes.TEXT_HTML, guestbook.getName(), null, null, null,
        null, 0, 0, null, false);
   
    assetLinkLocalService.updateLinks(serviceContext.getUserId(),
        assetEntry.getEntryId(), serviceContext.getAssetLinkEntryIds(),
        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Guestbook.class);
View Full Code Here

Examples of com.liferay.portlet.asset.model.AssetEntry

    resourceLocalService.deleteResource(serviceContext.getCompanyId(),
        Guestbook.class.getName(), ResourceConstants.SCOPE_INDIVIDUAL,
        guestbookId);
   
    AssetEntry assetEntry = assetEntryLocalService.fetchEntry(
        Guestbook.class.getName(), guestbookId);
   
    assetLinkLocalService.deleteLinks(assetEntry.getEntryId());

    assetEntryLocalService.deleteEntry(assetEntry);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Guestbook.class);
View Full Code Here

Examples of com.liferay.portlet.asset.model.AssetEntry

    resourceLocalService.deleteResource(serviceContext.getCompanyId(),
        Entry.class.getName(), ResourceConstants.SCOPE_INDIVIDUAL,
        entryId);
   
    AssetEntry assetEntry = assetEntryLocalService.fetchEntry(
        Entry.class.getName(), entryId);
   
    assetLinkLocalService.deleteLinks(assetEntry.getEntryId());

    assetEntryLocalService.deleteEntry(assetEntry);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Entry.class);
View Full Code Here

Examples of com.liferay.portlet.asset.model.AssetEntry

    entryPersistence.update(entry);
   
    resourceLocalService.addResources(user.getCompanyId(), groupId, userId,
        Entry.class.getName(), entryId, false, true, true);
   
    AssetEntry assetEntry = assetEntryLocalService.updateEntry(userId,
        groupId, entry.getCreateDate(), entry.getModifiedDate(),
        Entry.class.getName(), entryId, entry.getUuid(), 0,
        serviceContext.getAssetCategoryIds(),
        serviceContext.getAssetTagNames(), true, null, null, null,
        ContentTypes.TEXT_HTML, entry.getMessage(), null, null, null,
        null, 0, 0, null, false);
   
    assetLinkLocalService.updateLinks(userId, assetEntry.getEntryId(),
        serviceContext.getAssetLinkEntryIds(),
        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Entry.class);
View Full Code Here

Examples of com.liferay.portlet.asset.model.AssetEntry

    resourceLocalService.updateResources(user.getCompanyId(), groupId,
        Entry.class.getName(), entryId,
        serviceContext.getGroupPermissions(),
        serviceContext.getGuestPermissions());
   
    AssetEntry assetEntry = assetEntryLocalService.updateEntry(userId,
        groupId, entry.getCreateDate(), entry.getModifiedDate(),
        Entry.class.getName(), entryId, entry.getUuid(), 0,
        serviceContext.getAssetCategoryIds(),
        serviceContext.getAssetTagNames(), true, null, null, null,
        ContentTypes.TEXT_HTML, entry.getMessage(), null, null, null,
        null, 0, 0, null, false);
   
    assetLinkLocalService.updateLinks(userId, assetEntry.getEntryId(),
        serviceContext.getAssetLinkEntryIds(),
        AssetLinkConstants.TYPE_RELATED);
   
    Indexer indexer = IndexerRegistryUtil.nullSafeGetIndexer(
        Entry.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.