This commit is contained in:
Virtuworks 2014-04-13 16:13:29 -04:00
commit a515c9a68c
116 changed files with 198344 additions and 6475 deletions

View file

@ -74,6 +74,11 @@ namespace WebsitePanel.Providers.Common
public const string UsersHome = "UsersHome";
public const string Collation = "Collation";
public const string Currency = "Currency";
public const string BaseLanguage = "BaseLanguage";
}
}

View file

@ -155,5 +155,21 @@ namespace WebsitePanel.Providers.HostedSolution
get { return this.notes; }
set { this.notes = value; }
}
int archivingMailboxPlanId;
public int ArchivingMailboxPlanId
{
get { return this.archivingMailboxPlanId; }
set { this.archivingMailboxPlanId = value; }
}
string archivingMailboxPlan;
public string ArchivingMailboxPlan
{
get { return this.archivingMailboxPlan; }
set { this.archivingMailboxPlan = value; }
}
}
}

View file

@ -209,5 +209,19 @@ namespace WebsitePanel.Providers.HostedSolution
get { return this.litigationHoldMsg; }
set { this.litigationHoldMsg = value; }
}
bool archiving;
public bool Archiving
{
get { return this.archiving; }
set { this.archiving = value; }
}
bool enableArchiving;
public bool EnableArchiving
{
get { return this.enableArchiving; }
set { this.enableArchiving = value; }
}
}
}

View file

@ -0,0 +1,76 @@
// Copyright (c) 2014, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// - Neither the name of the Outercurve Foundation nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
using System.Collections.Generic;
using System.Text;
namespace WebsitePanel.Providers.HostedSolution
{
[Serializable]
public class ExchangeMailboxPlanRetentionPolicyTag
{
int planTagID;
public int PlanTagID
{
get { return planTagID; }
set { planTagID = value; }
}
int tagID;
public int TagID
{
get { return tagID; }
set { tagID = value; }
}
int mailboxPlanId;
public int MailboxPlanId
{
get { return mailboxPlanId; }
set { mailboxPlanId = value; }
}
string mailboxPlan;
public string MailboxPlan
{
get { return mailboxPlan; }
set { mailboxPlan = value; }
}
string tagName;
public string TagName
{
get { return tagName; }
set { tagName = value; }
}
}
}

View file

@ -0,0 +1,80 @@
// Copyright (c) 2014, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// - Neither the name of the Outercurve Foundation nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
using System.Collections.Generic;
using System.Text;
namespace WebsitePanel.Providers.HostedSolution
{
public class ExchangeRetentionPolicyTag
{
int tagID;
public int TagID
{
get { return tagID; }
set { tagID = value; }
}
int itemID;
public int ItemID
{
get { return itemID; }
set { itemID = value; }
}
string tagName;
public string TagName
{
get { return tagName; }
set { tagName = value; }
}
int tagType;
public int TagType
{
get { return tagType; }
set { tagType = value; }
}
int ageLimitForRetention;
public int AgeLimitForRetention
{
get { return ageLimitForRetention; }
set { ageLimitForRetention = value;}
}
int retentionAction;
public int RetentionAction
{
get { return retentionAction; }
set { retentionAction = value; }
}
}
}

View file

@ -0,0 +1,41 @@
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// - Neither the name of the Outercurve Foundation nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
using System.Collections.Generic;
using System.Text;
namespace WebsitePanel.Providers.HostedSolution
{
public enum ExchangeRetentionPolicyTagAction
{
MoveToDeletedItems,
MoveToFolder,
DeleteAndAllowRecovery,
PermanentlyDelete,
MarkAsPastRetentionLimit,
MoveToArchive
}
}

View file

@ -0,0 +1,58 @@
// Copyright (c) 2014, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// - Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// - Neither the name of the Outercurve Foundation nor the names of its
// contributors may be used to endorse or promote products derived from this
// software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using System;
using System.Collections.Generic;
using System.Text;
namespace WebsitePanel.Providers.HostedSolution
{
public enum ExchangeRetentionPolicyTagType
{
Calendar,
Contacts,
DeletedItems,
Drafts,
Inbox,
JunkEmail,
Journal,
Notes,
Outbox,
SentItems,
Tasks,
All,
ManagedCustomFolder,
RssSubscriptions,
SyncIssues,
ConversationHistory,
Personal,
RecoverableItems,
NonIpmRoot,
LegacyArchiveJournals
}
}

View file

@ -35,6 +35,7 @@ namespace WebsitePanel.Providers.HostedSolution
public interface ICRM
{
OrganizationResult CreateOrganization(Guid organizationId, string organizationUniqueName, string organizationFriendlyName,
int baseLanguageCode,
string ou,
string baseCurrencyCode, string baseCurrencyName, string baseCurrencySymbol,
string initialUserDomainName, string initialUserFirstName, string initialUserLastName, string initialUserPrimaryEmail,
@ -44,6 +45,8 @@ namespace WebsitePanel.Providers.HostedSolution
string[] GetSupportedCollationNames();
Currency[] GetCurrencyList();
int[] GetInstalledLanguagePacks();
ResultObject DeleteOrganization(Guid orgId);

View file

@ -75,7 +75,53 @@ namespace WebsitePanel.Providers.HostedSolution
private int allocatedEnterpriseStorageSpace;
private int usedEnterpriseStorageSpace;
private int createdProfessionalCRMUsers;
private int allocatedProfessionalCRMUsers;
public int CreatedProfessionalCRMUsers
{
get { return createdProfessionalCRMUsers; }
set { createdProfessionalCRMUsers = value; }
}
public int AllocatedProfessionalCRMUsers
{
get { return allocatedProfessionalCRMUsers; }
set { allocatedProfessionalCRMUsers = value; }
}
private int createdBasicCRMUsers;
private int allocatedBasicCRMUsers;
public int CreatedBasicCRMUsers
{
get { return createdBasicCRMUsers; }
set { createdBasicCRMUsers = value; }
}
public int AllocatedBasicCRMUsers
{
get { return allocatedBasicCRMUsers; }
set { allocatedBasicCRMUsers = value; }
}
private int createdEssentialCRMUsers;
private int allocatedEssentialCRMUsers;
public int CreatedEssentialCRMUsers
{
get { return createdEssentialCRMUsers; }
set { createdEssentialCRMUsers = value; }
}
public int AllocatedEssentialCRMUsers
{
get { return allocatedEssentialCRMUsers; }
set { allocatedEssentialCRMUsers = value; }
}
public int CreatedCRMUsers
{

View file

@ -93,10 +93,14 @@
<Compile Include="HostedSolution\BlackBerryStatsItem.cs" />
<Compile Include="HostedSolution\BlackBerryUserDeleteState.cs" />
<Compile Include="HostedSolution\ExchangeDisclaimer.cs" />
<Compile Include="HostedSolution\ExchangeMailboxPlanRetentionPolicyTag.cs" />
<Compile Include="HostedSolution\ExchangeOrganization.cs" />
<Compile Include="HostedSolution\ExchangeAcceptedDomainType.cs" />
<Compile Include="HostedSolution\ExchangeMailboxPlanType.cs" />
<Compile Include="HostedSolution\ExchangeMailboxPlan.cs" />
<Compile Include="HostedSolution\ExchangeRetentionPolicyTag.cs" />
<Compile Include="HostedSolution\ExchangeRetentionPolicyTagAction.cs" />
<Compile Include="HostedSolution\ExchangeRetentionPolicyTagType.cs" />
<Compile Include="HostedSolution\ILyncServer.cs" />
<Compile Include="HostedSolution\LyncConstants.cs" />
<Compile Include="HostedSolution\LyncErrorCodes.cs" />