com.sage.accpac.sm
Interface Organization


@Immutable
@ThreadSafe
public interface Organization

The Organization interface represents an organization as listed in a Organizations. You cannot create an instance of this class yourself; you can only get one from a IOrganizations using one of the methods mentioned below.

An instance of the class is immutable, showing the state at the time it was created by the appropriate call.

See Also:
Organizations.get(int), Iterable.iterator()

Nested Class Summary
static class Organization.OrganizationType
          The different types of Organization
 
Method Summary
 java.lang.String getID()
          Get the ID of the Organization
 java.lang.String getName()
          gets the descriptive name of the organization
 java.lang.String getSystemID()
          gets the ID of the System Organization corresponding to this Organization
 Organization.OrganizationType getType()
          gets the type of Organization
 boolean isSecurityEnabled()
          gets whether or not security is enabled on this System Organization
 

Method Detail

getID

java.lang.String getID()
Get the ID of the Organization

Returns:
a String containing the organization id

getName

java.lang.String getName()
gets the descriptive name of the organization

Returns:
a String containing the descriptive name of the organization

getSystemID

java.lang.String getSystemID()
gets the ID of the System Organization corresponding to this Organization

Returns:
a String containing the ID of the System organization

getType

Organization.OrganizationType getType()
gets the type of Organization

Returns:
a Organization.OrganizationType specifying the type

isSecurityEnabled

boolean isSecurityEnabled()
gets whether or not security is enabled on this System Organization

Returns:
true if security is enabled


Copyright © 2011 Sage Software, Inc. All rights reserved.