News administrative commands 

Use the commands listed to perform administrative tasks for the News repository. No file checkout or server restart is needed when using these commands.

The following sections define the commands that you can use when working with the News repository. Each section describes the commands for a specific service. The commands are listed in alphabetical order.


NewsCellConfig commands

NewsCellConfig.checkOutConfig("<working_directory>", "<cell_name>")

NewsCellConfig.checkInConfig()


NewsEmailDigestService commands

NewsEmailDigestService.loadBalanceEmailDigest()


NewsMemberService commands

NewsMemberService.getMemberExtIdByEmail("email")

NewsMemberService.getMemberExtIdByLogin("login")

NewsMemberService.inactivateMemberByEmail("email")

NewsMemberService.inactivateMemberByExtId("externalID")

NewsMemberService.syncAllMembersByExtId( {"updateOnEmailLoginMatch": ["true" | "false"] } )

NewsMemberService.syncBatchMemberExtIdsByEmail("emailFile" [, {"allowInactivate" : ["true" | "false"] } ] )

NewsMemberService.syncBatchMemberExtIdsByLogin("loginFile" [, {"allowInactivate" : ["true" | "false"] } ] )

NewsMemberService.syncMemberByExtId("currentExternalId"[, {"newExtId" : "id-string" [, "allowExtIdSwap" : ["true" | "false"] ] } ] )

NewsMemberService.syncMemberExtIdByEmail("email" [, { "allowInactivate" : ["true" | "false"] } ])

NewsMemberService.syncMemberExtIdByLogin("name" [, {"allowInactivate": ["true" | "false"] } ])


NewsScheduler commands

NewsScheduler.getTaskDetails(java.lang.String taskName)

NewsScheduler.pauseSchedulingTask(java.lang.String taskName)

NewsScheduler.resumeSchedulingTask(java.lang.String taskName)


Parent topic

Administer the News repository

Related concepts
Synchronize user data using administrative commands


Related tasks


Running administrative commands


   

 

});