congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PortalPage.name
Code IndexAdd Tabnine to your IDE (free)

How to use
name
method
in
com.atlassian.jira.portal.PortalPage

Best Java code snippets using com.atlassian.jira.portal.PortalPage.name (Showing top 3 results out of 315)

origin: com.atlassian.jira/jira-core

private PortalPage createNewPortalPage()
{
  final ApplicationUser user = getLoggedInUser();
  return PortalPage.name(portalPageName).description(portalPageDescription).owner(user).permissions(getPermissions()).build();
}
origin: com.atlassian.jira/jira-core

/**
 * Returns a set of 'placeholder' SharedEntity's - they only have an id
 *
 * @param entityType type of SharedEntity - either SearchRequest or PortalPage
 * @param ids   set of ids
 */
public Collection<SharedEntity> getDummySharedEntities(SharedEntityType entityType, Set<Long> ids)
{
  final Set<SharedEntity> sharedEntities = Sets.newHashSet();
  for (Long id : ids)
  {
    if (entityType.getTypeDescriptor().equals(SearchRequest.ENTITY_TYPE))
    {
      sharedEntities.add(new SearchRequest(new QueryImpl(null, new OrderByImpl(), null), "", "dummy", "dummyDescription", id, 0));
    }
    else
    {
      sharedEntities.add(PortalPage.name("dummy").id(id).build());
    }
  }
  return sharedEntities;
}
origin: com.atlassian.jira/jira-gadgets-plugin

PortalPage newPage = PortalPage.name(name).description(desc).owner(user).permissions(SharedEntity.SharePermissions.PRIVATE).build();
com.atlassian.jira.portalPortalPagename

Popular methods of PortalPage

  • getId
  • getName
  • getDescription
  • getFavouriteCount
  • getLayout
  • getOwner
  • getPermissions
  • getVersion
  • isSystemDefaultPortalPage
  • <init>
  • getEntityType
  • getOwnerKey
  • getEntityType,
  • getOwnerKey,
  • getOwnerUserName,
  • id,
  • portalPage

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getContentResolver (Context)
  • Kernel (java.awt.image)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now