Modifier and Type | Method and Description |
---|---|
Project |
Host.getProject()
Shortcut for
Host.getUserService() . |
Project |
Task.getProject()
Get project
|
Project |
UserService.getProject()
Returns the project this userservice belongs to.
|
Project |
Connection.getProjectById(long id)
Return a project with a specific id or
null if no project exists with the given id or the project
is not visible for the current user. |
Project |
Connection.getProjectByName(String name)
Return a project with a specific name or
null if no project exists with the specified name. |
Project[] |
Connection.getProjects()
Get all active projects allowed for the current user.
|
Modifier and Type | Method and Description |
---|---|
static Language |
AccessUtil.getLanguageForKey(Project project,
String languageKey)
Gets a single project language by its unique abbreviation.
|
static Language |
AccessUtil.getLanguageForKeyNotNull(Project project,
String languageKey)
Gets a single project language by its unique abbreviation.
|
boolean |
User.isProjectAdmin(Project project)
Tests if this user project admin for the provided project.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectStorage.createProject(String name,
String description)
Create a new Project.
|
Project |
Quickstart.getProject()
Returns the project this quickstart configuration is related to.
|
Project |
ProjectStorage.getProject(long id)
Returns the project by id, regardless whether it's active or not.
|
Project |
ProjectStorage.getProject(String name)
Returns the project by name, regardless whether it's active or not.
|
Project[] |
ProjectStorage.getProjects()
Returns all (active and inactive) projects.
|
Project[] |
ProjectStorage.getProjects(boolean active)
Returns either all active or inactive projects.
|
Modifier and Type | Method and Description |
---|---|
List<Project> |
ProjectStorage.getFontUsages(String name)
Returns a list of
projects using the font specified by the given name. |
Modifier and Type | Method and Description |
---|---|
void |
ProjectStorage.activateProject(Project project)
Activates a deactivated project.
|
String |
ProjectStorage.checkProject(Project project)
Checks if a project needs to be migrated to current server version.
|
void |
ProjectStorage.deactivateProject(Project project)
Deactivates a project.
|
void |
ProjectStorage.rebuildReferences(Project project)
Deprecated.
since 5.2.301, use
ProjectReferencesAgent.rebuildReferences() . |
void |
ProjectStorage.rebuildSearchIndex(Project project)
Since FirstSpirit v5 this starts the project schedule entry with the name "Rebuild search index".
|
void |
ProjectStorage.removeProject(Project project)
Remove a project from server.
|
void |
ProjectStorage.updateVersionInfo(Project project)
Updates the project information to match the current server version.
|
Modifier and Type | Method and Description |
---|---|
Project |
Package.getPublisher()
Gets the
Project that is the package's owner. |
Project |
Subscription.getSubscriber()
Returns the subscriber
Project of this subscription. |
Modifier and Type | Method and Description |
---|---|
ContentPackage |
PackageManager.createContentPackage(String name,
Project project)
Creates a new content package with the given name and the given project as master project.
|
TemplatePackage |
PackageManager.createTemplatePackage(String name,
Project project)
Creates a new template package with the given name and the given project as master project.
|
Collection<Package> |
PackageManager.getPackages(Project masterProject)
Returns a read-only list of all existing
Package 's for which the given project is master project |
Subscription |
PackageManager.getSubscription(Package pck,
Project project)
Returns the subscription instance for the given package and project, or
null if there is no subscription of this package in the provided project. |
Subscription |
Package.subscribePackage(Project subscriber)
Creates a new
Subscription to this package from
the given Project . |
Subscription |
Package.subscribePackage(Project subscriber,
PublishGroup publishGroup)
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectScriptContext.getProject()
Return the
Project of the current script context |
Modifier and Type | Method and Description |
---|---|
Project |
ScheduleContext.getProject()
Returns the project the currently running schedule entry belongs to.
|
Project |
ScheduleEntry.getProject()
Returns the project for
project specific tasks or null
if it is a non project related entry |
Project |
ScheduleTaskTemplate.getProject()
Returns the
Project or null if the schedule task template is server scoped. |
Modifier and Type | Method and Description |
---|---|
List<Project> |
MaintenanceModeTask.getMaintenanceProjects()
All projects affected by the maintenance task.
|
Modifier and Type | Method and Description |
---|---|
ScheduleEntry |
ScheduleStorage.copyScheduleEntry(ScheduleEntry scheduleEntry,
Project project)
Copies the given
scheduleEntry to another project or to server scoped,
if project is null . |
ScheduleEntry |
ScheduleStorage.createScheduleEntry(String scheduleEntryName,
Project project)
Creates a new schedule entry for the provided project.
|
List<ScheduleEntryControl> |
ScheduleStorage.getHistory(Date from,
Date until,
int maxCount,
Project project)
Get the execution history of schedule entries of the given project.
|
List<ScheduleEntry> |
ScheduleStorage.getScheduleEntries(Project project)
Returns a list of schedule entries depending to given
project . |
ScheduleEntry |
ScheduleStorage.getScheduleEntry(Project project,
String name)
Returns the specified schedule entry or
null if it couldn't be found. |
List<ScheduleTaskTemplate> |
ScheduleStorage.getScheduleTaskTemplates(Project project)
Returns a list of all schedule task templates for given
project . |
void |
ScheduleEntry.setProject(Project project)
Sets the project, if the schedule entry should be related to it.
|
void |
ScheduleTaskTemplate.setProject(Project project)
Set
project to make the schedule task template project scoped or null for server scoped. |
Modifier and Type | Method and Description |
---|---|
void |
MaintenanceModeTask.setMaintenanceProjects(Collection<Project> projects)
Specifies the projects which are affected by the maintenance task.
|
Modifier and Type | Method and Description |
---|---|
de.espirit.firstspirit.access.search.ResultProvider |
SearchService.search(Project project,
Request request)
Initiates a search on data with the given request.
|
Modifier and Type | Method and Description |
---|---|
Project |
Store.getProject() |
Project |
StoreElement.getProject()
Returns the belonging project of this storeelement.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectWebAppId.getProject()
Returns the project-id.
|
Modifier and Type | Method and Description |
---|---|
Collection<Project> |
ModuleAdminAgent.getProjectAppUsages(String moduleName,
String projectAppName)
Returns ids of all projects using the specified project application.
|
Collection<Project> |
ModuleAdminAgent.ModuleResult.getUpdatedProjectApps()
Returns the projects where project-app components are updated.
|
Modifier and Type | Method and Description |
---|---|
static ProjectWebAppId |
WebAppId.Factory.create(Project project,
WebEnvironment.WebScope webScope)
Creates a project-local web-app identifier.
|
FileSystem<?> |
ModuleAdminAgent.getProjectAppConfig(String moduleName,
String projectAppName,
Project project)
Returns an access to the project-app configuration directory; read-write-access if the user is project admin,
read-only-access if the user is project user, otherwise a
SecurityException will be thrown. |
void |
ModuleAdminAgent.installProjectApp(String moduleName,
String projectAppName,
Project project)
Installs or updates a project application to the specified project.
|
T |
ClientUrlAgent.ClientUrlBuilder.project(Project project)
Provide the project that should be opened.
|
void |
ModuleAdminAgent.uninstallProjectApp(String moduleName,
String projectAppName,
Project project)
Removes the project application from the specified project.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectEnvironment.getProject()
Returns project.
|
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210